-----BEGIN PGP SIGNED MESSAGE----- Hash: RIPEMD160 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? [forgot to change the address again :p] - -- Windows NT 5.1.2600.2180 | Thunderbird 2.0.0.0 | Enigmail 0.95.0 | GPG 1.4.7 Key ID: 0x60A78FCB - available on major keyservers and upon request Fingerprint: 4A84 CAE2 A0D3 2AEB 71F6 07FD F88E 0340 60A7 8FCB -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iQEVAwUBRmRqNviOA0Bgp4/LAQN2kwf+PyPszDM1wFNhn+GrPB4fWTUn8FIlFEQH nrtjbSoUOoKLbWzkrWqJqit7XZ2W6xfJMhZYSeaunLGyRPQ9bm1RgJlgUCfuR8kM I1qwT5bCmDY6QcVuM0aw869DyJQJT6HdUI7fiBQeIOmPpujBJeT5+oi/jihaA34P +j5ZLitgHLhycyQLy5Ryw1iaxmwMFLNZRGlwsLATHgO2j8BFxYQYuiXbV1Hcx5Cc VJ4bGXrD/Frd7syMWGN3iG5MsRHnnGDfzhwJ6w0z6XQyg4rG4ClKas2gOQHnc8GK lzjSYtDu/e3KtNlEq0jQxgmXTWvuuY6H5r+h5j9nt+1RdY4OCxYi8Q== =2Yn8 -----END PGP SIGNATURE----- _______________________________________________ Gnupg-users mailing list Gnupg-users@gnupg.org http://lists.gnupg.org/mailman/listinfo/gnupg-users