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

NAME

6       jose-jwk-eql - Checks if two keys are equal
7

SYNOPSIS

9       jose jwk eql -i JWK -i JWK
10

OVERVIEW

12       The jose jwk eql command determines whether two keys are equal. It
13       compares the same properties defined for use in a JWK thumbprint (RFC
14       7638). This means that optional metadata isn’t considered for
15       comparison.
16

OPTIONS

18-i JSON, --input=JSON : Parse JWK(Set) from JSON
19
20-i FILE, --input=FILE : Read JWK(Set) from FILE
21
22-i -, --input=- : Read JWK(Set) standard input
23

EXAMPLES

25       Generate a key and modify optional metadata then test equality:
26
27           $ jose jwk gen -i '{"alg":"ES256"}' -o key.jwk
28           $ jose fmt -j key.jwk -Od alg -o mod.jwk
29           $ jose jwk eql -i key.jwk -i mod.jwk
30           $ echo $?
31           0
32

AUTHOR

34       Nathaniel McCallum <npmccallum@redhat.com>
35

SEE ALSO

37       jose-jwk-thp(1)
38
39
40
41                                  07/20/2023                   JOSE-JWK-EQL(1)
Impressum