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

Expose PEM/DER decoder functions in KeyPair #204

Merged
merged 2 commits into from
Feb 6, 2024

Conversation

baranyildirim
Copy link
Contributor

To make it easier to loader KeyPairs, expose PEM and DER loaders from the ed25519_dalek crate.
PEM and DER are common formats for a key pair, so this should make loading a KeyPair easier.

@divarvel
Copy link
Collaborator

divarvel commented Feb 3, 2024

Thanks! idk how @Geal feels about it, but I think it should be feature-gated. Apart from that, LGTM

@baranyildirim
Copy link
Contributor Author

Thanks! idk how @Geal feels about it, but I think it should be feature-gated. Apart from that, LGTM

Added a feature gate called "pem" to match the feature gate in the underlying crate.

@Geal
Copy link
Contributor

Geal commented Feb 5, 2024

good idea, thanks

@Geal Geal merged commit df039b3 into biscuit-auth:main Feb 6, 2024
2 checks passed
@baranyildirim baranyildirim mentioned this pull request Feb 10, 2024
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.

3 participants