Commit graph

4 commits

Author SHA1 Message Date
Vincent Ambo
db5ba28735 feat(alcoholic_jwt): Add Nix build for crate
... mostly to get CI.

Note that this adds the Cargo.lock file because we require pinning,
but it is generally not required for Rust libraries.

Change-Id: Iedbd3758e8df8a7f60fe67b6b06c8e41aba8f345
Reviewed-on: https://cl.tvl.fyi/c/depot/+/3362
Reviewed-by: tazjin <mail@tazj.in>
Tested-by: BuildkiteCI
2021-08-15 14:18:59 +00:00
Vincent Ambo
038cf39998 chore(alcoholic_jwt): Prepare 1.0.1 release
This release includes fixes for the audience claim. It has also been
pointed out to me that the repository URL on crates.io was pointing at
the old location.

Change-Id: Ie6265c86932a67a8f8c0210271f1d69b6394756b
Reviewed-on: https://cl.tvl.fyi/c/depot/+/3361
Reviewed-by: tazjin <mail@tazj.in>
Tested-by: BuildkiteCI
2021-08-15 14:18:59 +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