File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
google/cloud/alloydb/connector Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -96,7 +96,7 @@ def __init__(
96
96
ca_cert , cert_chain = certs
97
97
# get expiration from client certificate
98
98
cert_obj = x509 .load_pem_x509_certificate (cert_chain [0 ].encode ("UTF-8" ))
99
- self .expiration = cert_obj .not_valid_after . replace ( tzinfo = timezone . utc )
99
+ self .expiration = cert_obj .not_valid_after_utc
100
100
101
101
# tmpdir and its contents are automatically deleted after the CA cert
102
102
# and cert chain are loaded into the SSLcontext. The values
Original file line number Diff line number Diff line change 22
22
release_status = "Development Status :: 4 - Beta"
23
23
dependencies = [
24
24
"aiohttp" ,
25
- "cryptography>=38 .0.3 " ,
25
+ "cryptography>=42 .0.0 " ,
26
26
"requests" ,
27
27
"google-auth" ,
28
28
"protobuf" ,
You can’t perform that action at this time.
0 commit comments