{"id":19190105,"url":"https://github.com/brucify/g","last_synced_at":"2026-04-19T02:31:38.280Z","repository":{"id":153858704,"uuid":"630351664","full_name":"brucify/g","owner":"brucify","description":"GPG shell script for easy encryption, decryption, signing, verification and key management","archived":false,"fork":false,"pushed_at":"2023-06-10T15:18:54.000Z","size":22,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-23T03:46:26.017Z","etag":null,"topics":["gpg","gpg-encryption","gpg-key","gpg-keytocard","shell-script","yubikey"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/brucify.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":"2023-04-20T07:43:27.000Z","updated_at":"2023-04-26T00:23:25.000Z","dependencies_parsed_at":"2024-07-25T19:21:14.926Z","dependency_job_id":null,"html_url":"https://github.com/brucify/g","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/brucify/g","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brucify%2Fg","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brucify%2Fg/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brucify%2Fg/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brucify%2Fg/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/brucify","download_url":"https://codeload.github.com/brucify/g/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brucify%2Fg/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31991958,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-18T20:23:30.271Z","status":"online","status_checked_at":"2026-04-19T02:00:07.110Z","response_time":55,"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":["gpg","gpg-encryption","gpg-key","gpg-keytocard","shell-script","yubikey"],"created_at":"2024-11-09T11:32:57.480Z","updated_at":"2026-04-19T02:31:38.241Z","avatar_url":"https://github.com/brucify.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# g\n\nScript for easy interaction with basic gpg commands.\n\n## Getting started\n\n```bash\n$ curl https://raw.githubusercontent.com/brucify/g/main/g -J -o $HOME/.local/bin/g\n$ chmod +x $HOME/.local/bin/g\n$ g config signer \u003cYOUR KEY ID HERE\u003e\n$ g config recipient \u003cTHEIR KEY ID HERE\u003e\n```\n\n## Usage\n\n```\nUsage: g \u003ccommand\u003e [filename]\nEncrypt, decrypt, sign, verify, or print information about GPG keys. Use quotes for arguments with spaces.\n\nCommands:\n  genkey \"John Doe \u003cjohn@doe.com\u003e\"    Generate a new key pair with specified GPG user ID text\n  addkeys [KEY_ID]                    Add three subkeys (sign, encrypt, auth) to the specified KEY_ID or the signer key ID in ~/.local/.g/gpg_signer\n  whoami                              Display information about the signer key in ~/.local/.g/gpg_signer\n  recipient                           Display information about the recipient key in ~/.local/.g/gpg_recipient\n  encrypt \u003cFILE\u003e                      Encrypt a file with recipient specified in ~/.local/.g/gpg_recipient\n  decrypt \u003cFILE\u003e                      Decrypt a file with sender key specified in ~/.local/.g/gpg_signer\n  decrypt                             Decrypt all .asc and .gpg files in current directory\n  sign \u003cFILE\u003e                         Sign a file using the signer key in ~/.local/.g/gpg_signer\n  verify \u003cSIG\u003e [FILE]                 Verify a detached signature of a file or the standard input\n  export signer                       Export the signer public key in ASCII format\n  export recipient                    Export the recipient public key in ASCII format\n  config signer [KEY_ID]              Set or display the signer key ID in ~/.local/.g/gpg_signer\n  config recipient [KEY_ID]           Set or display the recipient key ID in ~/.local/.g/gpg_recipient\n  keytocard                           Move all subkeys generated by 'g genkey' to Yubikey\n  fgr \u003cKEY_ID\u003e                        Get the fingerprint of a GPG key with the specified KEY_ID\n  sshcontrol                          Update the SSH control file (~/.gnupg/sshcontrol) with the keygrip of the signer key\n  upgrade                             Upgrade g to the latest version from GitHub\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrucify%2Fg","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbrucify%2Fg","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrucify%2Fg/lists"}