Re: [PATCH 07/23] test/crypto: mark extra space in userid as a bug in gmime-2.6

Subject: Re: [PATCH 07/23] test/crypto: mark extra space in userid as a bug in gmime-2.6

Date: Thu, 06 Jul 2017 10:15:47 -0400

To: Tomi Ollila, David Bremner, notmuch@notmuchmail.org, notmuch@freelists.org

Cc:

From: Daniel Kahn Gillmor


On Wed 2017-07-05 23:26:18 +0300, Tomi Ollila wrote:
> On Sat, Jun 03 2017, David Bremner wrote:
>
>> I can't see the space in the output of gpg -K --with-colons
 [...]
> You could add a variable which is set to ' ' when gmime_2 is used and ''
> when gmime_3 is used and insert that just like '"$FINGERPRINT"' is added
> -- that change would not need to live there forever -- just couple of
> years until we drop support for gmime_2... ( ;) )
>
> e.e. "userid: "'"$GM2SPC"'Notmuch Test Suite..."
>
> (if nimed as such, T350-crypto.sh -local variable)

I think this would be a mistake.  This is clearly a bug in gmime 2.6,
and we should be marking it as such.  the User ID does not have a
leading space (see test/gnupg-secret-key.NOTE for how it was generated).

        --dkg
signature.asc (application/pgp-signature)

Thread: