Commit graph

15 commits

Author SHA1 Message Date
Vincent Ambo
8832a0b45b chore(net/alcoholic_jwt): bump cargo dependencies
Fixes:

* RUSTSEC-2023-0022
* RUSTSEC-2023-0044
* RUSTSEC-2023-0023
* RUSTSEC-2023-0024

Change-Id: I6eb9d1041e6b4ce4665e9829ad4aad5385990724
Reviewed-on: https://cl.tvl.fyi/c/depot/+/10015
Reviewed-by: flokli <flokli@flokli.de>
Tested-by: BuildkiteCI
Autosubmit: tazjin <tazjin@tvl.su>
2023-11-12 22:42:03 +00:00
sterni
0c178a0ef6 chore(3p/sources): Bump channels & overlays
Upstream nixpkgs removed a lot of aliases this time, so we needed to do
the following transformations. It's a real shame that aliases only
really become discoverable easily when they are removed.

* runCommandNoCC -> runCommand
* gmailieer -> lieer
  We also need to work around the fact that home-manager hasn't catched
  on to this rename.
* mysql -> mariadb
* pkgconfig -> pkg-config
  This also affects our Nix fork which needs to be bumped.
* prometheus_client -> prometheus-client
* rxvt_unicode -> rxvt-unicode-unwrapped
* nix-review -> nixpkgs-review
* oauth2_proxy -> oauth2-proxy

Additionally, some Go-related builders decided to drop support for
passing the sha256 hash in directly, so we need to use the generic hash
arguments.

Change-Id: I84aaa225ef18962937f8616a9ff064822f0d5dc3
Reviewed-on: https://cl.tvl.fyi/c/depot/+/6792
Autosubmit: sterni <sternenseemann@systemli.org>
Tested-by: BuildkiteCI
Reviewed-by: grfn <grfn@gws.fyi>
Reviewed-by: flokli <flokli@flokli.de>
Reviewed-by: tazjin <tazjin@tvl.su>
Reviewed-by: wpcarro <wpcarro@gmail.com>
2022-09-28 08:02:31 +00:00
Vincent Ambo
6e364d3d54 chore(alcoholic_jwt): prepare release v4091
Documentation updates & dependency bumps.

Change-Id: I18c3e9ad34ebf970c3ce81183188508976c2d4e6
Reviewed-on: https://cl.tvl.fyi/c/depot/+/5624
Tested-by: BuildkiteCI
Reviewed-by: tazjin <tazjin@tvl.su>
2022-05-16 18:53:30 +00:00
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
Vincent Ambo
224eb8a3a3 docs(alcoholic_jwt): add 'contributing' section to docs
Change-Id: Iaa06b3a7d643a2688d43275aedf708fa4208586c
Reviewed-on: https://cl.tvl.fyi/c/depot/+/5622
Autosubmit: tazjin <tazjin@tvl.su>
Tested-by: BuildkiteCI
Reviewed-by: grfn <grfn@gws.fyi>
2022-05-16 18:45:33 +00:00
Vincent Ambo
94cf85c5cc chore(alcoholic_jwt): base64: 0.10 -> 0.13
this removes another transitive dependency \o/

Change-Id: I511b54c5841066e6f517edfc2c81ec607ca2bf55
Reviewed-on: https://cl.tvl.fyi/c/depot/+/5621
Reviewed-by: grfn <grfn@gws.fyi>
Tested-by: BuildkiteCI
Autosubmit: tazjin <tazjin@tvl.su>
2022-05-16 18:45:33 +00:00
Vincent Ambo
2c847e0dc1 chore(alcoholic_jwt): Prepare release of v4084
Change-Id: Id45d4b7b33c29ed8ae3c487c4303266a8ca0fad3
Reviewed-on: https://cl.tvl.fyi/c/depot/+/5617
Reviewed-by: tazjin <tazjin@tvl.su>
Tested-by: BuildkiteCI
2022-05-16 17:55:04 +00:00
Vincent Ambo
10d07ad985 chore(alcoholic_jwt): bump cargo dependencies
a simple `cargo update`

Change-Id: I388fcb3822678e7f025f0f86c6e9af450bf29bd8
Reviewed-on: https://cl.tvl.fyi/c/depot/+/5616
Autosubmit: tazjin <tazjin@tvl.su>
Reviewed-by: grfn <grfn@gws.fyi>
Tested-by: BuildkiteCI
2022-05-16 17:44:22 +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
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
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
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