plan9fox/sys
cinap_lenrek 346f5828e0 libsec: sha256 support for thumbprint files, use it in ssh as well
initThumbprints() now takes an application tag argument
so x509 and ssh can coexist.

the thumbprint entries can now hold both sha1 and sha256
hashes. okThumbprint() now takes a len argument for the
hash length used.

the new function okCertificate() hashes the certificate
with both and checks for any matches.

on failure, okCertificate() returns 0 and sets error string.

we also check for include loops now in thumbfiles, limiting
the number of includes to 8.
2017-04-23 19:00:08 +02:00
..
doc merging erik quanstros nupas 2017-03-12 17:15:03 +01:00
games/lib fortunes: does that me a dipshit 2016-10-16 14:16:17 -04:00
include libsec: sha256 support for thumbprint files, use it in ssh as well 2017-04-23 19:00:08 +02:00
lib move blit roms to /sys/lib/blit 2017-03-29 01:33:16 +02:00
man libsec: sha256 support for thumbprint files, use it in ssh as well 2017-04-23 19:00:08 +02:00
src libsec: sha256 support for thumbprint files, use it in ssh as well 2017-04-23 19:00:08 +02:00