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

Fault in openssl-blacklist - version 0.1 -- false negatives.



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Just FYI - there seems a minor fault in the openssl-blackist tool[1], I strongly suspect that the line:

#print "bits: %s\nmodulus: %s\nkey: %s\nkey80: %s" % (bits, modulus, key, key[20:])
   if key[20:] in db_lines:

needs to be

   key = sha.sha(modulus).hexdigest()
#print "bits: %s\nmodulus: %s\nkey: %s\nkey80: %s" % (bits, modulus, key, key[20:])
   if key in db_lines:

for the tool to be functional. As it stands - it seems to give false negatives -- lulling one in a potentially false sense of security.

Thanks,

Dw.

1: https://launchpad.net/ubuntu/hardy/+source/openssl-blacklist/0.1-0ubuntu0.8.04.2
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.8 (Darwin)

iQCVAwUBSC1mVjGmPZbsFAuBAQJWTAP+LtUInmamxTl02h5AFSE98D5qpCRe13Mt
t2PfrRYYhWuFK0rfptxWcACxXOTbFqMMALccI7KAiKAPt1YSJ/oEB27j0TGll9o6
YqGlwTzJzZWqRg++dTN2OnziMLzTrOMol7E3Qq6EhFt3ent8yoL8KkmKrXU2RUF6
6NOELC8050o=
=NzLj
-----END PGP SIGNATURE-----


Reply to: