{"id":24629493,"url":"https://github.com/sharpjs/pinentry-op","last_synced_at":"2025-08-11T17:12:13.448Z","repository":{"id":257278451,"uuid":"857794217","full_name":"sharpjs/pinentry-op","owner":"sharpjs","description":"A GPG pinentry program that retrieves a passphrase from 1Password","archived":false,"fork":false,"pushed_at":"2024-09-24T12:54:43.000Z","size":103,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-31T03:33:02.458Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Rust","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/sharpjs.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":"2024-09-15T16:20:08.000Z","updated_at":"2024-09-24T12:54:46.000Z","dependencies_parsed_at":"2024-09-15T18:08:52.967Z","dependency_job_id":"af87acff-83ae-4f49-b383-06d47a843ea6","html_url":"https://github.com/sharpjs/pinentry-op","commit_stats":null,"previous_names":["sharpjs/pinentry-op"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/sharpjs/pinentry-op","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sharpjs%2Fpinentry-op","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sharpjs%2Fpinentry-op/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sharpjs%2Fpinentry-op/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sharpjs%2Fpinentry-op/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sharpjs","download_url":"https://codeload.github.com/sharpjs/pinentry-op/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sharpjs%2Fpinentry-op/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267962913,"owners_count":24172775,"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","status":"online","status_checked_at":"2025-07-30T02:00:09.044Z","response_time":70,"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-01-25T06:13:06.188Z","updated_at":"2025-07-31T00:08:58.998Z","avatar_url":"https://github.com/sharpjs.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# pinentry-op\n\nA quickly-thrown-together GPG pinentry program that knows only how to retrieve\na predetermined passphrase from 1Password.\n\n## Installation\n\nThere is no easy installer yet.  There might never be one.\n\n- Ensure prerequisites are installed: GPG, 1Password, 1Password CLI.\n\n- Build.\n\n  ```sh\n  cargo build --release\n  ```\n\n- Create a file `pinentry-op.cfg` in the same directory as the binary.  The\n  content of the file should be the 1Password item reference of the passphrase.\n  For example:\n\n  ```\n  op://MyVault/MyItem/password\n  ```\n\n- Edit `gpg-agent.conf` to point to the binary.\n\n  ```properties\n  pinentry-program D:\\Code\\Self\\pinentry-op\\target\\release\\pinentry-op.exe\n  ```\n\n# Testing\n\nRun this:\n\n```sh\necho \"\" \u003e test.txt\ngpgconf --reload gpg-agent\ngpg --sign --dry-run --yes test.txt\n```\n\n1Password should prompt to authorize gpg-agent for CLI access.\n\n![1Password authorization prompt screenshot](https://github.com/sharpjs/pinentry-op/blob/main/doc/op-prompt.png?raw=true)\n\n\u003c!--\nCopyright Jeffrey Sharp\nSPDX-License-Identifier: MIT\n--\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsharpjs%2Fpinentry-op","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsharpjs%2Fpinentry-op","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsharpjs%2Fpinentry-op/lists"}