Re: Interleaving issue

2017-03-13 Thread Werner Koch
On Sun, 12 Mar 2017 17:36, r...@sixdemonbag.org said:

> sig!31DCBDC01B44427C7 2015-07-16  Robert J. Hansen  14 good signatures

This is a diagnostic which goes to stderr.

The former is fully buffered, the latter is line buffered.  From a
technical view this is all correct but I agree that it is a bit
annoying.  I'll add a fflush right before the stats output which solves
it for this case.  In the meantime you may run

  stdbuf -oL gpg GPGARGS

to also line buffer stdout.


Shalom-Salam,

   Werner


-- 
Die Gedanken sind frei.  Ausnahmen regelt ein Bundesgesetz.


pgp8xQdK1pasL.pgp
Description: PGP signature
___
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users


Interleaving issue

2017-03-12 Thread Robert J. Hansen
This is a bit odd:

=
quorra:~ rjh$ gpg --check-sig b44427c7
pub   rsa3072/1DCBDC01B44427C7 2015-07-16 [SC]
  CC11BE7CBBED77B120F37B011DCBDC01B44427C7
uid [ultimate] Robert J. Hansen 
sig!31DCBDC01B44427C7 2016-07-02  Robert J. Hansen

sig! 23806BE5D6B98E10 2015-07-16  Robert J. Hansen

sig!3D037CE8EEFA13249 2015-07-17  Phil Stracchino

sig!3DB1187B9DD5F693B 2015-07-18  Patrick Brunschwig

sig!31DCBDC01B44427C7 2015-07-16  Robert J. Hansen

sig!34D1E900E14C1CC04 2017-02-18  Phil Pennock

uid [ultimate] Robert J. Hansen 
sig!31DCBDC01B44427C7 2016-07-02  Robert J. Hansen

sig!34D1E900E14C1CC04 2017-02-18  Phil Pennock

uid [ultimate] Robert J. Hansen 
sig!31DCBDC01B44427C7 2015-07-16  Robert J. Hansen 
sig! 23806BE5D6B98E10 2015-07-16  Robert J. Hansen

sig!3D037CE8EEFA13249 2015-07-17  Phil Stracchino

sig!3DB1187B9DD5F693B 2015-07-18  Patrick Brunschwig

sig!34D1E900E14C1CC04 2017-02-18  Phil Pennock

sub   rsa3072/DC0F82625FA6AADE 2015-07-16 [E]
sig! 1DCBDC01B44427C7 2015-07-16  Robert J. Hansen

=

Let me draw attention to:

=
quorra:~ rjh$ gpg --check-sig b44427c7
...
sig!31DCBDC01B44427C7 2015-07-16  Robert J. Hansen 
...
=

It would appear GnuPG is interleaving outputs.  This is on a macOS
Sierra system with GnuPG 2.1.19.  It's reproducible, too.

___
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users