libmacaroons
libmacaroons copied to clipboard
Macaroons are flexible authorization credentials that support decentralized delegation, attenuation, and verification.
Hi all, I am trying to install libmacaroons in my local machine (Mac OS Catalina), but I am having issues, due to an error telling me that pkg-config is not...
## what is this? This branch adds a `README.md` file that is a markdown formatted version of the existing `README` file. ## why The benefit of using markdown is that...
In `macaroon_add_third_party_caveat_raw(...)`, I'm wondering if the buffer for `enc_cyphertext` should be the same size as that for `enc_plaintext`? https://github.com/rescrv/libmacaroons/blob/fb878b975bbf42d77be883a5327644594578d59e/macaroons.c#L342-L352 The call to `macaroon_secretbox(...)` appears to be attempting to store data...
The most common way to install Python packages is via `pip`, a package manager. The README explains how to compile Python bindings, but it would be helpful if it explained...
`bin2hex` in libsodium appends a null-character to the output array, meaning the hex array must be `2 * (sizeof bin array) + 1` characters long. Within libmacaroons, that appears to...
Hi, Are there any plans for a v0.4.0? I have an application that I'm working on which will start to depend on libmacaroons. I've noticed a few API breaks between...
Given that the version 1 JSON format is used in production in various places, it would be useful to support that as well as version 2.
As far as I can tell, the following script should print: checked conditions: ['splendid', 'wonderful', 'top of the world'] but it actually prints: checked conditions: ['top of the world', 'wonderful']...
It seems that the vid field in third party caveats is not correctly encoded, which leads to an exception when trying to serialize macaroons in JSON format. >>> m =...
When we pass an unknown format to macaroon.serialize, it produces this error: >>> m.serialize(format='json1') Exception KeyError: ('json1',) in 'macaroons.Macaroon.version' ignored Traceback (most recent call last): File "", line 1, in...