macaroon icon indicating copy to clipboard operation
macaroon copied to clipboard

Adding Macaroon V2 impl

Open jurraca opened this issue 2 years ago • 2 comments

This implements macaroons V2 spec as defined here, and leaning on the Python pymacaroons lib and Golang go-macaroons lib. Wrote this to work on a separate project, but I think it's close to workable.

Curious if prior work was done for V2. If this seems directionally correct, and there's interest in adding it to this lib, I'll clean it up a further and add tests.

Let me know your thoughts. Thanks!

jurraca avatar Jul 18 '23 14:07 jurraca

hey @doawoo I've updated the version handling and added a few tests for binary serializer. lmk if you have any feedback.

jurraca avatar Aug 03 '23 21:08 jurraca

Hey there! I'm taking a look at this PR in chunks now! Sorry for the delay

doawoo avatar Aug 06 '23 21:08 doawoo