<div dir="ltr"><div class="gmail-gs" style="margin:0px;padding:0px 0px 20px;width:initial;min-width:0px;font-family:"Google Sans",Roboto,RobotoDraft,Helvetica,Arial,sans-serif;font-size:medium"><div class="gmail-"><div id="gmail-:96h" class="gmail-ii gmail-gt" style="direction:ltr;margin:8px 0px 0px;padding:0px;font-size:0.875rem;overflow-x:hidden"><div id="gmail-:96i" class="gmail-a3s gmail-aiL" style="font-variant-numeric:normal;font-variant-east-asian:normal;font-variant-alternates:normal;font-kerning:auto;font-feature-settings:normal;font-stretch:normal;font-size:small;line-height:1.5;font-family:Arial,Helvetica,sans-serif;overflow:auto hidden;direction:initial"><div dir="ltr">Hi!  I'm trying to make a script resilient against a bad gnupg.conf file, so I tried passing --no-options to it.  However, it then caused the command to fail on machines where gnupg had never been run, so ~/.gnupg didn't exist yet with the following error:<div><br></div><div>gpg: Fatal: /home/jbailey/.gnupg: directory does not exist!<br></div><div><br></div><div>I'm wondering if the documentation for --no-options should perhaps be updated to indicate that commands like --list-keys may fail if there's no homedir, or perhaps should --no-options skip doing anything with trustdb.gpg.</div><div><br></div><div>Or perhaps I'm wrong on how I'm thinking about this.</div><div><br></div><div>Thank you!</div></div><div class="gmail-yj6qo"></div><div class="gmail-adL"></div></div></div><div class="gmail-hi" style="padding:0px;width:auto;background:rgb(242,242,242);margin:0px;border-bottom-left-radius:1px;border-bottom-right-radius:1px"></div><div class="gmail-WhmR8e" style="clear:both"></div></div></div><br class="gmail-Apple-interchange-newline"></div>