renovate[bot]
7ee3fcdd41
fix(deps): update rust crate notify to v7
2024-11-10 01:45:59 +00:00
Zhaofeng Li
5d6560e409
Merge branch 'main' into HEAD
2024-10-05 11:50:16 -06:00
Zhaofeng Li
b92e5ba4b5
attic: Update nix-base32 crate
2024-08-24 18:56:18 -04:00
Zhaofeng Li
0f9506ffba
Cargo.lock: Fix
2024-08-24 18:56:18 -04:00
Zhaofeng Li
49c565f792
Use tokio::test instead of tokio-test
2024-08-19 14:49:56 -04:00
Zhaofeng Li
a41e2d1724
attic: Add simple chunking benchmarks
2024-08-19 14:49:56 -04:00
Zhaofeng Li
deff31a850
Move chunking to attic crate
2024-08-19 14:49:56 -04:00
Zhaofeng Li
40c0bb406e
Fix build for Nix 2.20+
...
Perform version detection to keep supporting older versions
(and in the future, alternative implementations).
Co-authored-by: Jörg Thalheim <joerg@thalheim.io>
2024-08-19 12:16:33 -04:00
Cole Helbling
858e5bec13
Merge remote-tracking branch 'upstream/main' into rs256-support
2024-07-26 07:25:11 -07:00
Zhaofeng Li
14cb5f9e46
Trivial semver-incompatible upgrades
2024-06-01 13:47:27 -06:00
Zhaofeng Li
9a6b2cbf1d
server: Upgrade aws-sdk-rust
2024-06-01 13:47:27 -06:00
Zhaofeng Li
bc22e00a3b
server: Upgrade to Axum 0.7
2024-06-01 13:47:27 -06:00
Zhaofeng Li
4ffeb50f50
Cargo.lock: Update
2024-06-01 13:47:27 -06:00
Cole Helbling
18dedcc30b
token: switch to using IndexMap for consistent ordering of entries
...
Because of the random ordering of HashMap, if you have
overlapping token permissions, it is possible to randomly pick
one that leads to some operation working intermittently (see
https://github.com/zhaofengli/attic/issues/133 for an example of this).
By using an IndexMap instead, we make "iteration order of the key-value
pairs [...] independent of the hash values of the keys" (from the
indexmap crate docs [1]), which leads to more predictable behavior.
[1]: https://docs.rs/indexmap/latest/indexmap/
2024-05-25 11:26:40 -07:00
Cole Helbling
41b42b62d5
Merge remote-tracking branch 'upstream/main' into rs256-support
2024-02-26 11:45:09 -08:00
Zhaofeng Li
7b133bca83
server: Upgrade sea-orm to 0.12.10
...
Co-authored-by: Francesco Gazzetta <fgaz@fgaz.me>
2023-12-18 09:28:58 -07:00
Zhaofeng Li
4945d00e20
Cargo.lock: Update
...
Co-authored-by: Francesco Gazzetta <fgaz@fgaz.me>
2023-12-18 09:28:54 -07:00
Zhaofeng Li
ab4040a267
Trivial semver-incompatible upgrades
...
Co-authored-by: Francesco Gazzetta <fgaz@fgaz.me>
2023-12-18 09:28:43 -07:00
Zhaofeng Li
9c79f6f5cb
server: Upgrade aws-sdk-rust
...
Co-authored-by: Francesco Gazzetta <fgaz@fgaz.me>
2023-12-18 09:28:43 -07:00
Cole Helbling
0a9d4938ef
Move back to jwt_simple
...
This effectively reverts commit 3e0b65a4c3
.
Because jwt_simple doesn't have a unified type / trait that allows
signature and verification, I had to add a SignatureType enum to
approximate that.
2023-11-12 12:19:22 -08:00
Cole Helbling
32e6d858fa
server: fixup oobe random secret generation
2023-11-12 11:19:34 -08:00
Cole Helbling
427ae4550b
server: support HS256, RS256 JWT secrets
2023-11-12 11:19:34 -08:00
Cole Helbling
9e23916e02
token: fixup JWT creation
...
Since we now validate the `sub` and `nbf` claims, they need to be set
when atticadm generates them.
2023-11-12 11:19:34 -08:00
Graham Christensen
9511afde4b
server: HS256 -> RS256 secrets
2023-11-11 12:58:57 -08:00
Graham Christensen
3e0b65a4c3
Migrate to jsonwebtoken
2023-11-11 12:58:55 -08:00
Zhaofeng Li
564b4be0f9
Update sea-orm to 0.11.3
...
This commit drops support of Nixpkgs 22.11. Users should upgrade to
23.05 or use the pinned nixpkgs version in the flake.
2023-06-12 18:52:16 -06:00
Zhaofeng Li
5ca98fbaa8
Drop bindgen and specialize hash handling
...
Bindgen cannot handle functional C macros, and now `GENERATE_CMP`
is part of the include chain of `nix/hash.hh`, breaking everything.
For now, let's just drop bindgen and simplify things.
2023-06-12 18:52:16 -06:00
Zhaofeng Li
2d0aeefd2f
Trivial semver-incompatible upgrades
2023-05-28 15:23:45 -06:00
Zhaofeng Li
1b980a9640
server: Upgrade async-compression
2023-05-28 15:23:45 -06:00
Zhaofeng Li
1a0116fee8
server: Upgrade aws-sdk-rust
2023-05-28 15:23:45 -06:00
Zhaofeng Li
6489d775ae
Update deps
2023-05-28 15:23:45 -06:00
Zhaofeng Li
7115778c8c
Cargo.lock: Update
2023-05-28 15:23:45 -06:00
Zhaofeng Li
22626efd35
Trivial semver-incompatible upgrades
2023-03-05 11:05:11 -07:00
Zhaofeng Li
c3c7c10c05
Upgrade toml
2023-03-05 11:05:11 -07:00
Zhaofeng Li
97285de54f
Upgrade base64
2023-03-05 11:05:11 -07:00
Zhaofeng Li
7f62e92d71
server: Upgrade fastcdc
2023-03-05 11:05:11 -07:00
Zhaofeng Li
b6002b413c
server: Upgrade aws-sdk-rust
2023-03-05 11:05:11 -07:00
Zhaofeng Li
18ca2cf29a
Update deps
2023-03-05 11:05:11 -07:00
Zhaofeng Li
d540cc6888
client: Implement watch-store
2023-01-29 12:01:54 -07:00
Zhaofeng Li
8f1916b5cc
client: Refactor pushing to use a job queue
2023-01-29 12:01:54 -07:00
chris-02
8fa4eaffc5
client: Use system certificate store
2023-01-22 11:25:10 +01:00
Zhaofeng Li
99202303be
Fix build with nixpkgs 22.11
...
We temporarily patch sea-orm to build with a lower MSRV.
2023-01-16 14:14:14 -07:00
Zhaofeng Li
e8f9f3c04b
Add support for chunking
2023-01-14 23:55:10 -07:00
Zhaofeng Li
6c4d04da74
Migrate to jwt-simple
2023-01-08 00:57:22 -07:00
Zhaofeng Li
6969af2d5e
Cargo.toml: Minimize tokio feature flags
2023-01-08 00:57:22 -07:00
Zhaofeng Li
77070b9895
Refactor token into a separate crate
2023-01-08 00:57:22 -07:00
Zhaofeng Li
7b53ce15cd
api/v1/upload-path: Inform the client whether the uploaded path is deduplicated
2023-01-04 21:05:07 -07:00
Zhaofeng Li
c04aff7c48
server: Attach tracing context to errors
2023-01-04 21:05:07 -07:00
Zhaofeng Li
14d8b8f1b0
server/s3: Fix loading of AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY
2023-01-04 21:05:07 -07:00
Zhaofeng Li
5aa1623dc2
Initial public commit
2022-12-31 17:01:07 -07:00