Page MenuHome GnuPG

Retain binary representation of key for import->export (in particular, Ed25519 signature)
Testing, NormalPublic

Description

T4954: SOS representation and improvements in GnuPG made a progress, from a viewpoint of underlying crypto operations, for keeping the binary representation intact.
It allows stopping old practice of big-endian values and we identified&fixed bugs in libgcrypt and gpg-agent for stop modifying data silently (see: T4956 and T4964).

On the other hand, GnuPG 2.2 and other implementations keep old practice removing leading zeros in Ed25519 signature in the upper layer.

Given this situation, when importing, it is good to retain the binary representation of external input key, specifically, the data of the Ed25519 signature.

Event Timeline

gniibe triaged this task as Normal priority.Mon, Nov 25, 3:46 AM
gniibe created this task.
werner changed the task status from Open to Testing.Mon, Nov 25, 11:13 AM
werner added a project: gnupg.
werner added a subscriber: werner.

I cherry picked your patch for master and 2.4.