On Wed 2015-03-18 08:18:11 -0400, Mark Walter wrote: > 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 -u myu...@domain.net is not doing anything here, because this is doing encryption and not signing. so no secret key material is used in this step. > 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. It sounds to me like you imported your public key but not your secret key. Does your key show up in the output of "gpg --list-secret-keys" ? --dkg _______________________________________________ Gnupg-users mailing list Gnupg-users@gnupg.org http://lists.gnupg.org/mailman/listinfo/gnupg-users