mirror of
https://github.com/therootcompany/libauth.git
synced 2025-06-30 17:06:36 +00:00
14 lines
302 B
Bash
Executable File
14 lines
302 B
Bash
Executable File
#!/bin/bash
|
|
|
|
keypairs sign \
|
|
--exp 87660h \
|
|
./examples/privkey.ec.jwk.json \
|
|
'{
|
|
"iss": "https://therootcompany.github.io/libauth/",
|
|
"sub": "1",
|
|
"email_verified": false,
|
|
"email": "jo@example.com"
|
|
}' \
|
|
> ./examples/jwt.txt \
|
|
2> ./examples/jws.json
|