
Is there a way to generate the default gpg.conf file? I can't find one in my fs with find / -name gpg.conf
. I also tried checking gpgconf
to see if it had an option for generating one, and looked for other gpg utils that come with the standard gnupg2 installation, but nothing stood out.
Antwort1
Note that the contents of gpg.conf are only used to set options that are not the default. So if you want the default options, there's no reason to have a gpg.conf file.
That said, the correct placement for gpg.conf is in the .gnupg
folder and it is easily created with touch ~/.gnupg/gpg.conf
.