Check that the challenge token which is turned into a filename is
authorflorian <florian@openbsd.org>
Thu, 5 May 2022 19:51:35 +0000 (19:51 +0000)
committerflorian <florian@openbsd.org>
Thu, 5 May 2022 19:51:35 +0000 (19:51 +0000)
commit5b337cd6b5044e74beebf60578032c9c172b3672
tree10b34ad398a0bc951b966bdbae148e507c81545d
parent0913730decc899869bce04777b5d527f62f20494
Check that the challenge token which is turned into a filename is
base64url encoded.
We have only the challenge directory unveil(2)'ed so funny business
like ../ will not work, but we shouldn't generate garbage filenames
that someone else might trip over either.
Pointed out and diff by Ali Farzanrad (ali_farzanrad AT riseup.net)
OK beck
usr.sbin/acme-client/chngproc.c
usr.sbin/acme-client/main.c