Commit graph

5 commits

Author SHA1 Message Date
Vincent Ambo
a226639afa chore(alcoholic_jwt): update copyright header
The original copyright was released back in the day when Aprila and I
parted ways, and I'm happy with just assigning it to TVL.

Change-Id: I8fcba55bfa7f460b29e60f29e8fd24ffca2cd75b
Reviewed-on: https://cl.tvl.fyi/c/depot/+/5623
Autosubmit: tazjin <tazjin@tvl.su>
Tested-by: BuildkiteCI
Reviewed-by: grfn <grfn@gws.fyi>
2022-05-16 18:46:28 +00:00
Griffin Smith
d377830281 feat(net/alcoholic_jwt): Implement Error for ValidationError
This allows using it unchanged in contexts where working with &dyn Error
is desirable, such as when using anyhow.

Change-Id: Ide34025e432204546b2c80b14b870af42dbfbb44
Reviewed-on: https://cl.tvl.fyi/c/depot/+/5615
Tested-by: BuildkiteCI
Reviewed-by: tazjin <tazjin@tvl.su>
Autosubmit: grfn <grfn@gws.fyi>
2022-05-16 15:37:11 +00:00
Vincent Ambo
3d8ee62087 style(rust): Format all Rust code with rustfmt
Change-Id: Iab7e00cc26a4f9727d3ab98691ef379921a33052
Reviewed-on: https://cl.tvl.fyi/c/depot/+/5240
Tested-by: BuildkiteCI
Reviewed-by: kanepyork <rikingcoding@gmail.com>
Reviewed-by: Profpatsch <mail@profpatsch.de>
Reviewed-by: grfn <grfn@gws.fyi>
Reviewed-by: tazjin <tazjin@tvl.su>
2022-02-08 12:06:39 +00:00
Caranatar
618e5540c2 fix(alcoholic_jwt): Support multiple values in jwt audience claim
Per https://tools.ietf.org/html/rfc7519#section-4.1.3, the audience
claim can consist of either a single string or an array of strings.
The latter currently causes an error due to the type of aud in
PartialClaims.

Message-Id: <87r1toex8n.fsf@riseup.net>
Change-Id: I6e00791d0ba56cb1e3c029e1b8617c33000d2ab1
Reviewed-on: https://cl.tvl.fyi/c/depot/+/946
Tested-by: BuildkiteCI
Reviewed-by: lukegb <lukegb@tvl.fyi>
2020-07-06 21:50:05 +00:00
Vincent Ambo
14462d5ecd chore(alcoholic_jwt): Prepare for depot merge 2019-12-21 01:24:02 +00:00