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

Feature Request: public and private key generator #4545

Open
nptri opened this issue Mar 22, 2024 · 0 comments
Open

Feature Request: public and private key generator #4545

nptri opened this issue Mar 22, 2024 · 0 comments

Comments

@nptri
Copy link

nptri commented Mar 22, 2024

Hi Gatling team,
In modern website log-in APIs this type of data is a must-have, so I come up with this ticket.
Take a look at an example JWK:

jwk = [
    kty: "OKP",
    crv: "Ed25519",
    x: publicKeyBase64,
    d: privateKeyBase64,
    alg: "EdDSA",
    use: "sig"
]

x and d are required to be passed into log-in request, and it is a base64 encoded key, so a little function add-in may help us save lots of time instead of writing a new session function for base64 encode.
Some suggesting algorithms and curve:

Algorithms: EdDSA, RSA, DSA...
Curve: X25519, ECC...

Thanks for reading.

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

No branches or pull requests

1 participant