Replies: 2 comments 4 replies
-
bumping this up if there is any advice , the question is How can I enable and disable encryption based on a prompt at the first initialization? I seem to always get a prompt with passphrase even when I don't need it. I probably can wrap the [age] part of .chezmoi.toml.tmpl, but is this the best approach? Also any thoughts on storing the passphrase in env variables for encryption and also for the KeepassXC database ? any best practice ? |
Beta Was this translation helpful? Give feedback.
2 replies
-
Check out my Bootstrap idea at #4415, this might come in handy for your situation. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Thank you for this amazing tool and your constant community support
I created a setup in my dotfiles that allow me to choose a profile first
I basically automate the process based on the
chezmoi init
answers at first time it runs.I also ask few questions to see if I need to enable password manager of ssh key encrypted access by using what I call features.
Both features and setup rely on
.chezmoiignore
inclusion and exclusion to setup all this.I explained the above because now I want to fake encryption and passphrase prompt (Initial setup, prior to enabling password manager optional)
How can I enable and disable encryption based on a prompt at the first initialization? I seem to always get a prompt with passphrase even when I don't need it. I probably can wrap the
[age]
part of.chezmoi.toml.tmpl
, but is this the best approach?Beta Was this translation helpful? Give feedback.
All reactions