Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Python: Construct CredentialRPK from parts #270

Merged

Conversation

chrysn
Copy link
Collaborator

@chrysn chrysn commented May 15, 2024

Closes: #269

By using PyO3's enum AutoCredentialRpk, this is not a breaking change in the Python API.

@geonnave
Copy link
Collaborator

Thanks, just went through it. Looks like it allow constructing from either just value or public key and kid? (or maybe value and public key and kid?)

I see that the API doesn't change, but maybe there could be a new test showing the new supported behavior?

@chrysn
Copy link
Collaborator Author

chrysn commented May 16, 2024

Allowed construction variants now clarified in documentation.

Tests now show the construction, demonstrate equivalence and test creating a responder from both forms.

@geonnave
Copy link
Collaborator

Looks good, thanks.

@geonnave geonnave merged commit 9abbef4 into openwsn-berkeley:main May 16, 2024
21 checks passed
@chrysn chrysn deleted the python-credential branch May 16, 2024 22:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Python: Construct CredentialRPK from parts
2 participants