{"id":25448914,"url":"https://github.com/itrooz/freedesktopsecrets-cs","last_synced_at":"2026-02-17T17:05:08.859Z","repository":{"id":277730071,"uuid":"933326514","full_name":"iTrooz/FreeDesktopSecrets-CS","owner":"iTrooz","description":"C# library to implement the Freedesktop Secret Service API.","archived":false,"fork":false,"pushed_at":"2025-02-17T00:11:22.000Z","size":106,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-17T00:25:26.460Z","etag":null,"topics":["csharp","dbus","freedesktop","linux"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"lgpl-2.1","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/iTrooz.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":"2025-02-15T17:32:57.000Z","updated_at":"2025-02-17T00:11:26.000Z","dependencies_parsed_at":"2025-02-15T18:41:12.421Z","dependency_job_id":null,"html_url":"https://github.com/iTrooz/FreeDesktopSecrets-CS","commit_stats":null,"previous_names":["itrooz/secretstorage-cs","itrooz/freedesktopsecrets-cs"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iTrooz%2FFreeDesktopSecrets-CS","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iTrooz%2FFreeDesktopSecrets-CS/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iTrooz%2FFreeDesktopSecrets-CS/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iTrooz%2FFreeDesktopSecrets-CS/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/iTrooz","download_url":"https://codeload.github.com/iTrooz/FreeDesktopSecrets-CS/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239358521,"owners_count":19625502,"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":["csharp","dbus","freedesktop","linux"],"created_at":"2025-02-17T20:15:46.111Z","updated_at":"2025-11-02T01:30:28.870Z","avatar_url":"https://github.com/iTrooz.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# FreeDesktopSecrets-CS\n\nClient library in C# to use the Freedesktop Secrets API\n\n# What ?\nThe Freedesktop Secrets API is a standard for storing secrets (passwords, keys, etc.) in a secure way on a Linux system. It is implemented over dbus, which is a message bus system that allows communication between applications.\nThis library is a C# client to use this API.\n\n# Install\n\nRun\n```bash\ndotnet add package iTrooz.FreeDesktopSecrets\n```\nin your project directory to install the library.\n\n# Usage\n\nSample usage of this library:\n```csharp\nvar storage = FreeDesktopSecretsClient.FromSession(); // use the classic dbus session bus\nawait storage.ConnectAsync(\"TestApplication\"); // Use this name for the API \"folder\" that will hold secrets\n\nvar itemKeys = await storage.ListItemKeysAsync(); // List keys of all secrets stored\nforeach (var item in itemKeys)\n    Console.WriteLine(item);\n\nawait storage.CreateItemAsync(\n    \"TestItem\",\n    System.Text.Encoding.UTF8.GetBytes(\"TestString\"),\n    true); // Store a secret\nvar secret = await storage.GetItemAsync(\"TestItem\"); // Retrieve it\nConsole.WriteLine(System.Text.Encoding.UTF8.GetString(secret!)); // \"TestString\"\n\nawait storage.DeleteItemAsync(\"TestItem\"); // Delete the secret\n```\n\n# Links\n- Thanks to tmds for his [dbus library](https://github.com/tmds/Tmds.DBus)\n- Inspiration: https://github.com/mitya57/FreeDesktopSecrets\n- Freedesktop Secrets API Specification: https://specifications.freedesktop.org/secret-service-spec/latest-single/\n\n# Licence\nLGPL-2.1 OR\tLGPL-3.0-or-later with proxy clause (proxy being me, iTrooz)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fitrooz%2Ffreedesktopsecrets-cs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fitrooz%2Ffreedesktopsecrets-cs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fitrooz%2Ffreedesktopsecrets-cs/lists"}