V4 Key ID Mismatch - Check Me?

Werner Koch wk at gnupg.org
Tue Jul 24 18:44:01 CEST 2001


On Tue, 24 Jul 2001 11:12:27 -0400, Justin Wienckowski said:

> 1)  Hash the public key packet (tag 0x99, 2-octet length, 6-octet public key header, and the MPIs [mpi headers and data]) through SHA-1 (using cryptlib's SHA1 stuff)

Check that you do exactly what is done in 
g10/keyid.c:do_fingerprint_md
and compare it byte by byte.

-- 
Werner Koch        Omnis enim res, quae dando non deficit, dum habetur
g10 Code GmbH      et non datur, nondum habetur, quomodo habenda est.
Privacy Solutions                                        -- Augustinus





More information about the Gnupg-devel mailing list