{"id":17346290,"url":"https://github.com/goaaats/keysharp","last_synced_at":"2025-04-14T20:31:29.338Z","repository":{"id":101589623,"uuid":"466853317","full_name":"goaaats/KeySharp","owner":"goaaats","description":"Cross-platform C#/.NET keyring access","archived":false,"fork":false,"pushed_at":"2024-08-20T09:26:02.000Z","size":87,"stargazers_count":21,"open_issues_count":2,"forks_count":3,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-28T09:03:08.092Z","etag":null,"topics":["credentials","keychain","keychain-access","keyring","net"],"latest_commit_sha":null,"homepage":"","language":"C#","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/goaaats.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","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":"2022-03-06T20:51:31.000Z","updated_at":"2025-03-26T03:41:24.000Z","dependencies_parsed_at":null,"dependency_job_id":"aed1699e-82d2-4566-9f37-569459c1d7b9","html_url":"https://github.com/goaaats/KeySharp","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/goaaats%2FKeySharp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/goaaats%2FKeySharp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/goaaats%2FKeySharp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/goaaats%2FKeySharp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/goaaats","download_url":"https://codeload.github.com/goaaats/KeySharp/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248955561,"owners_count":21189164,"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":["credentials","keychain","keychain-access","keyring","net"],"created_at":"2024-10-15T16:45:01.341Z","updated_at":"2025-04-14T20:31:28.807Z","avatar_url":"https://github.com/goaaats.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# KeySharp [![Nuget](https://img.shields.io/nuget/v/KeySharp)](https://www.nuget.org/packages/KeySharp/)\n\nCross-platform OS keyring access for C#/.NET based on [keychain by hrantzsch](https://github.com/hrantzsch/keychain).\nAll calls are potentially blocking, as the OS may ask the user to grant access or unlock the keychain.\n\n### Example\n\n```csharp\nKeyring.SetPassword(\"com.example.test\", \"TestService\", \"user\", \"password\");\n\ntry {\n  var password = Keyring.GetPassword(\"com.example.test\", \"TestService\", \"user\");\n} catch (KeyringException ex) // Thrown if password was not saved\n  // handle\n}\n\nKeyring.DeletePassword(\"com.example.test\", \"TestService\", \"user\");\n```\n\n### Native libraries\nThe precompiled shared libraries in this repository are based on the code in the `native` folder, wrapping the keychain library by hrantzsch.\n| Platform | Compiler |\n|----------|----------|\n| win-x64  | Visual C++ 2022 (Keychain library doesn't support mingw-w64 at the moment, TBD) |\n| linux-x64  | GCC 11.2.0(x86_64-pc-linux-gnu) |\n| osx-x64   | AppleClang 13.0.0.13000029 (universal), macOS 10.11+ |\n| osx-arm64 | AppleClang 13.0.0.13000029 (universal), macOS 10.11+, take care: you need to sign your binaries to run on m1! |","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgoaaats%2Fkeysharp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgoaaats%2Fkeysharp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgoaaats%2Fkeysharp/lists"}