Replies: 1 comment 1 reply
-
Thanks for your kind words and thanks for reporting this. What's the output of There were some fixes around age support that got added in chezmoi v2.7.0, but there's no current test in chezmoi for this, so chezmoi could well be broken here. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
First, thanks for all the work you've put into
chezmoi
!I've got computer A and computer B - the problem i'm encountering is initializing the encrypted set of config files from A onto B.
I started using chezmoi on A a while back, and used the
age
encryption.My
~/.config/chezmoi/chezmoi.toml
looked like this at first.This worked great on a single computer.
Then I went to use chezmoi on computer B, and the configs are as follows:
A
B
After adding the second recipient to my config on computer A, I ran
chezmoi add --encrypt [file]
for every file thatchezmoi
manages, and committed the resultsOn computer B the following happens
As an age test, I encrypted a random file on computer A like so
age -o example.rc.age -r computerAPublicKey -r computerBPublicKey ~/.config.starship.toml
Then I sent that encrypted file to computer B, and ran
age --decrypt -i ~/age-key.txt -o rcfile.toml ~/Downloads/example.rc.age
and was able to view the contents of
rcfile.toml
just fine.Any ideas?
Beta Was this translation helpful? Give feedback.
All reactions