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

Support --armor #269

Open
fzakaria opened this issue Jul 12, 2024 · 2 comments
Open

Support --armor #269

fzakaria opened this issue Jul 12, 2024 · 2 comments

Comments

@fzakaria
Copy link
Contributor

I like commiting non-binary data and age supports --armor to generate a PEM style;e base64 file.
I think the secrets.nix file should/could support this as an argument when generate the age secrets.

@dlubawy
Copy link

dlubawy commented Jul 24, 2024

This is certainly doable. I added it in on a dirty branch containing other fixes for my personal use. The commit adds the attribute armor to be set within secrets.nix, and then it checks if the attribute is true/false which determines whether to add --armor to the age bin call.

It should be easy to pull that out into a clean branch that could be merged into main.

@fzakaria
Copy link
Contributor Author

Contribute it :)

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

No branches or pull requests

2 participants