{"id":20541016,"url":"https://github.com/sentryco/secuserstore","last_synced_at":"2025-08-24T11:16:04.796Z","repository":{"id":260871991,"uuid":"881952018","full_name":"sentryco/SecUserStore","owner":"sentryco","description":"Secure user store","archived":false,"fork":false,"pushed_at":"2024-11-25T01:12:46.000Z","size":18,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-01-16T14:55:52.018Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Swift","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sentryco.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-11-01T15:05:20.000Z","updated_at":"2024-11-25T01:12:49.000Z","dependencies_parsed_at":"2024-11-25T02:19:40.977Z","dependency_job_id":"73149e03-9f81-4064-befe-05b6f43f89d1","html_url":"https://github.com/sentryco/SecUserStore","commit_stats":null,"previous_names":["sentryco/secuserstore"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sentryco%2FSecUserStore","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sentryco%2FSecUserStore/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sentryco%2FSecUserStore/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sentryco%2FSecUserStore/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sentryco","download_url":"https://codeload.github.com/sentryco/SecUserStore/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242144940,"owners_count":20079038,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-16T01:18:52.362Z","updated_at":"2025-03-06T04:19:46.303Z","avatar_url":"https://github.com/sentryco.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Tests](https://github.com/sentryco/SecUserStore/actions/workflows/Tests.yml/badge.svg)](https://github.com/sentryco/SecUserStore/actions/workflows/Tests.yml)\n[![codebeat badge](https://codebeat.co/badges/2aee5e88-5ffe-41d9-848b-983182003de4)](https://codebeat.co/projects/github-com-sentryco-secuserstore-main)\n\n# SecUserStore\n\n\u003e Secure user store\n\n## Description\n\nUtilizes keychain to securely store sensitive user data. \n\n## Problem\n\nRegular UserDefault are not secure by default. It's possible to extract them with third party software. \n\n## Solution\n\nThis library works like userdefault, with its easy to use interface but under the hood stores the user data in keychain.\n \n## Examples\n\nMinimal implementation for setting up a secure user default. \n\n```swift\nstruct PrefsStore: SecUserStoreKind { \n   var useBioAuth: Bool\n   var usePassword: Bool\n   static var key: String { \"secure-prefs-store\" }\n   static var defaultModel: PrefsStore {\n      .init(useBioAuth: false, useBioAuth: false)\n   }\n}\n```\n\n## Todo\n- Add more description\n- Clean up comments\n- Add info regarding limitations with some variable. Bools etc. \n- Add dependency declaration in the readme\n- Consider adding the simpler keychain kit from telemetry etc\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsentryco%2Fsecuserstore","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsentryco%2Fsecuserstore","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsentryco%2Fsecuserstore/lists"}