chezmoi apply,warning 'encryption' not set, using gpg configuration. Check if 'encryption' is correctly set as the top-level key. #4215
-
chezmoi apply,warning 'encryption' not set, using gpg configuration. Check if 'encryption' is correctly set as the top-level key. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Please paste text versions in the future, but TOML has some idiosyncrasies (that is to say that it was intended to be better than YAML and JSON with no sharp edges, but only managed to invent some really nasty new sharp edges).
So your |
Beta Was this translation helpful? Give feedback.
-
@halostatue Thank you so much |
Beta Was this translation helpful? Give feedback.
Please paste text versions in the future, but TOML has some idiosyncrasies (that is to say that it was intended to be better than YAML and JSON with no sharp edges, but only managed to invent some really nasty new sharp edges).
encryption
is a top-level configuration and TOML is read top-to-bottom. The moment that the parser sees a[header]
block, every key from that point forward is under thatheader
level, until the next[header]
block.So your
encryption
setting must be abovedata
to be found by chezmoi configuration (and you need to look in.chezmoi
for that setting).