JSON Object Signing and Encryption (JOSE) for Erlang and Elixir
dynamic()
type spec so OTP 24 and OTP 25 are still supported for now.jose:pbes2_count_maximum/0
. By default, the maximum iterations are set to 10,000 and it will raise an error if p2c
is larger than this value.jiffy:encode/1
returns a binary, thanks to @ssepml; see #145.parse_transform
for jose_base64
and jose_base64url
.crypto
operations for Ed25519 and Ed448, thanks to @brettbeatty; see #123.crypto
operations for ChaCha20-Poly1305 and XChaCha20-Poly1305, when available.libsodium
operations for XChaCha20-Poly1305, when available.thoas
JSON encode/decode, thanks to @michaelklishin; see #126.ES256K
which uses the secp256k1
curve and RS1
signatures (see 291dbb8).JOSE.JWK.box_encrypt_ecdh_1pu
and ECDH-ES JOSE.JWK.box_encrypt_ecdh_es
and document the deprecated JOSE.JWK.box_encrypt
.JOSE.JWK.box_encrypt_ecdh_ss
.kty
field when inspecting %JOSE.JWK{}
strict, thanks to @spencerdcarlson; see #139
rebar3
to constantly try to update; see #122.crypto:hmac/4
, thanks to @thalesmg; see #136
-include_lib
with -include
, thanks to @Richiban; see #140
master
branch to main
.crypto
, and public_key
; see #82
Enhancements
C20P
and XC20P
encryption based on draft-amringer-jose-chacha (ChaCha20/Poly1305 and XChaCha20/Poly1305).ECDH-1PU
encryption based on draft-madden-jose-ecdh-1pu.Fixes
Enhancements
public_key
over cutkey
for RSA key generation if available.Fixes
erlang:get_stacktrace/0
has been deprecated.