Files
acaua/crates/acaua-core/Cargo.toml
T
Lucas RayanandClaude Opus 5.5 2b71ae41c0 feat(auth): accounts, first-run setup and MFA login flow
Adds AuthService with single-use setup code, password login, TOTP and
recovery codes, enrollment, account management and local admin reset.
Attempts are reserved before Argon2 so parallel guesses cannot outrun the
per-account delay or the IP limit, and unknown usernames follow the same
schedule as real accounts. Passwords are NFC-normalized; repeated-character
and all-digit passwords are refused.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-04 19:24:46 -03:00

31 lines
952 B
TOML

[package]
name = "acaua-core"
description = "Acauã: deterministic network threat hunting core"
version.workspace = true
edition.workspace = true
license.workspace = true
repository.workspace = true
authors.workspace = true
rust-version.workspace = true
[dependencies]
serde = { version = "1", features = ["derive"] }
serde_json = "1"
sha2 = "0.10"
thiserror = "1"
time = { version = "0.3", features = ["formatting", "macros"] }
chrono = { version = "0.4", default-features = false, features = ["std"] }
# Linked against the official prebuilt libduckdb (scripts/fetch-libduckdb.sh):
# never enable `bundled`, `parquet`, `json` or `extensions-full`, which compile
# DuckDB from source. Parquet, JSON and ICU are already inside libduckdb.so.
duckdb = "~1.10506.1"
aes-gcm = "0.10"
base64 = "0.22"
fs2 = "0.4"
argon2 = "0.6.0"
totp-rs = { version = "6.0.0", features = ["qr", "otpauth"] }
unicode-normalization = "0.1"
[dev-dependencies]
tempfile = "3"