You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
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
The text was updated successfully, but these errors were encountered: