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

[FEATURE] allow encrypting whole file #254

Open
ibotty opened this issue May 2, 2023 · 0 comments
Open

[FEATURE] allow encrypting whole file #254

ibotty opened this issue May 2, 2023 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@ibotty
Copy link

ibotty commented May 2, 2023

Is your feature request related to a problem? Please describe.
I'd like to manage my .ssh with bombadil. It would be great to just add the files to the bombadil directly without needing to template the file. This would also help for confidential binary files.

Describe the solution you'd like
I'd like to have e.g. bombadil add-secret --whole-file /path/to/unencrypted/file --file path/to/config encrypt the file and store in the given path with .gpg appended.
On linking bombadil would decrypt each *.gpg file (or only recorded ones, if we want to support unencrypted files named *.gpg) into the .dots dir.

Describe alternatives you've considered
Use, e.g., git-secret to store the encrypted file in the repository and decrypt on checkout. This will need users to configure keys in two locations though.

@ibotty ibotty added the enhancement New feature or request label May 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants