Re: How to encrypt and sign with different keys

2016-07-21 Thread Ingo Klöcker
On Thursday 21 July 2016 12:27:20 d...@mielko.com wrote: > From: "Robert J. Hansen" >> gpg --recipient ID-A --local-user ID-B --encrypt --sign filename.txt > > Still need your help guys. The syntax listed below works (or I think > it does) but how do I verify that the file was encrypted with key

Re: How to encrypt and sign with different keys

2016-07-21 Thread d...@mielko.com
am asking because recipient of the file claims that the signing key was used to encrypt the file and that he can't decrypt it. Thanks. From: "Robert J. Hansen" Sent: Monday, July 18, 2016 7:09 PM To: gnupg-users@gnupg.org Subjec

Re: How to encrypt and sign with different keys

2016-07-19 Thread Dashamir Hoxha
On Tue, Jul 19, 2016 at 2:16 PM, d...@mielko.com wrote: > > is there a way to force GPG to produce output with PGP extension? > Try the option: `--output filename.pgp` ___ Gnupg-users mailing list Gnupg-users@gnupg.org http://lists.gnupg.org/mailman/lis

Re: How to encrypt and sign with different keys

2016-07-19 Thread d...@mielko.com
? From: "Robert J. Hansen" 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

Re: How to encrypt and sign with different keys

2016-07-18 Thread Robert J. Hansen
> 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-u

Re: How to encrypt and sign with different keys

2016-07-18 Thread Daniele Nicolodi
On 7/18/16 2:49 PM, Dashamir Hoxha wrote: > On Mon, Jul 18, 2016 at 9:40 PM, d...@mielko.com > mailto:d...@mielko.com>> wrote: > > I am struggling with GPG command line that will encrypt file with > key A and sign it with key B. You can select the key for signing

Re: How to encrypt and sign with different keys

2016-07-18 Thread Robert J. Hansen
> I am struggling with GPG command line that will encrypt file with key A > and sign it with key B. Any help would be appreciated. Also, is there a ID-A is the certificate ID for A, ID-B is the certificate ID for B. gpg --recipient ID-A --local-user B --encrypt --sign filename.txt > way to provi

Re: How to encrypt and sign with different keys

2016-07-18 Thread Dashamir Hoxha
On Mon, Jul 18, 2016 at 9:40 PM, d...@mielko.com wrote: > I am struggling with GPG command line that will encrypt file with key A > and sign it with key B. > Usually it does it automatically, if you have subkeys for signing and encryption. > Also, is there a way to provide the password for the

How to encrypt and sign with different keys

2016-07-18 Thread d...@mielko.com
I am struggling with GPG command line that will encrypt file with key A and sign it with key B. Any help would be appreciated. Also, is there a way to provide the password for the signing key in the command line? I am trying to automate encrypting files. Thanks ___