jose-jwk-thp - Man Page

Calculates the JWK thumbprint

Synopsis

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

Overview

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

Options

Examples

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

Author

Nathaniel McCallum <npmccallum@redhat.com>

See Also

jose-alg(1), jose-jwk-gen(1),

Referenced By

jose(1), jose-jwk-eql(1), jose-jwk-gen(1), jose-jwk-pub(1).

10/22/2024