Should be Storing keys requires a read/write session. instead because:
When a session is opened as read only I get the following exception when generating a key with store=True:
File "pkcs11/_pkcs11.pyx", line 488, in pkcs11._pkcs11.Session.generate_key
File "pkcs11/_errors.pyx", line 88, in pkcs11._pkcs11.assertRV
pkcs11.exceptions.SessionReadOnly
And when a session is opened as read/write, everything is fine.
https://github.com/danni/python-pkcs11/blob/e35e6c45e3dcaaa1511262121ff4ab6769de941e/docs/applied.rst?plain=1#LL367C32-L367C42
Should be
Storing keys requires a read/write session.
instead because:read only
I get the following exception when generating a key withstore=True
:And when a session is opened as
read/write
, everything is fine.