1JOSE-JWK-THP(1)                                                JOSE-JWK-THP(1)
2
3
4

NAME

6       jose-jwk-thp - Calculates the JWK thumbprint
7

SYNOPSIS

9       jose jwk thp -i JWK [-H ALG] [-o THP]
10

OVERVIEW

12       The jose jwk thp command calculates the thumbprint of one or more JWKs.
13

OPTIONS

15-i JSON, --input=JSON : Parse JWK(Set) from JSON
16
17-i FILE, --input=FILE : Read JWK(Set) from FILE
18
19-i -, --input=- : Read JWK(Set) standard input
20
21-a ALG, --algorithm=ALG : Use the specified hash algorithm (case
22           sensitive)
23
24-a ?, --algorithm=? : List available hash algorithms
25
26-o FILE, --output=FILE : Write thumbprint(s) to FILE
27
28-o -, --output=- : Write thumbprint(s) to standard input
29
30-f THP, --find=THP : Search input keys for JWK with the given
31           thumbprint
32

EXAMPLES

34       Calculate the S1 thumbprint of a newly generated key:
35
36           $ jose jwk gen -i '{"alg":"ES256"}' -a S1 | jose jwk thp -i-
37           BzmSH6W8a8LlbQ1mD0iBJdYj4x4
38
39       Calculate the S256 thumbprints of a JWKSet containing two keys:
40
41           $ jose jwk thp -i keys.jwkset -a S256
42           6HJwXEuRh8gAkTz4BodEvcEj_KXkgjc-7Qez3d4VNMs
43           jo_j_O5gqYpKcZKHPp3miTszAeV60MXHvdb_kkjjTWE
44
45       Find the input key with the given thumbprint:
46
47           $ jose jwk thp -i keys.jwkset -f HYRNOxxOOHap0amTONoy1bHnS5M -o key.jwk
48

AUTHOR

50       Nathaniel McCallum <npmccallum@redhat.com>
51

SEE ALSO

53       jose-alg(1), jose-jwk-gen(1),
54
55
56
57                                  07/21/2022                   JOSE-JWK-THP(1)
Impressum