Replies: 1 comment 2 replies
-
Yup, this makes total sense. I'll promote |
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.
Uh oh!
There was an error while loading. Please reload this page.
-
Thank you so much for the new features
--age-recipient
and--age-recipient-file
forchezmoi add
, which greatly improve the ability to control sensitive data encryption granularity.However, there is a minor issue with
chezmoi edit
. When editing an encrypted file, it does not respect the original recipients specified duringchezmoi add
and instead encrypts the file with multiple recipients defined in the configuration file.Following are steps to reproduce.
~/test.txt
with--age-recipient-file ~/.age/key2_pub.txt
.It can be decrypted with
~/.age/key2.txt
but not~/.age/key1.txt
, as expected.chezmoi edit ~/test.txt
.After running
chezmoi edit
, the file can be decrypted with both~/.age/key1.txt
and~/.age/key2.txt
. It seems that it is encrypted with multiple recipients, including~/.age/key1_pub.txt
, which was not specified duringchezmoi add
.This is a minor issue since we could use
chezmoi forget
andchezmoi add
instead, but it would be much convenient if we could also have--age-recipient
and--age-recipient-file
forchezmoi edit
.Thank you again for the awesome software!
Beta Was this translation helpful? Give feedback.
All reactions