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
{{ message }}
Repository navigation
Error: reason='bad parameter: Other TypeError("argument \'data\': from_buffer() cannot return the address of a unicode object")' #44
Sorry about this. We changed the sign_ps256() function so that the second parameter now takes the key as bytes instead of a file path. So you have to load the bytes first and pass them to it. This made it more flexible for some environments, but we should have at least put in a better error and documented it.
This issue is now more than one year old (and the exposed functions/APIs also have changed in the latest versions).
I'd suggest to try to update to latest SDK if possible (at time of writing v0.27.1). Please let us know if you have additional issues, comments or feedback. Thanks!
Activity
gpeacock commentedon Oct 9, 2024
Sorry about this. We changed the sign_ps256() function so that the second parameter now takes the key as bytes instead of a file path. So you have to load the bytes first and pass them to it. This made it more flexible for some environments, but we should have at least put in a better error and documented it.
tmathern commentedon Oct 23, 2025
This issue is now more than one year old (and the exposed functions/APIs also have changed in the latest versions).
I'd suggest to try to update to latest SDK if possible (at time of writing v0.27.1). Please let us know if you have additional issues, comments or feedback. Thanks!