We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1b51374 commit 5bedf85Copy full SHA for 5bedf85
src/snowflake/connector/crl.py
@@ -459,9 +459,7 @@ def _is_short_lived_certificate(cert: x509.Certificate) -> bool:
459
march_15_2026 = datetime(2026, 3, 15, tzinfo=timezone.utc)
460
if issue_date >= march_15_2026:
461
return validity_period.total_seconds() <= 604800 # 7 days in seconds
462
- if issue_date >= march_15_2024:
463
- return validity_period.total_seconds() <= 864000 # 10 days in seconds
464
- return False
+ return validity_period.total_seconds() <= 864000 # 10 days in seconds
465
466
@staticmethod
467
def _extract_crl_distribution_points(cert: x509.Certificate) -> list[str]:
0 commit comments