{"id":31645844,"url":"https://github.com/boon-code/gpg-keyring","last_synced_at":"2026-06-14T21:34:15.708Z","repository":{"id":316318060,"uuid":"1062885922","full_name":"boon-code/gpg-keyring","owner":"boon-code","description":"Simple keyring backend using the file system and gpg.","archived":false,"fork":false,"pushed_at":"2025-09-23T22:58:25.000Z","size":26,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-10-07T05:35:50.968Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","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/boon-code.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-09-23T21:43:58.000Z","updated_at":"2025-09-23T22:51:03.000Z","dependencies_parsed_at":"2025-09-28T11:00:50.648Z","dependency_job_id":null,"html_url":"https://github.com/boon-code/gpg-keyring","commit_stats":null,"previous_names":["boon-code/gpg-keyring"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/boon-code/gpg-keyring","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/boon-code%2Fgpg-keyring","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/boon-code%2Fgpg-keyring/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/boon-code%2Fgpg-keyring/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/boon-code%2Fgpg-keyring/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/boon-code","download_url":"https://codeload.github.com/boon-code/gpg-keyring/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/boon-code%2Fgpg-keyring/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34339195,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-14T02:00:07.365Z","response_time":62,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":"2025-10-07T05:16:49.640Z","updated_at":"2026-06-14T21:34:15.677Z","avatar_url":"https://github.com/boon-code.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"GPG Keyring\n===========\n\nSimple keyring implementation using `gpg` to store encrypted credentials on the file system.\n\n# Setup\n\n1. Install this package (f.e. into a virtual environment)\n2. Create the file as specified by `keyring diagnose`. The output should look similar to this:\n\n        config path: \u003cHOME-FOLDER\u003e/.config/python_keyring/keyringrc.cfg\n        data root: \u003cHOME-FOLDER\u003e/.local/share/python_keyring\n\n3. Use this snippet to configure this keyring backend as default:\n\n        [backend]\n        default-keyring=gpg_keyring.GpgKeyring\n\n4. Configure your e-mail address in the file `~/.gpg_keyring/gpg_keyring.conf`:\n\n\n        [settings]\n        email = john.doe@domain.com\n\nNow you should be able to use the `gpg_keyring` backend using commands like this:\n\n- `keyring set \u003cservice\u003e \u003cusername\u003e` to set a password\n- `keyring get \u003cservice\u003e \u003cusername\u003e` to retrieve the password\n- `keyring del \u003cservice\u003e \u003cusername\u003e` to delete an entry\n\n# Internals\n\nCredentials and local settings are all stored in your home directory in the directory  `~/.gpg_keyring/`:\n\n- `gpg_keyring.conf`: configuration file for this plugin\n- `\u003cSHA256-hash\u003e`: credentials for the service. The service name is turned into a SAH-256 hash and used to as the name of the file containing the credentials.\n\nThe content of the credentials files is a base64 encoded cipher text of the following json structure:\n\n        {\n            \"username\": \"\u003cusername\u003e\",\n            \"password\": \"\u003cpassword\u003e\"\n        }\n\n... the user name `\u003cusername\u003e` and the password `\u003cpassword\u003e` previously set via `keyring set \u003cservice\u003e \u003cusername\u003e` with the password `\u003cpassword\u003e` provided via `stdin`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fboon-code%2Fgpg-keyring","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fboon-code%2Fgpg-keyring","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fboon-code%2Fgpg-keyring/lists"}