Repository navigation
Commit f2b7a6c
committed
test: window test asserts measured libressl -attime behavior
LibreSSL honors -attime for notBefore but does not enforce notAfter:
it accepts an expired certificate at -attime (measured on 3.2.7, same
signature in CI on 3.0.2/3.1.5), while OpenSSL refuses it. The previous
behavioral gate still entered on libressl because notBefore refusal
made the future-certificate probe fail, then the expiry assertion
failed. Now the portable core asserts -attime honoring in both
directions unconditionally (valid inside its future window, refused at
the current time — both libraries agree), and expiry enforcement is
asserted per library family.
Local gates: 27 CA tests green against openssl 3.5.5, openssl 3.5.9
(CI FIPS job binary) and libressl 3.2.7; full suite 169 passing;
FIPS mode 165 passing1 parent 0f7a8cd commit f2b7a6c
1 file changed
Lines changed: 16 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
681 | 681 | | |
682 | 682 | | |
683 | 683 | | |
684 | | - | |
685 | | - | |
686 | | - | |
687 | | - | |
688 | | - | |
689 | | - | |
690 | | - | |
| 684 | + | |
| 685 | + | |
| 686 | + | |
| 687 | + | |
| 688 | + | |
| 689 | + | |
| 690 | + | |
| 691 | + | |
| 692 | + | |
| 693 | + | |
| 694 | + | |
| 695 | + | |
| 696 | + | |
| 697 | + | |
691 | 698 | | |
| 699 | + | |
| 700 | + | |
692 | 701 | | |
693 | 702 | | |
694 | 703 | | |
| |||
0 commit comments