go-macaroon / macaroon

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

ensure vid is always nil #30

Closed rogpeppe closed 6 years ago

rogpeppe commented 6 years ago

Macaroons using V1 binary format with present-but-empty vids in 3rd party caveats were causing some verifiers to fail, so ensure that we always have a nil vid when a vid is empty to avoid that situation.