Re: --verify --status-fd separator for multiple signatures?

2015-03-21 Thread Werner Koch
On Fri, 20 Mar 2015 19:41, patrick-mailingli...@whonix.org said: Well, I don't speak C, so I can't make head or tail of what we do in gpgme/src/verify.c. You should still be able to follow the control flow. That is not different from any pseudo code. Is there a complete list of all possible

Re: --verify --status-fd separator for multiple signatures?

2015-03-20 Thread Patrick Schleizer
Werner Koch: On Thu, 19 Mar 2015 18:39, patrick-mailingli...@whonix.org said: when using --verify combined with --status-fd [or --status-file], how can one notice in scripts, that processing the one signature is done and that further status-fd messages belong to the next message? That is

Re: --verify --status-fd separator for multiple signatures?

2015-03-20 Thread Patrick Schleizer
Doug Barton: On 3/19/15 10:39 AM, Patrick Schleizer wrote: Hi, when using --verify combined with --status-fd [or --status-file], how can one notice in scripts, that processing the one signature is done and that further status-fd messages belong to the next message? You are using

Re: --verify --status-fd separator for multiple signatures?

2015-03-19 Thread Werner Koch
On Thu, 19 Mar 2015 18:39, patrick-mailingli...@whonix.org said: when using --verify combined with --status-fd [or --status-file], how can one notice in scripts, that processing the one signature is done and that further status-fd messages belong to the next message? That is unfortunately a

Re: --verify --status-fd separator for multiple signatures?

2015-03-19 Thread Doug Barton
On 3/19/15 10:39 AM, Patrick Schleizer wrote: Hi, when using --verify combined with --status-fd [or --status-file], how can one notice in scripts, that processing the one signature is done and that further status-fd messages belong to the next message? You are using --with-colons, right? --

--verify --status-fd separator for multiple signatures?

2015-03-19 Thread Patrick Schleizer
Hi, when using --verify combined with --status-fd [or --status-file], how can one notice in scripts, that processing the one signature is done and that further status-fd messages belong to the next message? I mean, sometimes it shows SIG_ID, but not in case of ERRSIG. So is there some line /

Re: Multiple signatures

2011-10-11 Thread pjemen
by one key it works. Is there a way how to sign file with multiple signatures by two commands and to get the same OpenPgp binary format? Other problem I've noticed when I signed file in non-batch mode is that I’ve specified to use SHA512 for second signature. Problem is that the 3rd octed of One-Pass

Re: Multiple signatures

2011-10-11 Thread Werner Koch
On Tue, 11 Oct 2011 13:55, pje...@gmail.com said: Other problem I've noticed when I signed file in non-batch mode is that I’ve specified to use SHA512 for second signature. You didn't. What you did is to specify an S2K hash algorithm which is used to turn passphrases into keys. Further it is

Multiple signatures

2011-10-03 Thread pet jemen
Hi, I want to sign binary data in OpenPGP Message Format. I want sign it by two or more keys. According to http://tools.ietf.org/html/rfc4880#section-5.4 it seems it is possible. (A one-octet number holding a flag showing whether the signature is nested. A zero value indicates that the next

Re: Multiple signatures

2011-10-03 Thread David Shaw
On Oct 3, 2011, at 1:49 PM, pet jemen wrote: Hi, I want to sign binary data in OpenPGP Message Format. I want sign it by two or more keys. According to http://tools.ietf.org/html/rfc4880#section-5.4 it seems it is possible. (A one-octet number holding a flag showing whether the

Re: Multiple signatures

2011-10-03 Thread Doug Barton
On 10/03/2011 14:39, Aaron Toponce wrote: On Mon, Oct 03, 2011 at 07:49:21PM +0200, pet jemen wrote: I want to sign binary data in OpenPGP Message Format. I want sign it by two or more keys. According to http://tools.ietf.org/html/rfc4880#section-5.4 it seems it is possible. (A one-octet

gpg --verify behaves differently when multiple signatures present with --batch

2010-11-20 Thread Daniel Kahn Gillmor
when i have a set of OpenPGP signatures bundled together which have different validities, it looks like gpg behaves differently depending on if --batch is set or not. In particular, an invalid signature seems to terminate the entire --verify process (skipping later valid signatures) when --batch

Re: Multiple signatures

2010-06-21 Thread Boris
, at 11:33 PM, Boris wrote: Hi, I would like to know if there is a way to add multiple signatures for a file (in a separate file) and check who signed with just one command (so not by signing a signed file...). Sure. gpg -u signer_1 -u signer_2 -u signer_3 --detach-sign file-to-sign

