Re: rpki-client: check certificate policies

2022-02-04 Thread Claudio Jeker
On Fri, Feb 04, 2022 at 03:56:18PM +0100, Theo Buehler wrote: > On Fri, Feb 04, 2022 at 12:03:41PM +0100, Claudio Jeker wrote: > > On Fri, Feb 04, 2022 at 10:41:03AM +0100, Theo Buehler wrote: > > > It was pointed out to Claudio that rpki-client does not enforce > > > certificate policies. > > >

Re: rpki-client: check certificate policies

2022-02-04 Thread Theo Buehler
On Fri, Feb 04, 2022 at 12:03:41PM +0100, Claudio Jeker wrote: > On Fri, Feb 04, 2022 at 10:41:03AM +0100, Theo Buehler wrote: > > It was pointed out to Claudio that rpki-client does not enforce > > certificate policies. > > > > The diff below does that. It has two parts. > > > > In cert.c we

Re: rpki-client: check certificate policies

2022-02-04 Thread Claudio Jeker
On Fri, Feb 04, 2022 at 10:41:03AM +0100, Theo Buehler wrote: > It was pointed out to Claudio that rpki-client does not enforce > certificate policies. > > The diff below does that. It has two parts. > > In cert.c we check that the certificate policy extension matches the > specification in RFC

rpki-client: check certificate policies

2022-02-04 Thread Theo Buehler
It was pointed out to Claudio that rpki-client does not enforce certificate policies. The diff below does that. It has two parts. In cert.c we check that the certificate policy extension matches the specification in RFC 6487, section 4.8.9, as amended by RFC 7318 section 2. That's maybe a bit