plan9fox/sys/src/ape
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
..
9src Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
cmd expr: fix missing type declarations for match(), which broke on amd64 as pointers dont fit into a long 2014-07-12 03:02:21 +02:00
lib libsec: sha256 support for thumbprint files, use it in ssh as well 2017-04-23 19:00:08 +02:00
config Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
mkfile ape/mkfile: work arround fake "command line arguments" rule matching 2012-08-08 21:36:42 +02:00