SlickRoenick

Member
Jul 13, 2005
36
0
0
I can encrypt files fine after importing the keys i need. However, i am unable to decrypt them. I can extract them using PGP (the gui version for Windows), but when i use gpg i get this error:

c:\>gpg --decrypt "c:\crap\century.doc.gpg"
gpg: encrypted with 2048-bit RSA key, ID FFF1B3EC, created 2006-10-16
"USERNAME <MY-EMAIL@MYWORK.ORG>"
gpg: decryption failed: secret key not available

How do i get the "secret key" to work?
 

n0cmonkey

Elite Member
Jun 10, 2001
42,936
1
0
Both your public and private keys are in the keychain (I haven't used gnupg in a while, and never from the cli, so my phrasing may be a bit off ;))? You typed in the right passphrase?
 

nova2

Senior member
Feb 3, 2006
982
1
0
uninstall and reinstall gnupg if you haven't.

check: C:\Documents and Settings\username\Application Data\gnupg

is secring.gpg missing?
 

SlickRoenick

Member
Jul 13, 2005
36
0
0
Originally posted by: nova2
uninstall and reinstall gnupg if you haven't.

check: C:\Documents and Settings\username\Application Data\gnupg

is secring.gpg missing?
Secring.gpg is there, however, the file size is 0KB. I guess that is bad?