Re: Multiple signatures

2010-06-21 Thread Boris
Thank you very much David It is exactly what I wanted 2010/6/18 David Shaw ds...@jabberwocky.com On Jun 17, 2010, at 11:33 PM, Boris wrote: Hi, I would like to know if there is a way to add multiple signatures for a file (in a separate file) and check who signed with just one

Re: Multiple signatures

2010-06-21 Thread Robert J. Hansen
On 6/18/10 3:39 PM, ved...@nym.hush.com wrote: gpg --armor -u signer -u signer2 -u signer3 --clearsign filename no. 6.5.8 and 6.5.8 ckt will crash only when trying to verify multiple signatures of the same text when *clearsigned*. Perhaps I'm in error here, but -- isn't a clearsign

Multiple signatures

2010-06-18 Thread Boris
Hi, I would like to know if there is a way to add multiple signatures for a file (in a separate file) and check who signed with just one command (so not by signing a signed file...). Thanks, Koushkov ___ Gnupg-users mailing list Gnupg-users@gnupg.org

Re: Multiple signatures

2010-06-18 Thread Robert J. Hansen
On 6/17/10 11:33 PM, Boris wrote: Hi, I would like to know if there is a way to add multiple signatures for a file (in a separate file) and check who signed with just one command (so not by signing a signed file...). gpg --armor -u signer -u signer2 -u signer3 --clearsign filename

Re: Multiple signatures

2010-06-18 Thread David Shaw
On Jun 17, 2010, at 11:33 PM, Boris wrote: Hi, I would like to know if there is a way to add multiple signatures for a file (in a separate file) and check who signed with just one command (so not by signing a signed file...). Sure. gpg -u signer_1 -u signer_2 -u signer_3 --detach

Re: Multiple signatures

2010-06-18 Thread David Shaw
On Jun 17, 2010, at 11:33 PM, Boris wrote: Hi, I would like to know if there is a way to add multiple signatures for a file (in a separate file) and check who signed with just one command (so not by signing a signed file...). Sure. gpg -u signer_1 -u signer_2 -u signer_3

Re: Multiple signatures

2010-06-18 Thread vedaal
Robert J. Hansen rjh at sixdemonbag.org wrote on Fri Jun 18 14:13:56 CEST 2010 : I would like to know if there is a way to add multiple signatures for a file (in a separate file) and check who signed with just one command (so not by signing a signed file...). gpg --armor -u signer -u

Extracting a single signature from a file containing multiple signatures

2005-09-21 Thread Derek Price
in the CVS repository, potentially by multiple users, and I want to know if I can store multiple signatures in a single binary string (I know that gpg --verify can handle this) or if I need to keep them separate, to allow for admins to later delete single, possibly expired, signatures from

Re: Extracting a single signature from a file containing multiple signatures

2005-09-21 Thread David Shaw
On Wed, Sep 21, 2005 at 11:52:08AM -0400, Derek Price wrote: Say `gpg --detach-sign' were used to create several detached signatures and they were concatenated into the same file. Is there a simple way to separate those signatures again? Is there documentation of the gpg signature file

Re: Extracting a single signature from a file containing multiple signatures

2005-09-21 Thread Derek Price
David Shaw wrote: Yes, and yes. To separate signatures, use 'gpgsplit', which comes with gpg. You'll end up with each signature in its own file. The documentation of the signature file format is in RFC-2440: http://www.ietf.org/rfc/rfc2440.txt Thank you very much. That will be useful.

Re: Multiple signatures on a single file

2005-09-05 Thread Berend Tober
Alphax wrote: -BEGIN PGP SIGNED MESSAGE- Hash: RIPEMD160 Berend Tober wrote: Is it possible to have multiple persons sign a single file? If so, how is this done? The particular scenario is currently this: Employees submit expense reports for business travel using a spread sheet.

Multiple signatures on a single file

2005-09-02 Thread Berend Tober
Is it possible to have multiple persons sign a single file? If so, how is this done? The particular scenario is currently this: Employees submit expense reports for business travel using a spread sheet. Current practise is the the employee fills out spread sheet via computer (or optionally

Re: Multiple signatures on a single file

2005-09-02 Thread Alphax
-BEGIN PGP SIGNED MESSAGE- Hash: RIPEMD160 Berend Tober wrote: Is it possible to have multiple persons sign a single file? If so, how is this done? The particular scenario is currently this: Employees submit expense reports for business travel using a spread sheet. Current practise