Commit graph

16 commits

Author SHA1 Message Date
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
Griffin Smith
e20f7695fa chore(net/alcoholic_jwt): Remove travis-ci build badge
It looks like this has been very obsolete for a very long time

Change-Id: I34d1200e3d9595f0ab9101329aec7774f965a154
Reviewed-on: https://cl.tvl.fyi/c/depot/+/5614
Tested-by: BuildkiteCI
Reviewed-by: tazjin <tazjin@tvl.su>
Autosubmit: grfn <grfn@gws.fyi>
2022-05-16 14:09:01 +00:00
Vincent Ambo
f817ad86f2 chore(net/crimp): Bump all dependencies via cargo update
Change-Id: I845d7911799a9287a63679fade5b47d651d822f8
Reviewed-on: https://cl.tvl.fyi/c/depot/+/5317
Tested-by: BuildkiteCI
Reviewed-by: sterni <sternenseemann@systemli.org>
2022-02-20 15:46:57 +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
Vincent Ambo
509ea7f3cb feat(crimp): 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: I565c7c8e899694accf3efd825ff46225f3c47d1a
Reviewed-on: https://cl.tvl.fyi/c/depot/+/3363
Reviewed-by: tazjin <mail@tazj.in>
Tested-by: BuildkiteCI
2021-08-15 14:18:59 +00:00
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
Vincent Ambo
e90242d029 chore(net): Remove mushroom
We don't need to build this anymore.

Change-Id: I0ddd4ec3db9eb4774553003e18c5503b0f431810
Reviewed-on: https://cl.tvl.fyi/c/depot/+/1842
Reviewed-by: tazjin <mail@tazj.in>
Reviewed-by: lukegb <lukegb@tvl.fyi>
Tested-by: BuildkiteCI
2020-08-26 22:21:10 +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
9b6afd090c chore(net/mushroom): Bootstrap project 2020-06-08 00:31:52 +01:00
Vincent Ambo
87cf3a2c6f chore(net/stomp_erl): Remove erlang.mk
The project should be migrated to one of the newer mechanisms, like
rebar.
2019-12-21 03:05:51 +00:00
Vincent Ambo
ad07fc31ed merge(crimp): Integrate at //net/crimp 2019-12-21 01:28:09 +00:00
Vincent Ambo
48c738b1b5 chore(crimp): Prepare for depot merge 2019-12-21 01:27:49 +00:00
Vincent Ambo
ec826db87a merge(alcoholic_jwt): Integrate at //net/alcoholic_jwt 2019-12-21 01:24:22 +00:00
Vincent Ambo
14462d5ecd chore(alcoholic_jwt): Prepare for depot merge 2019-12-21 01:24:02 +00:00
Vincent Ambo
32d16e2b02 chore(stomp.erl): Prepare for depot merge 2019-12-21 01:20:41 +00:00