Re: openssl x509 -hash
Greg Troxel <[email protected]> Mon, 27 Feb 2012 15:32:26 -0500
| Newsgroups | gmane.os.netbsd.devel.crypto |
|---|---|
| Message-ID | <[email protected]> |
Greg Troxel <[email protected]> writes: > Some colleagues have been finding that "openssl x509 -hash" produces > different results on netbsd-5 vs -current (late 2011). The results are > consistent between i386/amd64. > > (The hashes are used as symlinks in a CA directory to allow finding > trust anchor CA certs; we are using a private CA.) > > 1) Is anyone else seeing this? > > 2) Is there a notion that these hashes are meant to be computed/used on > a single machine, or are they meant to be broadly portable? The man > page doesn't explain this very well. It seems that openssl has changed the certificate hash algorithm from md5 to sha1, and the man page even hints at this: http://www.openssl.org/docs/apps/x509.html This is really about openssl and not a NetBSD-specific issue, but people who have symlinks in CA directories will find that on upgrading that validation fails. I can't find this explained in upstream's NEWS or Changelog.
signature.asc
(application/pgp-signature, 194 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (NetBSD) iEYEARECAAYFAk9L6FsACgkQ+vesoDJhHiUFGwCggHqJlp1+HMQnKT1MpW0jQz3f i/MAn0RFBTnumfrXsY3r6YLveA5NE8u6 =8yuD -----END PGP SIGNATURE-----