Can't use GPG key - secret key not available

Noiano noiano at lavabit.com
Thu Sep 30 09:48:59 CEST 2010


On 09/29/2010 10:49 PM, Madhusudan Singh wrote:
> I finally bit the bullet and cleaned out my old S3 bucket on Amazon and
> started afresh with a new key.
> 
> Generated an RSA and RSA (4096 bit) key.
> 
> Tried to use it with duplicity. It fails:
> 
> ===== Begin GnuPG log =====
> gpg: no default secret key: secret key not available
> gpg: [stdin]: sign+encrypt failed: secret key not available
> ===== End GnuPG log =====
> 
> 
> 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 =====
> 
> OS: Mac OSX 10.6.4
> 
> What gives ?
> 
> I have two keys (corresponding to two different email addresses listed -
> both --list-keys and --list-secret-keys attest to that fact).
> 
> Thanks for your help.

Hi,
check your gpg.conf. You should have a "default-key" parameter set. I
have "default-key AB10E8D2".

Hope this helps.


Noiano

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 222 bytes
Desc: OpenPGP digital signature
URL: </pipermail/attachments/20100930/4dc095b7/attachment.pgp>


More information about the Gnupg-users mailing list