{"id":23465762,"url":"https://github.com/natrontech/sops-age-op","last_synced_at":"2025-04-12T16:55:12.251Z","repository":{"id":182063033,"uuid":"667840795","full_name":"natrontech/sops-age-op","owner":"natrontech","description":"encryption with sops, age \u0026 1password","archived":false,"fork":false,"pushed_at":"2023-07-24T11:36:23.000Z","size":7,"stargazers_count":5,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-24T21:02:59.832Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/natrontech.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-07-18T12:23:11.000Z","updated_at":"2025-03-02T18:23:46.000Z","dependencies_parsed_at":"2024-12-24T11:39:30.856Z","dependency_job_id":"ae7b97f1-b7da-441a-8e04-559f42f3a53a","html_url":"https://github.com/natrontech/sops-age-op","commit_stats":null,"previous_names":["natrontech/sops-age-op"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/natrontech%2Fsops-age-op","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/natrontech%2Fsops-age-op/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/natrontech%2Fsops-age-op/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/natrontech%2Fsops-age-op/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/natrontech","download_url":"https://codeload.github.com/natrontech/sops-age-op/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248601505,"owners_count":21131609,"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":[],"created_at":"2024-12-24T11:36:37.788Z","updated_at":"2025-04-12T16:55:12.222Z","avatar_url":"https://github.com/natrontech.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Simple CLI for SOPS with age and 1password\n\nThis simple bash script is a wrapper for SOPS encryption with a age key saved in 1password.\nYou can directly encrypt and decrypt files without copy the public/private key onto the machine.\nThe script uses the 1password-host integration, where you have to be logged in (see Dependencies).\n\n\u003e ⚠️  At the moment, the script only supports the [in-place](https://github.com/getsops/sops#encrypt-or-decrypt-a-file-in-place) parameter of SOPS and will therefore encrypt/decrypt a file directly in place! \n\n\n## Dependencies\n\n- [age](https://age-encryption.org)\n- [sops](https://github.com/getsops/sops)\n- [1password cli](https://developer.1password.com/docs/cli/get-started) (`op`)\n\n## Usage\n\n```bash\nsops-age-op --help\n```\n\n- `KEY_PATH` is the path to the key in the 1password vault in one of the following formats:\n  - `op://vault/title` (in this case, the defualt field name is `password`)\n  - `op://vault/title/field`\n  - `op://vault/title/section/field`\n\n### Encryption\n\nEncrypt a file:\n\n```bash\n./sops-age-op -e -k KEY_PATH [ FILE ]\n```\n\n### Decryption\n\nDecrypt a sops file:\n\n```bash\n./sops-age-op -d -k KEY_PATH [ FILE ]\n```\n\n### Generate a new key\n\nGenerate a new age key and store it in the 1password vault. The type of the new item will be `Password`.\n\n```bash\n./sops-age-op -c -t [ TAGS ] -k KEY_PATH\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnatrontech%2Fsops-age-op","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnatrontech%2Fsops-age-op","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnatrontech%2Fsops-age-op/lists"}