What am I doing wrong?

Mark Walter mwalter at paragon-csi.com
Wed Mar 18 13:18:11 CET 2015

Hello all.

I'm having issues with encrypt and decrypt and I know it's something I'm doing wrong. I created a key with Kelopatra. Imported it into GNU Privacy Assistant. It shows up as Fully Valid.

Next, to test, I created the text file test.txt and used the following command to encrypt it.
gpg -e -u myuser at domain.net -r myuser at domain.net test.txt

The file test.txt.gpg showed up in my folder.

Next, I tried to decrypt it using the following syntax.
gpg -d test.txt.gpg

And I get the following error.
Gpg decryption failed: No secret key

Not sure what I'm doing wrong here. This used to not be an issue.

This is Windows Server 2012.

Thanks in advance	

Mark Walter

Business to Business Data Integration Specialist
Certified IBM System i Specialist
Paragon Consulting Services, Inc.
mwalter at paragon-csi.com
717-764-7909 ext. 20

More information about the Gnupg-users mailing list