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 myu...@domain.net -r myu...@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. > mwal...@paragon-csi.com > 717-764-7909 ext. 20 > > _______________________________________________ > Gnupg-users mailing list > Gnupg-users@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)?
David -- “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
signature.asc
Description: OpenPGP digital signature
_______________________________________________ Gnupg-users mailing list Gnupg-users@gnupg.org http://lists.gnupg.org/mailman/listinfo/gnupg-users