jose-jwk-eql(1)

jose-jwk-eql1

Checks if two keys are equal

Usage

jose jwk eql -i JWK -i JWK

Overview

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

Options

• -i JSON, --input=JSON : Parse JWK(Set) from JSON

• -i FILE, --input=FILE : Read JWK(Set) from FILE

• -i -, --input=- : Read JWK(Set) standard input

Examples

Generate a key and modify optional metadata then test equality:

$ jose jwk gen -i '{"alg":"ES256"}' -o key.jwk
$ jose fmt -j key.jwk -Od alg -o mod.jwk
$ jose jwk eql -i key.jwk -i mod.jwk
$ echo $?
0

Releases

3 releases since Debian 12 (Bookworm); the text changed 2 times.

  1. 12
  2. 13
  3. Arch

Author

Nathaniel McCallum <[email protected]>

From jose 15-2 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.