On Monday 04 June 2007 21:38, Andrew Berg wrote: > Bruno Costacurta wrote: > > Hello, I received an encrypted file called 'test.asc' (recipient is > > correct, hereafter it is truncated) but trying to decrypt it I have > > following error : > > > > gpg --decrypt test.asc gpg: encrypted with 2048-bit ELG-E key, ID > > 0CC897B5, created 2006-06-11 "Bruno Costacurta > > <[EMAIL PROTECTED]>" gpg: decryption failed: secret key not > > available > > > > Is it only key location? If so, how / where can I indicate my > > private key location ? If not, what type of problem ? > > Your secret key should be in ~./gnupg/secring.gpg. If you ran GPG from > the command line and don't have homedir explicitly overwritten, that's > where it is created when you generate a new key pair. > > If you run gpg --help, what does it say is the home directory? > If you run gpg -K, are any keys listed? > If you run gpg --list-keys, is your public key listed? > > > Thanks for your attention. However my GPG setup looks fine:
/home/bruno: gpg -K /home/bruno/.gnupg/secring.gpg ------------------------------ sec 1024D/2E604D51 2006-06-11 uid Bruno Costacurta <[EMAIL PROTECTED]> uid Bruno Costacurta <[EMAIL PROTECTED]> /home/bruno: gpg --list-keys 0x2e604d51 pub 1024D/2E604D51 2006-06-11 uid Bruno Costacurta <[EMAIL PROTECTED]> uid Bruno Costacurta <[EMAIL PROTECTED]> uid Bruno Costacurta <[EMAIL PROTECTED]> uid Bruno Costacurta <[EMAIL PROTECTED]> sub 2048g/0CC897B5 2006-06-11 Thanks for any clue. Bye, Bruno Costacurta _______________________________________________ Gnupg-users mailing list [email protected] http://lists.gnupg.org/mailman/listinfo/gnupg-users
