I was informed that some people accidentally stored their accounts.conf
file under git along with their personal configuration files.
New users may not be aware that ~/.config/aerc/accounts.conf
should NEVER be shared with anyone. We must add a warning at the end of the wizard to make this explicit.
Can we encrypt it with the user's private ssh key? (But maybe that wouldn't make sense for editing it by hand?)
No, but there are ways to get the passwords from your favorite password manager.
https://man.sr.ht/~rjarry/aerc/integrations/index.md#get-password-from-your-password-manager
I use it with gopass with no problem. everyone should know this, regartless of the software they using.
Would it make sense to have an option in the wizard to ask if a .gitignore file containing accounts.conf should be created as well?
Koni Marti referenced this ticket in commit ee961d3.