Edwards-curve Digital Signature Algorithm, or EdDSA for short, is an elliptic curves DSA scheme using an adaptation of Schnorr signature based on twisted Edwards Curves, in public-key cryptography.
Questions tagged [eddsa]
14 questions
7
votes
1 answer
How to verify jwt token in spring boot?
I want to implement JWT verification in my spring boot application. The algorithm we used for signing token is Ed25519\EDDSA .
I don't find right dependency/library to implement Jwt verifier using ED25519 algorithm.
Can someone suggest maven…

Gokul Kulanthaivel
- 81
- 1
- 4
7
votes
2 answers
How derive ed25519 (eddsa) public key from private key using Java
I am looking into https://github.com/str4d/ed25519-java library as well as some other libraries like BouncyCastle, but I am so far unsuccessful in generating a public key out from a private key. I am not interested in generating a key pair because I…

troy_achilies
- 592
- 1
- 7
- 15
3
votes
0 answers
Receiving "TypeError: sign() missing 1 required positional argument: 'algorithm'" with python PyJWT
So I used the command:
ssh-keygen -m PKCS8 -t dsa to generate the following (example) key:
-----BEGIN PRIVATE…

waltcobb
- 31
- 1
2
votes
1 answer
Crypto.sign() function to sign a message with given private key
I need to sign a message with crypto.sign() function in NodeJS to get a valid JWT.
I have a private key (base 64) like this:
Dm2xriMD6riJagld4WCA6zWqtuWh40UzT/ZKO0pZgtHATOt0pGw90jG8BQHCE3EOjiCkFR2/gaW6JWi+3nZp8A==
And I tried to get a…

Matias Wajnman
- 25
- 5
2
votes
1 answer
Decrypt RC8032 PGP with Bouncy Castle .NET
I am trying to decrypt a given PGP message with Bouncy Castle .NET.
I have a string for the message, a stream for the private key, and a string for the passphrase.
Looking online, it looks like the first thing to do with the key is the…

ofrir
- 21
- 4
2
votes
2 answers
How to regenerate private key using EdDSA/Ed448 signature algorithm?
Here is how I generated the key pair:
var keyPairGenerator = KeyPairGenerator.getInstance("Ed448");
keyPairGenerator.initialize(448, SecureRandom.getInstanceStrong());
var keyPair = keyPairGenerator.generateKeyPair();
var privateKey =…

Eng.Fouad
- 115,165
- 71
- 313
- 417
1
vote
1 answer
How to decode and verify EdDSA JWT in Spring Security
I'm trying to decode and verify an EdDSA JWT using Spring Security in the role of a Resource Server. Spring doesn't seem to want to support EdDSA, so I started writing my own JwtDecoder that looks like this
class CustomJwtDecoder : JwtDecoder {
…

D-Wire
- 91
- 5
0
votes
0 answers
Signing a file using JWT with ed25519 encryption key
I'm looking for a library that supports json object signing with jwt and ed25519 encryption key. I've looked around and couldn't find anything nodejs library that would support EdDSA type encryption.
The jwt website mentions jose as the only one…

Simon Nazarenko
- 107
- 2
- 11
0
votes
0 answers
How to verify a JWS token signed using EdDSA in a Kong Plugin?
I am trying to verify a JWS token in a Kong plugin. The kong plugin has to be written in Lua. The algorithm used to sign the token is EdDSA. I couldn't find any library support for EdDSA in Lua.
I have tried using lua-resty-jwt. I have also tried…

aaijmrt
- 51
- 5
0
votes
1 answer
Adding support for ED25519 to Apache MINA sshd. How to achieve this?
According to the Apache MINA sshd official documentation, support for ED25519 must be added by including net.i2p.crypto:eddsa to the classpath.
In my Gradle project, I've done so by writing:
dependencies {
***
// Apache MINA sshd
…

ismarlowe
- 119
- 2
- 13
0
votes
1 answer
Sign a message with EdDSA algorithm in Javascript to get JWT
I need to get JWT with EdDSA algorithm to be able to use an API. I have the private key to sign the message and I could do that with PHP with the next library: https://github.com/firebase/php-jwt (you can see the example with EdDSA at README). Now…

Matias Wajnman
- 25
- 5
0
votes
1 answer
Bouncy castle - how to rebuild Public key from EdDSA
I have Edward curve key parameters - x, d and curve. How can I rebuild PublicKey/Private keys using bouncy castle?
0
votes
0 answers
Creating a JWT using EdDSA/Ed25519 algorithm in C++
I want to create a JWT usnig EdDSA algorithm.
The key pair is generated by a different module. I need to read the private key from file and sign the JWT using it.
The claim will contain a custom entry along with iat and jti.
I am able to write it in…
0
votes
1 answer
How to decide publicKey is raw bits or encoded and is private key is always pkcs8 encoded?
Recently I'm reading code of bouncycastle(java), I noticed that when using EdDSA, we are using org.bouncycastle.asn1.x509.SubjectPublicKeyInfo#getPublicKeyData to get publicKey in…

Nick Allen
- 1,647
- 14
- 20