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

Enable public key type guessing in encryption #1

Open
wants to merge 1 commit into
base: asymmetric_decyption_feature
Choose a base branch
from

Conversation

gdethier
Copy link

This is a follow-up on this comment.

In this PR, I try to guess the public key from its bytes but the heuristic I am using does not always work as expected (see test "allows encrypt/decrypt with sr25519 keypair and type guessing with convertible public key" below which will always fail because the sr25519 public key can actually be converted and will be considered as an ed25519 one).

In the sense that ed25519 and sr25519 are using the same curve, this is not completely unexpected but it is annoying nonetheless...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant