Question about the adjustment of MPI values on gpg --import

NIIBE Yutaka gniibe at fsij.org
Wed Nov 20 08:31:11 CET 2024


Daniel Kahn Gillmor wrote:
> On Thu 2024-11-14 09:29:40 +0100, Wiktor Kwapisiewicz via Gnupg-devel wrote:
>
>> I've noticed that GnuPG on import "adjusts" some MPIs but if my reading 
>> of the spec is correct the adjustments breaks the spec alignment.
>
> I've replicated Wiktor's results with GnuPG 2.4.6, but they are *not*
> happening with 2.2.45.
>
> I've reported this to the issue tracker here, with an additional reproducer:
>
>    https://dev.gnupg.org/T7403

Thank you for creating the ticket.

IIUC, it's my badness/failure/embugment/something-negative for:
https://dev.gnupg.org/T4954

At that time, my intention was introducing Ed448 and X448 and making the
things aligned (while the specification for EdSOMETHING for OpenPGP was
not yet finished).  My intention was interoperability actually, but
alas, opposite outcome.

I'll continue on T7403.

Thank you for the reproducer, it's helpful.
-- 



More information about the Gnupg-devel mailing list