GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
JOSE-JWK-THP(1)   JOSE-JWK-THP(1)

jose-jwk-thp - Calculates the JWK thumbprint

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

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

-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

-a ALG, --algorithm=ALG : Use the specified hash algorithm (case sensitive)

-a ?, --algorithm=? : List available hash algorithms

-o FILE, --output=FILE : Write thumbprint(s) to FILE

-o -, --output=- : Write thumbprint(s) to standard input

-f THP, --find=THP : Search input keys for JWK with the given thumbprint

Calculate the S1 thumbprint of a newly generated key:

$ jose jwk gen -i '{"alg":"ES256"}' -a S1 | jose jwk thp -i-
BzmSH6W8a8LlbQ1mD0iBJdYj4x4

Calculate the S256 thumbprints of a JWKSet containing two keys:

$ jose jwk thp -i keys.jwkset -a S256
6HJwXEuRh8gAkTz4BodEvcEj_KXkgjc-7Qez3d4VNMs
jo_j_O5gqYpKcZKHPp3miTszAeV60MXHvdb_kkjjTWE

Find the input key with the given thumbprint:

$ jose jwk thp -i keys.jwkset -f HYRNOxxOOHap0amTONoy1bHnS5M -o key.jwk

Nathaniel McCallum <npmccallum@redhat.com>

jose-alg(1), jose-jwk-gen(1),
04/07/2022  

Search for    or go to Top of page |  Section 1 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.