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

Add EdDsa algprithm to GetPublicKeyAlgorithm() method #932

Closed
Gymbotan opened this issue Jun 14, 2023 · 1 comment
Closed

Add EdDsa algprithm to GetPublicKeyAlgorithm() method #932

Gymbotan opened this issue Jun 14, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@Gymbotan
Copy link

Hi there! Thank you for the MimeKit!

Problem description
I ran into a small problem. I've got a PGP message from another app. It contains a signature that uses EdDsa algorithm. When I try to verify the signature MimeKit throws an exception in the following method:
https://github.com/jstedfast/MimeKit/blob/master/MimeKit/Cryptography/OpenPgpContext.cs#LL1099C3-L1099C10

Possible solution
At the same time, there is exist PublicKeyAlgorithmTag.EdDsa tag and PublicKeyAlgorithm.EdwardsCurveDsa algorithm. In case they both correspond to generating/verifying an signature and work correctly, could you please add this functionality?

@jstedfast
Copy link
Owner

Ah, good. I guess this means that BouncyCastle must have recently added support for that.

Yes, I will update MimeKit to add support as well.

@jstedfast jstedfast added the enhancement New feature or request label Jun 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants