Macaroons (computer science)

In computer security, a macaroon is an authorization credential that supports decentralized delegation between principals.

Macaroons are used in a variety of systems, including the Ubuntu Snappy package manager, the HyperDex data store, the Matrix communication protocol, and the Python Package Index.

Claims

A macaroon is composed of series of "caveats", for example:

The macaroon model doesn't specify the language for these caveats; The original paper proposes a model of subjects and rights, but the details are left to individual implementations.

Macaroons are similar to some other technologies.

Compared to JSON Web Token (JWT):

Compared to Certificates

Invalidation

Implementations need to decide whether the entire macaroon tree is invalidated at once from its root, the server secret key; or if intermediate macaroons are to be blacklisted, comparable to time-bound JWT's.

See also