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 the ability to directly encrypt a specified FILE into OUTPUT in the current directory #299

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

Rexcrazy804
Copy link

This enables agenix to leverage the ability to encrypt/decrypt more than just plain text data. I haven't done any sort of rigorous testing (besides testing it with my own config) YET but I plan on doing so. Any advice regarding the same is welcome.

That said, I am uncertain whether this still falls in the scope of "secrets" deployment, so I am open to discuss this further or render this pr as beyond the scope of the project.

@Rexcrazy804 Rexcrazy804 changed the title added the ability to directly encrypt a specified FILE into OUTPUT in the current directory feat: add the ability to directly encrypt a specified FILE into OUTPUT in the current directory Nov 24, 2024
@Rexcrazy804
Copy link
Author

forgot to mention that the file name must be explicitly specified using the age.secrets.${secretname}.name attribute to include the file format for non raw text files.

eg: "John.png"

@Rexcrazy804
Copy link
Author

@n8henrie it seems I have forgotten to request reviews on this one and I don't think I am able to add reviewers now so could I have your thoughts on this pr?

@n8henrie
Copy link
Collaborator

n8henrie commented Feb 2, 2025

You should be able to request reviewers (top right in my interface).

Can you give an example use case for this feature? (I'm sure I could come up with something, but curious about your plan.)

Definitely would need some tests -- ideally demonstrating an example real-world use.

@Rexcrazy804
Copy link
Author

You should be able to request reviewers (top right in my interface).

image
Unfortunately there doesn't seem to be anything clickable to particularly request reviewers, perhaps there's something wrong on my end.

Can you give an example use case for this feature? (I'm sure I could come up with something, but curious about your plan.)

I am currently using it for declaratively deploying wallpapers (specifically ones with friends and family) that I cannot expose unencrypted to a public repository, this pr lets me do just that.

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