Debian Codegraph @

debian/manpage/jose-util.txt

raw
1 NAME
2 jose-util - A command-line utility for dealing with JOSE objects
3
4 SYNOPSIS
5 jose-util [<flags>] <command> [<args> ...]
6
7 DESCRIPTION
8 go-jose aims to provide an implementation of the Javascript Object
9 Signing and Encryption set of standards. This includes support for JSON
10 Web Encryption, JSON Web Signature, and JSON Web Token standards.
11
12 OPTIONS
13 --help Show context-sensitive help (also try --help-long and --help-man).
14 --key=KEY Path to key file (if applicable, PEM, DER or JWK format)
15 --in=IN Path to input file (if applicable, stdin if missing)
16 --out=OUT Path to output file (if applicable, stdout if missing)
17 --version Show application version.
18 encrypt
19 --alg=ALG --enc=ENC [<flags>]
20 Encrypt a plaintext, output ciphertext
21 --alg=ALG Key management algorithm (e.g. RSA-OAEP)
22 --enc=ENC Content encryption algorithm (e.g. A128GCM)
23 --full Use JSON Serialization format (instead of compact)
24 decrypt
25 Decrypt a ciphertext, output plaintext
26 sign
27 --alg=ALG [<flags>]
28 Sign a payload, output signed message
29 --alg=ALG Key management algorithm (e.g. RSA-OAEP)
30 --full Use JSON Serialization format (instead of compact)
31 verify
32 Verify a signed message, output payload
33 expand [<flags>]
34 Expand JOSE object to JSON Serialization format
35 --format=FORMAT Type of message to expand (JWS or JWE, defaults to JWE)
36 b64decode
37 Decode a base64-encoded payload (auto-selects standard/url-safe)
38 generate-key
39 --use=USE --alg=ALG [<flags>]
40 Generate a public/private key pair in JWK format
41 --use=USE Desired public key usage (use header), one of [enc sig]
42 --alg=ALG Desired key pair algorithm (alg header)
43 --size=SIZE Key size in bits (e.g. 2048 if generating an RSA key)
44 --kid=KID Optional Key ID (kid header, generate random kid if not set)
45
46 REPORTING BUGS
47 To report a bug please visit riscemu issues tracking system at:
48 https://github.com/go-jose/go-jose/issues
49
50 AUTHORS
51 This manual page was written by Bo YU <[email protected]> for the Debian project