Skip to content

Conversation

@SergioBenitez
Copy link
Contributor

According to RFC #5280 4.1.2.5, "the validity period for a certificate is the period of time from notBefore through notAfter, inclusive." At present, is_valid_at treats notAfter as exclusive. This commit fixes the issue by treating notAfter as inclusive.

According to RFC #5280 4.1.2.5, "the validity period for a certificate
is the period of time from notBefore through notAfter, inclusive." At
present, `is_valid_at` treats `notAfter` as exclusive. This commit fixes
the issue by treating `notAfter` as inclusive.
@chifflier chifflier merged commit 2b7b85d into rusticata:master Jul 27, 2021
@chifflier
Copy link
Member

Applied, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants