Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add age plugin support #6

Merged
merged 1 commit into from
Dec 12, 2024
Merged

feat: add age plugin support #6

merged 1 commit into from
Dec 12, 2024

Conversation

Enzime
Copy link
Member

@Enzime Enzime commented Dec 12, 2024

Original PR: getsops/sops#1641

Signed-off-by: Brian McGee <[email protected]>
Co-authored-by: Maximilian Bosch <[email protected]>
Signed-off-by: Brian McGee <[email protected]>
@Enzime
Copy link
Member Author

Enzime commented Dec 12, 2024

Just tested this PR and it's working 🎉

$ nix shell github:bromanko/age-plugin-op nixpkgs#_1password
$ age-plugin-op --generate "op://Private/1Password/private key"
# Created: 2024-12-12 21:26:37.098469 +1100 AEDT m=+8.914292876
# Recipient: age1op1dacr5te02pexjanpw3jj7v2sv9ehxam0wfjz7urjd9mxzar9yp4k27gc3qst4

AGE-PLUGIN-OP-1Q9HHQW309AG8Y6TKV96X2TE32PSHXUMHDAEXGTMSWF5HVCT5V5SXKETES2777E
$ nix run github:Enzime/nixpkgs/age-sops#age-sops.sops -- edit --age age1op1dacr5te02pexjanpw3jj7v2sv9ehxam0wfjz7urjd9mxzar9yp4k27gc3qst4 test.yaml
$ nix run github:Enzime/nixpkgs/age-sops#age-sops.sops -- decrypt test.yaml
...

@Enzime Enzime merged commit df6d1d3 into main Dec 12, 2024
14 checks passed
@Enzime Enzime deleted the feat/age-plugins branch December 12, 2024 10:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants