Hi Tony,
I haven't had time to go through this, but I like the idea of
standardization.
I'd recommend that we simply adopt the convention that first party
caveats must be unique to the project in the first N letters (similar to
how C projects work). It adds a bit of overhead, but is worth allowing
multiple frameworks to develop on top.
I'm still of the belief that it's better to encode structures in the
macaroons proof tree and let the verifier do its thing rather than
shoe-horning a different authorization logic into the caveat language
and effectively turning the verifier into a pass through for that other
language.
Of course, this is just my belief. Taking the "unique caveat prefix"
approach allows both to exist in harmony.
I would also recommend that every framework standardize on caveats of
the form:
expires: %Y-%m-%dT%H:%M:%S
This enables every macaroon to be expired reliably across all
frameworks.
Any thoughts? After the pre-holiday rush I'll give these projects a
proper once-over and give better feedback.
-Robert
> --
> You received this message because you are subscribed to the Google Groups
> "Macaroons" group.
> To unsubscribe from this group and stop receiving emails from it, send an email
> to
macaroons+...@googlegroups.com.
> To post to this group, send email to
maca...@googlegroups.com.
> To view this discussion on the web visit
https://groups.google.com/d/msgid/
> macaroons/
> CAHOTMV%2Bm0P6kg1CPXtaW8u2oL3v%2BLrVfdKxXxMOAu5q2tPeF1w%
40mail.gmail.com.
> For more options, visit
https://groups.google.com/d/optout.