Storing keys and signatures as sexps

Ludovic Courtès ludo at gnu.org
Fri Jan 24 17:42:41 CET 2014


Werner Koch <wk at gnupg.org> skribis:

> On Mon, 20 Jan 2014 18:27, ludo at gnu.org said:
>
>>   • libspki stores RSA public keys as shown in
>>     <http://theworld.com/~cme/spki.txt>, with tokens like
>>     ‘rsa-pkcs1-md5’, whereas gcrypt produces something slightly
>>     different;
>
> Right, the one-identifier approach for all algorithms involved has not
> been of my taste.  And well, SPKI was dead even back in 2001 when I cam
> up with our format.

Yeah.  What gcrypt uses looks more flexible and extensible.

>> It would be great if we could work towards unifying the sexps used in
>> both implementations.
>
> That would be quite hard given that we need to take care of backward
> compatibility and a software base in production use form more than a
> decade.

Maybe i’d be easier for lsh to support new formats because it doesn’t
export its sexp API, so it could convert from one representation to
another internally.  Food for thought...

Thanks,
Ludo’.



More information about the Gcrypt-devel mailing list