{"id":48345177,"url":"https://github.com/djherbis/keepass-pinentry","last_synced_at":"2026-04-05T06:30:42.165Z","repository":{"id":44737564,"uuid":"188513726","full_name":"djherbis/keepass-pinentry","owner":"djherbis","description":"Keepass Plugin for gpg-agent pinentry","archived":false,"fork":false,"pushed_at":"2024-03-06T21:02:55.000Z","size":12316,"stargazers_count":29,"open_issues_count":4,"forks_count":9,"subscribers_count":9,"default_branch":"master","last_synced_at":"2024-03-06T22:24:06.593Z","etag":null,"topics":["gpg","gpg-agent","keepass","pinentry","plugin"],"latest_commit_sha":null,"homepage":null,"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/djherbis.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-05-25T02:59:22.000Z","updated_at":"2023-10-07T14:36:17.000Z","dependencies_parsed_at":"2022-07-12T21:33:35.057Z","dependency_job_id":null,"html_url":"https://github.com/djherbis/keepass-pinentry","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/djherbis/keepass-pinentry","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/djherbis%2Fkeepass-pinentry","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/djherbis%2Fkeepass-pinentry/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/djherbis%2Fkeepass-pinentry/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/djherbis%2Fkeepass-pinentry/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/djherbis","download_url":"https://codeload.github.com/djherbis/keepass-pinentry/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/djherbis%2Fkeepass-pinentry/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31427250,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-05T02:22:46.605Z","status":"ssl_error","status_checked_at":"2026-04-05T02:22:33.263Z","response_time":75,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["gpg","gpg-agent","keepass","pinentry","plugin"],"created_at":"2026-04-05T06:30:41.486Z","updated_at":"2026-04-05T06:30:42.152Z","avatar_url":"https://github.com/djherbis.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"keepass-pinentry\n==========\n\n[![Release](https://img.shields.io/github/release/djherbis/keepass-pinentry.svg)](https://github.com/djherbis/keepass-pinentry/releases/latest)\n[![experimental](https://badges.github.io/stability-badges/dist/experimental.svg)](http://github.com/badges/stability-badges)\n[![Software License](https://img.shields.io/badge/license-MIT-brightgreen.svg)](LICENSE.txt)\n[![Build Status](https://github.com/djherbis/keepass-pinentry/actions/workflows/build-keepass-pinetry.yml/badge.svg)](https://github.com/djherbis/keepass-pinentry/actions/workflows/build-keepass-pinetry.yml)\n\nTired of typing in your GPG password? Have Keepass do it for you!\nWith this Keepass plugin installed and gpg-agent configured you can have Keepass respond to pinentry requests for you.\n\nInstallation\n----------\n\nClone this repo, do this somewhere it can reside permanently since we add ENV vars which point to this dir.\n\nGrab a copy of KeepassPinentry.dll and stdproxy.exe from [Releases](https://github.com/djherbis/keepass-pinentry/releases) (or build them yourself).\n\nRun the install.cmd (auto adds the plugin ddl to the keepass dir).\n\nIn Keepass:\n* Add an Entry named \"GPG\" whose password is your GPG password (the one you want pinentry to use).\n* Add an Entry named \"TLSKEY\" whose password is the certificate password you created, and add the certificate.p12 file as a binary to this entry.\n\nHow it works\n----------\n\nThe idea is really simple, we tell gpg-agent to talk to stdproxy as its pinentry program.\nIt uses a simple text protocol to communicate with the pinentry program over STDIN/STDOUT.\nStdproxy makes a TCP connection (wrapped in SSL) to the keepass-pinentry plugin which is\nrunning a local server. This TCP connection is used to forward the STDIN written by gpg-agent to stdproxy to keepass-pinentry which then responds over TCP back to stdproxy's STDOUT which is read by gpg-agent. Keepass-pinentry implements the bare minimum parts of the pinentry protocol in order to respond to the pinentry request.\n\nBuilding locally / Development\n----------\n\n**KeepassPinentry.dll:**\n\nDependencies:\n* Docker for Windows or dotnet\n\nYou can rebuild the DLL by running build.cmd, or running dotnet inside KeepassPinentry/.\n\n**stdproxy.exe:**\n\nDependencies:\n* Go\n\ncd into stdproxy/ and run \"go build\"\n\nNotes\n----------\n\nThe SSL encryption here is probably silly since this is only ever intended to be run with a local keepass-pinentry server \u0026 gpg-agent, but it was fun adding the encryption layer.\n\nThe code is really rough because this was just a personal tool, so forgive me for that!\n\nFuture work\n----------\n\n* Fallback to non-SSL TCP when certificate not present.\n* Add tests\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdjherbis%2Fkeepass-pinentry","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdjherbis%2Fkeepass-pinentry","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdjherbis%2Fkeepass-pinentry/lists"}