Skip to content

Commit f9695a7

Browse files
committed
Replace 0 with O
1 parent 49dec65 commit f9695a7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

acquire/crypt.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ def key_fingerprint(pkey: PKCS1_OAEP.PKCS1OAEP_Cipher | Any) -> bytes:
155155
if HAS_PYSTANDALONE:
156156
der = pkey.der()
157157
else:
158-
if isinstance(pkey, PKCS1_OAEP.PKCS10AEP_Cipher):
158+
if isinstance(pkey, PKCS1_OAEP.PKCS1OAEP_Cipher):
159159
pkey = pkey._key
160160
der = pkey.export_key("DER")
161161
return hashlib.sha256(der).digest()

0 commit comments

Comments
 (0)