plan9fox/sys/man
cinap_lenrek 88060e7501 libsec: add X509reqtoRSApub() function and return subject alt names in X509to*pub() name buffer
We need a way to parse a rsa certificate request and return the public
key and subject names. The new function X509reqtoRSApub() works the
same way as X509toRSApub() but on a certificate request.

We also need to support certificates that are valid for multiple domain
names (as tlshand does not support certificate selection). For this
reason, a comma separated list is returned as the certificate subject,
making it symmetric to X509rsareq() handling.

A little helper is provided with this change (auth/x5092pub) that takes
a certificate (or a certificate request when -r flag is provided) and
outputs the RSA public key in plan 9 format appended with the subject
attribute.
2021-07-04 22:00:24 +00:00
..
1 pic(1): restore example section 2021-06-27 00:11:17 +00:00
2 libsec: add X509reqtoRSApub() function and return subject alt names in X509to*pub() name buffer 2021-07-04 22:00:24 +00:00
3 devmouse: default to no blanking instead of 30 minute blank timeout 2021-07-01 23:11:11 +00:00
4 git/fs: use a better heuristic for permissions. 2021-06-22 23:55:54 +00:00
5 /sys/man/*/*: fix perms (sorry) 2017-12-11 19:58:06 -05:00
6 a.out(1): update manpage to be 64 bit inclusive 2021-06-05 18:48:10 +00:00
7 remove juke (use play or zuke instead) 2021-04-13 13:25:24 +02:00
8 nusbrc(8): fix typo (thanks igor@9lab.org) 2021-06-19 12:03:53 +00:00
9 sched(9): replace '–' with '-' in NAME section 2021-06-21 10:26:15 +00:00
fonts Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
index.html Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
mkfile manual: don't match nonexistent file while preprocessing 2021-06-27 00:13:58 +00:00
preface.html Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
preface3.html Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
preface4.html Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00