gpg2 requires gpg-agent to be available (installed and configured).
When it is not, the error warning is usually "...secret key not available".

Hope this helps
Charly


Sent from my iPhone

On May 8, 2010, at 22:14, Andreas Mattheiss <please.p...@publicly.invalid > wrote:

Hello,

for some time gpg2 from subversion has been giving me grief, claiming
there was no secret key, while gpg1.xxx says there is:

highscreen [21:08] [/raidtest/CVS/gnupg] <# 44> g10/gpg2 --version
gpg (GnuPG) 2.1.0-svn5320
libgcrypt 1.5.0-svn1429
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html >
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Home: ~/.gnupg
Supported algorithms:
Pubkey: RSA, ELG, DSA
Cipher: 3DES, CAST5, BLOWFISH, AES, AES192, AES256, TWOFISH, CAMELLIA128,
       CAMELLIA192, CAMELLIA256
Hash: MD5, SHA1, RIPEMD160, SHA256, SHA384, SHA512, SHA224
Compression: Uncompressed, ZIP, ZLIB, BZIP2


highscreen [21:09] [/raidtest/CVS/gnupg] <# 46> g10/gpg2 < ~/.cshrc.asc
gpg: encrypted with 1024-bit ELG key, ID D8F9277B, created 2001-07-15
     "Andreas Mattheiss <a........>"
gpg: decryption failed: No secret key


But gpg1.xxx, also from svn, says:

highscreen [21:11] [/raidtest/CVS/gnupg] <# 50> gpg --version
gpg (GnuPG) 1.4.11-svn5308
Copyright (C) 2009 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html >
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Home: ~/.gnupg
Supported algorithms:
Pubkey: RSA, RSA-E, RSA-S, ELG-E, DSA
Cipher: 3DES, CAST5, BLOWFISH, AES, AES192, AES256, TWOFISH, CAMELLIA128,
       CAMELLIA192, CAMELLIA256
Hash: MD5, SHA1, RIPEMD160, SHA256, SHA384, SHA512, SHA224
Compression: highscreen [21:11] [/raidtest/CVS/gnupg] <# 51> gpg < ~/.cshrc.asc

You need a passphrase to unlock the secret key for
user: "Andreas Mattheiss <a.............>"
1024-bit ELG-E key, ID D8F9277B, created 2001-07-15 (main key ID 10F7D537)

Uncompressed, ZIP, ZLIB, BZIP2


This has been going on for about half a year now. libassuen & friends are
all from svn.

Any suggestions/workarounds/explanations are welcome.

Andreas








_______________________________________________
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users

_______________________________________________
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users

Reply via email to