Closed AGWA closed 2 years ago
Thanks @AGWA! Now fixed.
It looks like I must've accidentally omitted the 'x' when populating the public_key
field for these 4 records. For example, I can reproduce the problem by doing this...
UPDATE ct_log
SET public_key = E'\\3059301306072A8648CE3D020106082A8648CE3D0301070342000457B8C16F30A47F2EE4F0D0D960621395E37AE34E53C3B3B87385C1180D230E5884D278EF9BB31E2C1ADEC18F811B194458B7007760201A72D882DEAE9EB1C64B'
WHERE ID=95;
...when what's needed is...
UPDATE ct_log
SET public_key = E'\\x3059301306072A8648CE3D020106082A8648CE3D0301070342000457B8C16F30A47F2EE4F0D0D960621395E37AE34E53C3B3B87385C1180D230E5884D278EF9BB31E2C1ADEC18F811B194458B7007760201A72D882DEAE9EB1C64B'
WHERE ID=95;
These 4 logs don't have the correct public key set in the crt.sh database. It looks like the keys have been inserted as hex with a leading
Å
character.i.e. if you take the hex values from the below table, you have to 1) decode the hex, 2) chop off the first character, and then 3) decode as hex again to get the actual DER bytes.