See https://github.com/potatosalad/erlang-jose/issues/156 Reproducible: Always
It looks like this has been fixed in 1.11.8(7?), the maintainer commented on an issue and said 1.11.8 but the Changelog says 1.11.7: https://github.com/potatosalad/erlang-jose/issues/156#issuecomment-2041536683 https://github.com/potatosalad/erlang-jose/blob/main/CHANGELOG.md#1117-2024-04-07 Might be best to bump to >1.11.7 to be safe.