plan9fox/sys/src
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
..
9 devmouse: default to no blanking instead of 30 minute blank timeout 2021-07-01 23:11:11 +00:00
ape ape/lib9: expose fd2path (thanks phil9) 2021-02-20 21:02:07 -08:00
boot boot/bcm: download dtb files for rpi-400 and rpi-cm4 2021-02-22 23:44:28 +01:00
cmd libsec: add X509reqtoRSApub() function and return subject alt names in X509to*pub() name buffer 2021-07-04 22:00:24 +00:00
games games/opl3: use correct sampling rate 2021-05-05 16:57:19 +02:00
lib9p lib9p: remove Srv.srvfd, make postsrv() and threadpostsrv() return the mountable file descriptor, update documentation 2021-05-01 19:58:58 +02:00
libaml libaml: fix IndexField and BankField implementations (thanks Michael Forney) 2021-02-22 19:27:49 +01:00
libauth libauth: re-implement procsetuser() to use /proc instead of #c/user 2020-12-23 13:10:30 +01:00
libauthsrv
libavl
libbin
libbio
libc libc: add encode(2) variants for custom alphabets 2021-07-03 20:03:17 +00:00
libcomplete
libcontrol
libdisk
libdraw libdraw: enter/eenter: fix ^W removing the text on the right side of the tick 2021-02-04 10:57:37 +01:00
libdtracy
libfis
libflate
libframe
libgeometry
libhtml
libhttpd
libip
libjson
liblex
libmach
libmemdraw
libmemlayer
libmp
libndb
libplumb
libregexp
libsat
libscribble
libsec libsec: add X509reqtoRSApub() function and return subject alt names in X509to*pub() name buffer 2021-07-04 22:00:24 +00:00
libstdio libstdio: sync bits of vfprintf from APE 2021-02-19 23:04:09 +01:00
libString
libsunrpc libsunrpc: work around arm64 compiler bug in sunStringUnpack() 2021-03-29 17:13:50 +02:00
libthread threadimpl.h: remove Printsize as well (unused) 2021-06-20 14:59:10 +00:00
libttf
libventi
mkfile
mkfile.proto /sys/src: add arm64 to installall list 2021-06-21 03:34:47 +00:00