jwe-tool

command module
v1.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 20, 2025 License: MIT Imports: 7 Imported by: 0

README

jwe-tool

Private Key

The private key must have no password. If you need to remove the password protection just export a new key from the current one specifying empty password when asked:

openssl rsa -in private_protected.key -out private.pem

Decrypt

From file to stdout
jwe-tool -command decrypt -key private.key -in data.enc
From command line input to stdout
jwe-tool -command decrypt -key private.key -token <token>

Encrypt

Verify

Sign

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