What it is
Account building blocks for WeirdBrains services, extracted from TAUR and shared with Salty Gull. Storage stays with the application; the crate holds the rules and the cryptography and never opens a database.
What is in it
password: Argon2id hashes (PHC strings), verification and a minimum-length rule.token: 256-bit random bearer tokens stored only as SHA-256, compared in constant time.names: AUR-style user names and a light email check.ratelimit: in-memory fixed-window limits per client and class, withX-Forwarded-Forhonoured only from trusted proxies.apikeys: org-scoped API keys shown once and stored as SHA-256, with scopes, bindings, expiry and revocation.
Where it fits
- Used by TAUR.
- Extracted from TAUR.
- License: BSD-3-Clause.