echo/Cargo.toml
Jean 994e8c7347
All checks were successful
CI / check (push) Successful in 4m1s
Make the SCRAM verifier the sole password credential; finish the account-registration relay
Credentials: the SCRAM-SHA-256 verifier is now the only password
credential. PLAIN and IDENTIFY verify the plaintext against it via
scram::verify_plain, exactly as a SCRAM login proves knowledge of it, so
an account provisioned from a verifier alone (external authority) works
over every mechanism, not only SCRAM. Removed the redundant argon2 hash
entirely: the field, the Credentials member, the AccountPasswordSet
field, hash_password/verify_password, and the argon2 crate. SASL SCRAM
already forces a PBKDF2 verifier into the store, so the hash never raised
the at-rest floor. OS RNG now comes from rand_core.

Registration: finished draft/account-registration over the ircd relay.
VERIFY confirms the emailed code, RESEND reissues it, STATUS reports
state, and REGISTER now emails the code and replies verification_required
on the relay path too, not only through NickServ.
2026-07-15 15:47:41 +00:00

71 lines
2.2 KiB
TOML

[workspace]
# api is the SDK every module links against; the loadable modules — the service
# pseudo-clients and the ircd protocol link — live under modules/.
members = [
"api",
"modules/protocol/inspircd",
"modules/chanserv",
"modules/nickserv",
"modules/example",
"modules/botserv",
"modules/memoserv",
"modules/statserv",
"modules/hostserv",
"modules/operserv",
"modules/diceserv",
"modules/infoserv",
"modules/reportserv",
"modules/groupserv",
"modules/chanfix",
"modules/helpserv",
]
[package]
name = "echo"
version = "0.0.1"
edition = "2021"
description = "Federated IRC services daemon (protocol-agnostic core, InspIRCd link first)"
license = "AGPL-3.0-or-later"
[dependencies]
echo-api = { path = "api" }
echo-inspircd = { path = "modules/protocol/inspircd" }
echo-chanserv = { path = "modules/chanserv" }
echo-nickserv = { path = "modules/nickserv" }
echo-example = { path = "modules/example" }
echo-botserv = { path = "modules/botserv" }
echo-memoserv = { path = "modules/memoserv" }
echo-statserv = { path = "modules/statserv" }
echo-hostserv = { path = "modules/hostserv" }
echo-operserv = { path = "modules/operserv" }
echo-diceserv = { path = "modules/diceserv" }
echo-infoserv = { path = "modules/infoserv" }
echo-reportserv = { path = "modules/reportserv" }
echo-groupserv = { path = "modules/groupserv" }
echo-chanfix = { path = "modules/chanfix" }
echo-helpserv = { path = "modules/helpserv" }
tokio = { version = "1", features = ["net", "io-util", "rt-multi-thread", "macros", "time", "sync", "process", "signal"] }
serde = { version = "1", features = ["derive"] }
serde_json = "1"
toml = "0.8"
rand_core = { version = "0.6", features = ["getrandom"] }
base64 = "0.22"
sha2 = "0.10"
hmac = "0.12"
pbkdf2 = { version = "0.12", default-features = false, features = ["hmac"] }
subtle = "2"
regex = "1"
anyhow = "1"
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
tokio-rustls = "0.26.4"
rustls-pemfile = "2.2.0"
tonic = { version = "0.12", features = ["tls"] }
axum = "0.7"
axum-server = { version = "0.7", features = ["tls-rustls"] }
prost = "0.13"
tokio-stream = "0.1"
[build-dependencies]
tonic-build = "0.12"
protoc-bin-vendored = "3"