Commit graph

13 commits

Author SHA1 Message Date
oxalica
40e4a53886 build(deps): update to rand 0.9 is possible
Some checks failed
CI / Code style (push) Has been cancelled
CI / Test beta (push) Has been cancelled
CI / Test stable (push) Has been cancelled
CI / Flake package (push) Has been cancelled
Deploy OpenAPI doc to Pages / deploy (push) Has been cancelled
Except for code using ed25519-dalek, since we are blocked by them.

Also tweak RNG source so only key generation uses `OsRng`. PoW nonce
generation only need unpredictability thus `ThreadRng` suffices.

See: https://github.com/dalek-cryptography/curve25519-dalek/issues/731
2025-04-15 20:28:09 -04:00
oxalica
2e0a878d56 build: migrate to Rust edition 2024 2025-03-18 11:38:19 -04:00
oxalica
37fbf5149e build(deps): update to rusqlite 0.34, rustix 1 and fix warnings 2025-03-18 11:28:42 -04:00
oxalica
740e540b4b build(deps): update to axum 0.8, rusqlite 0.33, tokio-tungstenite 0.26, thiserror 2 2025-02-11 00:13:56 -05:00
oxalica
d7ac77a1d9 chore(types): unbloat and clean up dependencies 2024-10-18 10:25:21 -04:00
oxalica
ea69062a6d feat(types): add optional schemars support 2024-10-17 10:29:06 -04:00
oxalica
31dc3e33c6 feat(types,blahd): allow using mock clock for testing 2024-09-28 21:30:42 -04:00
oxalica
82f69eb96a bench: move to blah-types and add for sign/verify 2024-09-23 14:49:36 -04:00
oxalica
475bd59117 build(deps): update dependencies and omit minor version spec 2024-09-22 05:58:39 -04:00
oxalica
fac380fe55 refactor(types,register): introduce IdUrl and related types into submod
- `IdUrl` does basic validation for identity URL. Server could enforce
  additional restrictions on their own need.

- single-label doamins are now rejected by default.

- More tests are added for `IdUrl` validation.
2024-09-19 01:44:09 -04:00
oxalica
cb72d049e0 feat(types,webapi): impl id_key/act_key for all APIs and update docs 2024-09-17 21:44:36 -04:00
oxalica
fb76756482 feat(webapi): impl user registration and identity description format 2024-09-16 10:45:40 -04:00
oxalica
0ac841e6fa refactor: move types crate into blahd-types subpackage 2024-09-10 03:47:41 -04:00