https://github.com/pedroalbanese/gost-jwt
GOST-based JSON Web Tokens CLI
https://github.com/pedroalbanese/gost-jwt
gost3411-2012 jwt-authentication jwt-token streebog streebog-512
Last synced: 3 months ago
JSON representation
GOST-based JSON Web Tokens CLI
- Host: GitHub
- URL: https://github.com/pedroalbanese/gost-jwt
- Owner: pedroalbanese
- License: isc
- Created: 2022-03-19T16:04:17.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2022-04-09T21:03:40.000Z (about 3 years ago)
- Last Synced: 2025-01-04T21:18:57.022Z (5 months ago)
- Topics: gost3411-2012, jwt-authentication, jwt-token, streebog, streebog-512
- Language: Go
- Homepage:
- Size: 38.1 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# gost-jwt
[](https://github.com/pedroalbanese/gost-jwt/blob/master/LICENSE.md)
[](http://godoc.org/github.com/pedroalbanese/gost-jwt)
[](https://github.com/pedroalbanese/gost-jwt/releases)
[](https://goreportcard.com/report/github.com/pedroalbanese/gost-jwt)
[](https://golang.org)
[](https://github.com/pedroalbanese/gost-jwt/releases)JSON Web Tokens are an open, industry standard method (RFC 7519) for representing claims securely between two parties. This version only works with HMAC-Streebog (RFC 6986) signatures. ECDH_ES variant, consists in the direct use of a shared symmetric key as the Content Encryption Key (CEK) for the block encryption step (recommended).
## Usage of gost-jwt:
One of the following flags is required: sign, verify
-alg string
signing algorithm identifier (default "HG256")
-claim value
add additional claims. may be used more than once (default {})
-compact
output compact JSON
-debug
print out all kinds of debug data
-header value
add additional header params. may be used more than once (default {})
-key string
path to key file or '-' to read from stdin
-show
Show header
-sign string
path to claims object to sign, '-' to read from stdin, or '+' to use only -claim args
-verify string
path to JWT token to verify or '-' to read from stdin
## LicenseThis project is licensed under the ISC License.
#### Copyright (c) 2020-2022 Pedro F. Albanese - ALBANESE Research Lab