| Crates.io | resign-jwt |
| lib.rs | resign-jwt |
| version | 0.1.0 |
| created_at | 2019-07-03 13:51:45.835788+00 |
| updated_at | 2019-07-03 13:51:45.835788+00 |
| description | Allows you to quickly and safely resign a jwt |
| homepage | |
| repository | https://github.com/Gisleburt/resign-jwt |
| max_upload_size | |
| id | 145633 |
| size | 6,839 |
A tool for re-signing jwts. For example, you may have a development environment that needs a JWT, but does not have the ability to create them. This tool allows you to re-sign a jwt from another environment with the secret for your development environment.
cargo install -f resign-jwt
You can see usage at any time with --help
resign-jwt --help
Typically you'll want to provide three things
--jwt (-j) (note: you only need to provide the first two parts if you have security concerns)--algorithm (-a) to use (currently only HSxxx algorithms below, see issues)--key (-k) to use for signingresign-jwt \
--jwt eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJlbWFpbCI6ImhlbGxvQGV4YW1wbGUuY29tIn0= \
--algorithm HS256 \
--key some-key