What am I doing wrong?

david at gbenet.com david at gbenet.com
Wed Mar 18 22:07:32 CET 2015

On 18/03/15 12:18, Mark Walter wrote:
> 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
> _______________________________________________
> Gnupg-users mailing list
> Gnupg-users at gnupg.org
> http://lists.gnupg.org/mailman/listinfo/gnupg-users
So you created a private and public key - then encrypted a file and you entered your
passphrase (password you created when generating your keys)?


“See the sanity of the man! No gods, no angels, no demons, no body. Nothing of the
kind.Stern, sane,every brain-cell perfect and complete even at the moment of death. No
delusion.” https://linuxcounter.net/user/512854.html - http://gbenet.com

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 897 bytes
Desc: OpenPGP digital signature
URL: </pipermail/attachments/20150318/36d44f9d/attachment.sig>

More information about the Gnupg-users mailing list