Thank you to all who replied. The command line listed below works like a charm. I guess, I just have to remove the password from the signing key. One more question, is there a way to force GPG to produce output with PGP extension?
---------------------------------------- From: "Robert J. Hansen" <r...@sixdemonbag.org> Sent: Monday, July 18, 2016 7:09 PM To: gnupg-users@gnupg.org Subject: Re: How to encrypt and sign with different keys > gpg --recipient ID-A --local-user B --encrypt --sign filename.txt Grr. Typoed it. gpg --recipient ID-A --local-user ID-B --encrypt --sign filename.txt _______________________________________________ Gnupg-users mailing list Gnupg-users@gnupg.org http://lists.gnupg.org/mailman/listinfo/gnupg-users
_______________________________________________ Gnupg-users mailing list Gnupg-users@gnupg.org http://lists.gnupg.org/mailman/listinfo/gnupg-users