Validate the session_id to be a real UUID.
authorclaudio <claudio@openbsd.org>
Wed, 4 Jan 2023 14:22:43 +0000 (14:22 +0000)
committerclaudio <claudio@openbsd.org>
Wed, 4 Jan 2023 14:22:43 +0000 (14:22 +0000)
commit45735add95025c8c7ff784980c10ead565d53838
tree97599f14988701cfc6b75061508dff44b20b3ba6
parent095014b7f7ed71adf08c5cb5fc56a15f4ebd8e2e
Validate the session_id to be a real UUID.

RFC 8182 requires the session_id to be a version 4 random UUID (using
variant 1). Now checking the version and variant is currently disabled
because there is at least one CA with a session_id that is all random
and therefor the version check triggers there.
Joint work with job@. OK job@, tb@
usr.sbin/rpki-client/extern.h
usr.sbin/rpki-client/rrdp_delta.c
usr.sbin/rpki-client/rrdp_notification.c
usr.sbin/rpki-client/rrdp_snapshot.c
usr.sbin/rpki-client/validate.c