-
Notifications
You must be signed in to change notification settings - Fork 77
Open
Labels
vendorThis is a PKCS#11 vendor bugThis is a PKCS#11 vendor bug
Description
I have 300 kb data, need to be signed by SHA256RSA algorithm. I read the data from a file with 'rb' option and then use this data as input for sign method , then I got following error. Any idea how to fix this bug, what is max length of input sign data, I search some pkcs11 and find that. there is no any limit for input data length
File "/usr/local/lib/python3.7/site-packages/pkcs11/types.py", line 939, in sign
return self._sign(data, **kwargs)
File "pkcs11/_pkcs11.pyx", line 1072, in pkcs11._pkcs11.SignMixin._sign
File "pkcs11/_pkcs11.pyx", line 1077, in pkcs11._pkcs11.SignMixin._sign
File "pkcs11/_errors.pyx", line 88, in pkcs11._pkcs11.assertRV
pkcs11.exceptions.DataLenRange
Metadata
Metadata
Assignees
Labels
vendorThis is a PKCS#11 vendor bugThis is a PKCS#11 vendor bug