Adds a config-driven mailer: a SendEmail action the link layer pipes to a configured command (sendmail -t, msmtp, ...) off-thread. NickServ RESETPASS <account> emails a short-lived code to the address on file; RESETPASS <account> <code> <newpassword> completes the reset. Codes are node-local; the password change itself federates.
22 lines
691 B
TOML
22 lines
691 B
TOML
[package]
|
|
name = "fedserv"
|
|
version = "0.0.1"
|
|
edition = "2021"
|
|
description = "Federated IRC services daemon (protocol-agnostic core, InspIRCd link first)"
|
|
|
|
[dependencies]
|
|
tokio = { version = "1", features = ["net", "io-util", "rt-multi-thread", "macros", "time", "sync", "process"] }
|
|
serde = { version = "1", features = ["derive"] }
|
|
serde_json = "1"
|
|
toml = "0.8"
|
|
argon2 = { version = "0.5", features = ["std"] }
|
|
base64 = "0.22"
|
|
sha2 = "0.10"
|
|
hmac = "0.12"
|
|
pbkdf2 = { version = "0.12", default-features = false, features = ["hmac"] }
|
|
subtle = "2"
|
|
anyhow = "1"
|
|
tracing = "0.1"
|
|
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
|
|
tokio-rustls = "0.26.4"
|
|
rustls-pemfile = "2.2.0"
|