sks-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Sks-devel] Help parsing OpenPGP packets and pubkey "normalization"


From: Kim Minh Kaplan
Subject: Re: [Sks-devel] Help parsing OpenPGP packets and pubkey "normalization"
Date: Thu, 20 May 2010 20:08:03 +0000
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux)

Jesus Cea writes:

> You can parse the pubkey bundle, extract the packet
> and sort them in lexicographic order, for instance, paying attention to
> hierachical considerations.
>
> I need to "normalize" the key to ensure that "HASH(pubkey bundle)" is
> the same everywhere, because that is what is feeded to the hasntree to
> syncronize.
>
> How does SKS solve this issue?.

If my reading is correct, SKS the kind of canonicalization you describe.
Keys are first parsed with parse_keystr then merged with merge_pkeys.
See the function merge at
http://code.google.com/p/sks-keyserver/source/browse/keyMerge.ml#223

-- 
Kim Minh



reply via email to

[Prev in Thread] Current Thread [Next in Thread]