# JOSE (Erlang and Elixir)

> JSON Object Signing and Encryption for Erlang and Elixir

Source: https://talira.ai/catalog/jose-erlang-and-elixir-5s8409fh
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Library
- Categories: [security / auth / libraries](https://talira.ai/categories/security/auth/libraries), [languages / elixir](https://talira.ai/categories/languages/elixir)
- Licence: MIT[^1]
- Pricing: Free and open source[^1]
- Free tier: yes[^1]
- Supports: [JWT](https://talira.ai/standards/jwt.md)[^2]
- Backed by: [Andrew Bennett](https://talira.ai/orgs/andrew-bennett.md)

jose is a JSON Object Signing and Encryption (JOSE) library for Erlang and Elixir. It signs and verifies JSON Web Signatures, encrypts and decrypts JSON Web Encryption, handles JSON Web Keys and JWTs, and covers the RFC 7515 to 7518 algorithms plus JWK thumbprints and the JWS unencoded payload option. It uses the built-in json module on OTP 27 and later, or jiffy, jsx, Poison, Jason and others before that, and falls back to pure Erlang code for ChaCha20-Poly1305, Curve25519, Curve448 and SHA-3 where native support is missing. The unsecured "none" algorithm is off by default. Andrew Bennett wrote it.

## Links

- GitHub: https://github.com/potatosalad/erlang-jose
- Docs: https://hexdocs.pm/jose

## Problems it solves

- sign and verify JWTs in an Erlang or Elixir app
- encrypt a payload as JWE from Elixir
- verify tokens in Elixir while only allowing specific signing algorithms

## Features

- JWS signing and verification
- JWE encryption and decryption
- JWK keys and thumbprints
- JWT verification with an allowed-algorithm list
- ChaCha20-Poly1305, Curve25519 and Curve448
- the 'none' algorithm disabled by default

## Limitations

- Its pure Erlang curve modules leak timing information and shouldn't be used with long-lived private keys.[^1]

## Trust

Overall: 0.43 out of 1.
Signals: maintenance 0.59, adoption 0.51, momentum 0.16, community 0.64, backing 0.30, extensibility 0.00.

- last commit 34 days ago
- 21 commits in the last 90 days
- latest release 1.11.13 34 days ago
- 340 GitHub stars
- 38 contributors
- backed by Andrew Bennett

## Alternatives

- [Joken](https://talira.ai/catalog/joken-9mkbyp66.md): JSON Web Token (JWT) library for Elixir
- [Guardian](https://talira.ai/catalog/guardian-4k5fder3.md): A token based authentication library for Elixir applications
- [OAuth2 (Elixir)](https://talira.ai/catalog/oauth2-elixir-6p5evwcq.md): An Elixir OAuth 2.0 client library

## Sources

[^1]: https://github.com/potatosalad/erlang-jose/blob/main/README.md (checked 28 Nov 2026)
[^2]: https://github.com/potatosalad/erlang-jose (checked 28 Nov 2026)
