mirror of
https://github.com/mozilla-services/syncstorage-rs.git
synced 2026-05-05 20:26:26 +02:00
12 lines
288 B
Bash
Executable File
12 lines
288 B
Bash
Executable File
#!/bin/sh
|
|
|
|
# Generate a private RSA key
|
|
openssl genrsa -out load_test.pem 2048
|
|
|
|
# Derive the public key from the private key
|
|
openssl rsa -in load_test.pem -pubout > load_test.pub
|
|
|
|
# Derive and print the JWK from the public key
|
|
python3 get_jwk.py load_test.pub > jwk.json
|
|
rm load_test.pub
|