ecf10f7#diff-27d7cedf0391474af4c3d8f14bb489e6717659d58a64c6aae608647e0b2388dbR32
(see
|
caps: MechanismFlag | int = capabilities or DEFAULT_KEY_CAPABILITIES[KeyType.RSA] |
)
the typing addition here actually changed the behavior, previous default capabilities were only used when capabilities is None.
suggest to change this back to
caps: MechanismFlag | int = DEFAULT_KEY_CAPABILITIES[KeyType.RSA] if capabilities is None else capabilities
ecf10f7#diff-27d7cedf0391474af4c3d8f14bb489e6717659d58a64c6aae608647e0b2388dbR32
(see
python-pkcs11/pkcs11/util/rsa.py
Line 32 in ecf10f7
)
the typing addition here actually changed the behavior, previous default capabilities were only used when capabilities is None.
suggest to change this back to