GNUPG / GPG / S3 / Duplicity gpg: no default secret key: secret key not available
punksgt at gmail.com
Fri Jul 17 21:54:47 CEST 2015
Awesome! you are genius, thanks for your assistance!
On 07/16/2015 11:48 PM, NIIBE Yutaka wrote:
> On 07/17/2015 01:45 PM, punksgt wrote:
>> Still getting this error.
>> GPGError: GPG Failed, see log below:
>> ===== Begin GnuPG log =====
>> gpg: no default secret key: secret key not available
>> gpg: [stdin]: sign+encrypt failed: secret key not available
>> ===== End GnuPG log =====
> I re-read your original post again, and found that you redefine the
> environment variable "HOME" in the script, which is the cause of the
> Please add two lines in your script:
> export GNUPGHOME
> Then, please try with new script. By setting GNUPGHOME, gpg command
> will access that directory.
> (Please note that secret subkey for encryption is also needed.)
More information about the Gnupg-users