Skip to content

Commit

Permalink
Coerce TPM value to string
Browse files Browse the repository at this point in the history
  • Loading branch information
MasterKale committed Feb 17, 2023
1 parent 6f76f72 commit e4573a6
Showing 1 changed file with 1 addition and 1 deletion.
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 e4573a6

Please sign in to comment.