Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Document changed signature for sign_ps256 #90

Open
crandmck opened this issue Feb 20, 2025 · 0 comments
Open

Document changed signature for sign_ps256 #90

crandmck opened this issue Feb 20, 2025 · 0 comments
Assignees
Labels
documentation Improvements or additions to documentation

Comments

@crandmck
Copy link
Collaborator

From sdk 0.4 to 0.6, there was a change to c2pa.sign_ps256 which causes this error if not addressed:

"bad parameter: Other TypeError('ECPrivateKey.sign() takes 2 positional arguments but 3 were given')"

Parameters to that function changed. It used to take a file path and now it expects the PEM cert string. Since they are both strings, it's confusing. It's more flexible not depending on file I/O.

From Discord.

@crandmck crandmck self-assigned this Feb 20, 2025
@crandmck crandmck added the documentation Improvements or additions to documentation label Feb 20, 2025
@crandmck crandmck transferred this issue from contentauth/c2pa-rs Feb 21, 2025
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

1 participant