Skip to content

Commit

Permalink
isBool(): CKA_ALWAYS_AUTHENTICATE is boolean
Browse files Browse the repository at this point in the history
  • Loading branch information
LudovicRousseau committed May 4, 2020
1 parent 777ff49 commit f7331ba
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion PyKCS11/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -1289,7 +1289,8 @@ def isBool(self, type):
:param type: PKCS#11 type like `CKA_ALWAYS_SENSITIVE`
:rtype: bool
"""
if type in (CKA_ALWAYS_SENSITIVE,
if type in (CKA_ALWAYS_AUTHENTICATE,
CKA_ALWAYS_SENSITIVE,
CKA_DECRYPT,
CKA_DERIVE,
CKA_ENCRYPT,
Expand Down

0 comments on commit f7331ba

Please sign in to comment.