go-macaroon-bakery/macaroon-bakery — pull request #9 by rogpeppe (2014-12-09 10:08:17+00:00)
Title: bakery: more intelligent prefix handling for PublicKeyRing

The previous string-prefix-based handling was seriously flawed.