]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: jws: emit the JWK thumbprint
authorWilliam Lallemand <wlallemand@haproxy.com>
Tue, 25 Mar 2025 14:21:50 +0000 (15:21 +0100)
committerWilliam Lallemand <wlallemand@haproxy.com>
Tue, 1 Apr 2025 09:57:55 +0000 (11:57 +0200)
commitf8fe84caca83129e012fa7740aebc3eb99d697b3
treee5aba744c33cf990e5878443c568fbe1a1c0d7d1
parented1d4807da0bbea2e6b426d35347af45f4e7cd54
MINOR: jws: emit the JWK thumbprint

jwk_thumbprint() is a function which is a function which implements
RFC7368 and emits a JWK thumbprint using a EVP_PKEY.

EVP_PKEY_EC_to_pub_jwk() and EVP_PKEY_RSA_to_pub_jwk() were changed in
order to match what is required to emit a thumbprint (ie, no spaces or
lines and the lexicographic order of the fields)
include/haproxy/jws.h
src/jws.c