Scroll to navigation

jose-util(1) jose-util jose-util(1)

NAME

jose-util - A command-line utility for dealing with JOSE objects

SYNOPSIS


jose-util [<flags>] <command> [<args> ...]

DESCRIPTION

go-jose aims to provide an implementation of the Javascript Object Signing and Encryption set of standards. This includes support for JSON Web Encryption, JSON Web Signature, and JSON Web Token standards.

OPTIONS

Show context-sensitive help (also try --help-long and --help-man).
Path to key file (if applicable, PEM, DER or JWK format)
Path to input file (if applicable, stdin if missing)
Path to output file (if applicable, stdout if missing)
Show application version.
--alg=ALG --enc=ENC [<flags>] Encrypt a plaintext, output ciphertext
Key management algorithm (e.g. RSA-OAEP)
Content encryption algorithm (e.g. A128GCM)
Use JSON Serialization format (instead of compact)
Decrypt a ciphertext, output plaintext
--alg=ALG [<flags>] Sign a payload, output signed message
Key management algorithm (e.g. RSA-OAEP)
Use JSON Serialization format (instead of compact)
Verify a signed message, output payload
[<flags>] Expand JOSE object to JSON Serialization format
Type of message to expand (JWS or JWE, defaults to JWE)
Decode a base64-encoded payload (auto-selects standard/url-safe) generate-key --use=USE --alg=ALG [<flags>] Generate a public/private key pair in JWK format
Desired public key usage (use header), one of [enc sig]
Desired key pair algorithm (alg header)
Key size in bits (e.g. 2048 if generating an RSA key)
Optional Key ID (kid header, generate random kid if not set)

REPORTING BUGS

To report a bug please visit riscemu issues tracking system at: https://github.com/go-jose/go-jose/issues

AUTHORS

This manual page was written by Bo YU <tsu.yubo@gmail.com> for the Debian project

22 March 2024 4.0.1