3 msgOption file setting for cipher and hash not glo...
1 msgOption file setting of cipher and hash not global?
2 msgSynchronize keyrings
1 msg[Announce] libgpg-error 1.4 released
1 msgCardreader installation
1 msgProblem mit gpgcard
1 msgANN: pine-gpg-filter: another pine + GPG filter...
16 msgNeed non-writable --homedir
2 msgdump/dd/tar + gpg > tape = file write error
3 msgcodeset conversion issue with GnuPG 1.4.x on HP...
3 msgEnabling smart card PIN cache ?

Unable to find secret key
\ Prashanth Mohan (7 Sep 2006)

1 msgHolger Smolinski/Germany/IBM is on vacation unt...
2 msgBeginner's smartcard questions
17 msgCompiling GnuPG 1.4.5 for Windows on Windows
1 msgminimize not cleaning up broken binding sigs
1 msgBatch Options
1 msgSig shows as bad in sent mail folder
6 msgCan't read belgium eID card using gpgsm
1 msg[Announce] Libksba 1.0.0 released.
Subject:Unable to find secret key
Group:Gnupg-users
From:Prashanth Mohan
Date:7 Sep 2006


 
Hello,

I am able to encrypt my messages using GPG, but i am not able to decrypt
them. I have only 1 secret key in my keyring. I also tried passing the
keyid with the decrypt command. It still says it cant find my secret
key. What am I doing wrong?


/tmp$ gpg -K
/home/prash/.gnupg/secring.gpg
------------------------------
sec 1024D/E4B6F212 2005-07-01
uid Prashanth Mohan <prashmohan>
uid Prashanth Mohan <prash086>
uid Prashanth Mohan <guyfromchennai>

/tmp$ cat > abc << EOF
> Hello... This is a test for decrypting encrypted text using GPG
> EOF
/tmp$ gpg -ev abc
You did not specify a user ID. (you may use "-r")

Current recipients:

Enter the user ID. End with an empty line: Prashanth
gpg: using classic trust model
gpg: using subkey 219D771B instead of primary key E4B6F212
gpg: This key belongs to us

Current recipients:
2048g/219D771B 2006-02-02 "Prashanth Mohan <prashmohan>"

Enter the user ID. End with an empty line:
gpg: reading from `abc'
gpg: writing to `abc.gpg'
gpg: ELG-E/AES256 encrypted for: "219D771B Prashanth Mohan
<prashmohan>"
/tmp$ gpg -vd abc.gpg
gpg: public key is 219D771B
gpg: using subkey 219D771B instead of primary key E4B6F212
gpg: encrypted with 2048-bit ELG-E key, ID 219D771B, created 2006-02-02
"Prashanth Mohan <prashmohan>"
gpg: decryption failed: secret key not available

Thank You,
--
Prashanth Mohan
http://prashblog.com

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


© 2004-2008 readlist.com