go-macaroon / macaroon

A native Go implementation of macaroons
BSD 3-Clause "New" or "Revised" License
182 stars 24 forks source link

fix tests to work with base64 encoding without pad characters #8

Closed rogpeppe closed 8 years ago

rogpeppe commented 8 years ago

It seems that we didn't fix them when we fixed the decoding to allow encoding in the libmacaroons style.

Also simplify the implementation slightly, allow both standard and URL encoding in caveat ids, and use actual data from libmacaroons now that our signature calculations are the same.

mhilton commented 8 years ago

:+1:

mattyw commented 8 years ago

:+1: