You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Both libmacaroons and my Go macaroons package fail gracefully on cycles. libmacaroons makes sure that the number of used macaroons doesn't exceed the provided number of discharges. The Go macaroon package ensures that the use count of every discharge macaroon is exactly one (and fails immediately if the count goes above one).
used more than once. This prevents an infinite recursion on a discharge
that requires itself.
This is a breaking change to the python verifier API, but not to the
macaroon protocol API.
fixes#40
The following code causes a RuntimeError exception to be raised due to infinite recursion:
An attacker could use this as a denial-of-service attack.
The text was updated successfully, but these errors were encountered: