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 libauthsrv: open internal file-descriptors with OCEXEC flag 2020-12-07 16:47:06 +01:00
libavl
libbin
libbio
libc libc: add encode(2) variants for custom alphabets 2021-07-03 20:03:17 +00:00
libcomplete libcomplete: open internal file-descriptor with OCEXEC flag 2020-12-07 17:18:33 +01:00
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 qball: remove unused #include <stdio.h> 2020-08-04 16:27:27 +02:00
libhtml
libhttpd always zero initialize Tm structure for tm2sec() 2019-12-03 08:22:02 +01:00
libip
libjson
liblex
libmach libmach: remove newline 2019-05-09 10:27:17 +02:00
libmemdraw libmemdraw: remove inexistent build targets 2020-04-19 15:30:58 +02:00
libmemlayer
libmp libmp: add dummy mkfile for arm64 2019-05-03 21:02:13 +02:00
libndb libndb: open internal file-descriptors with OCEXEC flag 2020-12-07 15:15:02 +01:00
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 libttf: fix cmap subtable offset type and rank UCS-4 higher (more codepoints). fixes runes > 0xffff 2020-08-05 14:25:21 +02:00
libventi sys/src/libventi: implement vtsha1 and vtsha1check functions 2019-09-06 11:55:18 -07:00
mkfile
mkfile.proto /sys/src: add arm64 to installall list 2021-06-21 03:34:47 +00:00