GNUPG / GPG / S3 / Duplicity gpg: no default secret key: secret key not available

NIIBE Yutaka gniibe at
Thu Jul 16 02:09:15 CEST 2015

On 07/16/2015 12:13 AM, punksgt wrote:
> Here is the details of my keys:
> |/home/bege/.gnupg/pubring.gpg
> -----------------------------
> pub   2048R/7E4B6B9B 2015-07-15
> uid                  Chad H <me at>
> /home/bege/.gnupg/secring.gpg
> -----------------------------
> sec   2048R/7E4B6B9B 2015-07-15
> uid                  Chad H <me at>

It seems that your key is only primary key (which is for signing other
key and for signing data).  For encryption, you also need a subkey for
encryption (or primary key should have a flag for encryption).

You can add a subkey for encryption by 'gpg --edit 7E4B6B9B' or you
can create new key with primary key and subkey for encryption.
Default is "RSA and RSA", which means RSA primary key and RSA
encryption key.

More information about the Gnupg-users mailing list