Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
JOSE-JWK-EQL(1) 						 JOSE-JWK-EQL(1)

NAME
     jose-jwk-eql - Checks if two keys are equal

SYNOPSIS
     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

AUTHOR
     Nathaniel McCallum <npmccallum@redhat.com>

SEE ALSO
     jose-jwk-thp(1)

				   07/30/2026			 JOSE-JWK-EQL(1)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=jose-jwk-eql&sektion=1&manpath=FreeBSD+Ports+15.1.quarterly>

home | help