Check CRLs also for manifests
authortb <tb@openbsd.org>
Tue, 8 Feb 2022 14:53:03 +0000 (14:53 +0000)
committertb <tb@openbsd.org>
Tue, 8 Feb 2022 14:53:03 +0000 (14:53 +0000)
commitd7e950379a1d298a1b2cdf4380d11818570523cd
treeac57b33952a948b110979ebf30d0b92535fa1d0f
parentc065fca54cda14d0007fb25773dde99a599627ce
Check CRLs also for manifests

There is a chicken-egg here since manifests reference the CRL themselves.
We may also have two CRLs available, in which case we check against the
one with the newer thisUpdate time.

The RFC situation is a bit of a mess with abundant complexity, unclear
recommendations and requirements and draft specs that also need to be
considered. This is a first version that works with future improvements
to be landed later.

Joint work with claudio, prompted by a question by job

ok claudio job
usr.sbin/rpki-client/crl.c
usr.sbin/rpki-client/extern.h
usr.sbin/rpki-client/parser.c