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

Is there any plan support EdDSA? #43

Closed
Tougee opened this issue Aug 28, 2020 · 8 comments
Closed

Is there any plan support EdDSA? #43

Tougee opened this issue Aug 28, 2020 · 8 comments

Comments

@Tougee
Copy link

Tougee commented Aug 28, 2020

Hi, thanks for the cool library.

In view of the increasing popularity of EdDSA, Is there any plan support it?

@AKushWarrior
Copy link
Contributor

@Tougee There is no plan of that sort currently, though I can give it a shot at some point.

I know it's secure with a smaller key size than RSA. Do you have evidence of its "increasing popularity"? I'd be looking for standards that have adopted it or other cryptographic libraries (similar to this one - think Crypto++ or BouncyCastle) that have it.

@AKushWarrior
Copy link
Contributor

I just checked - bouncycastle does not support EDDSA, but does support ECDSA. Like most everyone else, I'm very inclined to trust Bernstein on cryptographic matters, but this algorithm is young and hasn't gotten much in the way of standardization. I don't know if this can become a priority.

@Tougee
Copy link
Author

Tougee commented Aug 30, 2020

Thanks for your reply, what you said makes sense.
The reason why I ask is because I have a requirement to use EdDSA to sign JWT. I hope you can give me some suggestions on how to implement EdDSA on my own fork.

@Tougee
Copy link
Author

Tougee commented Aug 30, 2020

I implemented a basic EdDSA based on this library. I know this is very imperfect. If you are free, I hope you can quickly review and give some suggestions to help me improve it, thank you!

https://github.com/Tougee/pc-dart/pull/1/files

@crossle
Copy link

crossle commented Mar 15, 2021

@Tougee There is no plan of that sort currently, though I can give it a shot at some point.

I know it's secure with a smaller key size than RSA. Do you have evidence of its "increasing popularity"? I'd be looking for standards that have adopted it or other cryptographic libraries (similar to this one - think Crypto++ or BouncyCastle) that have it.

Ed25519 now very popular on the blockchain, small signature, more efficient.

@nblum37
Copy link

nblum37 commented Apr 8, 2021

Thanks for the library!

I would also look for EdDSA (ed25519) support.
As far as I see it, it's fast, secure, and the popularity is continuously increasing (https://safecurves.cr.yp.to/index.html). "Bigger" packages like cryptography support ed25519 already as well.

@Tougee
Copy link
Author

Tougee commented Apr 9, 2021

Thanks for the library!

I would also look for EdDSA (ed25519) support.
As far as I see it, it's fast, secure, and the popularity is continuously increasing (https://safecurves.cr.yp.to/index.html). "Bigger" packages like cryptography support ed25519 already as well.

You can try a "Smaller" package https://github.com/tougee/ed25519 which is ported from Golang.

@Ephenodrom
Copy link
Contributor

#187

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

No branches or pull requests

5 participants