Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: about 1 month 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 (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2022-04-09T21:03:40.000Z (over 2 years ago)
- Last Synced: 2024-06-20T00:39:19.394Z (6 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
[![ISC License](http://img.shields.io/badge/license-ISC-blue.svg)](https://github.com/pedroalbanese/gost-jwt/blob/master/LICENSE.md)
[![GoDoc](https://godoc.org/github.com/pedroalbanese/gost-jwt?status.png)](http://godoc.org/github.com/pedroalbanese/gost-jwt)
[![GitHub downloads](https://img.shields.io/github/downloads/pedroalbanese/gost-jwt/total.svg?logo=github&logoColor=white)](https://github.com/pedroalbanese/gost-jwt/releases)
[![Go Report Card](https://goreportcard.com/badge/github.com/pedroalbanese/gost-jwt)](https://goreportcard.com/report/github.com/pedroalbanese/gost-jwt)
[![GitHub go.mod Go version](https://img.shields.io/github/go-mod/go-version/pedroalbanese/gost-jwt)](https://golang.org)
[![GitHub release (latest by date)](https://img.shields.io/github/v/release/pedroalbanese/gost-jwt)](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