Skip to content

Commit

Permalink
Merge pull request #148 from duo-labs/deps/update-cryptography
Browse files Browse the repository at this point in the history
feps/update-cryptography
  • Loading branch information
MasterKale authored Feb 17, 2023
2 parents c6fec4f + e4573a6 commit c49712e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ black==21.9b0
cbor2==5.4.2.post1
cffi==1.15.0
click==8.0.3
cryptography==36.0.1
cryptography==39.0.1
mccabe==0.6.1
mypy==0.910
mypy-extensions==0.4.3
Expand All @@ -13,7 +13,7 @@ pycodestyle==2.8.0
pycparser==2.20
pydantic==1.9.0
pyflakes==2.4.0
pyOpenSSL==22.0.0
pyOpenSSL==23.0.0
regex==2021.10.8
six==1.16.0
toml==0.10.2
Expand Down
1 change: 1 addition & 0 deletions tests/test_validate_certificate_chain.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ def test_throws_on_bad_root_cert(self, mock_verify_certificate: MagicMock) -> No
)
mock_verify_certificate.side_effect = X509StoreContextError(
"bad root cert",
[],
root_cert_x509,
)

Expand Down
2 changes: 1 addition & 1 deletion webauthn/registration/formats/tpm.py
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ def verify_tpm(
for obj in tcg_at_tpm_values:
oid = obj.oid.dotted_string
if oid == "2.23.133.2.1":
tcg_at_tpm_manufacturer = obj.value
tcg_at_tpm_manufacturer = str(obj.value)
elif oid == "2.23.133.2.2":
tcg_at_tpm_model = obj.value
elif oid == "2.23.133.2.3":
Expand Down

0 comments on commit c49712e

Please sign in to comment.