[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: OCSP response pre-production




Florian,


I have no problem with the new flow chart you propose below.

Making the nonce extension critical or not in the request, as you propose in another e-mail, is a good proposal since it does not involve an ASN.1 module change (if can avoid a new error code), but only "clarifications" in the text.

It has the additional advantage of satisfying the "downgrade to cache-only iff that is all that is available", as requested by James.

Denis


I think a client should definitely and in every case reject a response
with a mismatching nonce. This is covered in RfC2560 in its current
form: mismatching nonce => reject.

So allow me to rephrase again based on your proposal:

A) always includes a nonce into his request;
B) checks the nonce in the response:

     - if it matches with the nonce from the request, then accept
       the response (pending other checks),

     - if it does not match with the nonce from the request, then
       reject the response

- if nonce is not present, then are a local trusted time available and a policy for cache responses both available ?
- if both a local trusted time is available and there exists
a policy for cache responses, then compare the time
difference between that local trusted clock and the
producedAt field from ResponseData. If that time difference
is below the limit stated by that policy, then accept the
response (pending other checks).


- if not, then reject the response.


[Additionally we add some checks:


i) if nextUpdate is present and is lower than the current date from our
trusted clock before sending the request, we detected a clock problem in
our "trusted" clocks.

ii) if thisUpdate is too old for our limit stated in the policy we
reject the answer, too.

iii) additionally some sanity checks: thisUpdate<=producedAt<=nextUpdate

I have to double check, but I think thats all we do.]