File tree Expand file tree Collapse file tree 6 files changed +10
-9
lines changed
cryptography-x509-verification Expand file tree Collapse file tree 6 files changed +10
-9
lines changed Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ rust-version.workspace = true
1818once_cell = " 1"
1919cfg-if = " 1"
2020pyo3 = { version = " 0.22.5" , features = [" abi3" ] }
21- asn1 = { version = " 0.17 .0" , default-features = false }
21+ asn1 = { version = " 0.18 .0" , default-features = false }
2222cryptography-cffi = { path = " cryptography-cffi" }
2323cryptography-keepalive = { path = " cryptography-keepalive" }
2424cryptography-key-parsing = { path = " cryptography-key-parsing" }
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ publish.workspace = true
77rust-version.workspace = true
88
99[dependencies ]
10- asn1 = { version = " 0.17 .0" , default-features = false }
10+ asn1 = { version = " 0.18 .0" , default-features = false }
1111cfg-if = " 1"
1212openssl = " 0.10.68"
1313openssl-sys = " 0.9.104"
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ publish.workspace = true
77rust-version.workspace = true
88
99[dependencies ]
10- asn1 = { version = " 0.17 .0" , default-features = false }
10+ asn1 = { version = " 0.18 .0" , default-features = false }
1111cryptography-x509 = { path = " ../cryptography-x509" }
1212cryptography-key-parsing = { path = " ../cryptography-key-parsing" }
1313once_cell = " 1"
Original file line number Diff line number Diff line change @@ -8,4 +8,4 @@ publish = false
88rust-version = " 1.65.0"
99
1010[dependencies ]
11- asn1 = { version = " 0.17 .0" , default-features = false }
11+ asn1 = { version = " 0.18 .0" , default-features = false }
Original file line number Diff line number Diff line change @@ -6056,10 +6056,11 @@ def test_valid(self):
60566056 x509 .ObjectIdentifier ("1.39.999" )
60576057 x509 .ObjectIdentifier ("2.5.29.3" )
60586058 x509 .ObjectIdentifier ("2.999.37.5.22.8" )
6059+ x509 .ObjectIdentifier (f"2.25.{ 2 ** 128 - 1 } " )
60596060
60606061 def test_oid_arc_too_large (self ):
60616062 with pytest .raises (ValueError ):
6062- x509 .ObjectIdentifier (f"2.25.{ 2 ** 128 - 1 } " )
6063+ x509 .ObjectIdentifier (f"2.25.{ 2 ** 128 } " )
60636064
60646065
60656066class TestName :
You can’t perform that action at this time.
0 commit comments