alpha
Login
or
Join now
trezy.codes
/
tranquil-pds
Star
0
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
Our Personal Data Server from scratch!
Star
0
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
Overview
Issues
Pulls
1
Pipelines
tranquil-pds
/
crates
/
tranquil-api
/
src
/
identity
/
plc
/
at
main
4 files
Lewis
plc: always keep signing key in rotationKeys
5w ago
28f2e040
mod.rs
fix(plc): allow arbitrary services to sign Lewis: May this revision serve well! <lu5a@proton.me>
2 months ago
request.rs
refactor(auth): unify short-code generation onto util::generate_token_code Collapse the three ad-hoc short-code generators into one canonical generator plus a shared normalizer: - util::generate_token_code now emits the uppercase base32 XXXXX-XXXXX display form; new util::normalize_token_code canonicalizes user input (uppercase, strip hyphen/whitespace). - email_token and legacy_2fa now generate via util, store the normalized form, and compare normalized input. Their private generate_short_token/generate_code (and BASE32_CHARS/CODE_LENGTH) are removed. - PLC (request/sign) and password reset inline util::generate_token_code, persist the normalized form, email the display form, and normalize input before lookup. The generate_plc_token/generate_reset_code wrappers are removed. Behavior changes: legacy login-2FA codes go from 8-digit numeric to XXXXX-XXXXX; PLC and password-reset codes go from lowercase to uppercase. All four code types are now accepted case-/hyphen-insensitively. OAuth web-login 2FA, account deletion, and the long verification_token blobs are intentionally untouched. Tests: add util normalize tests + email_token/legacy_2fa case/hyphen tests; update integration tests to expect the canonical stored form and the new emailed format.
2 months ago
sign.rs
plc: always keep signing key in rotationKeys Lewis: May this revision serve well! <lu5a@proton.me>
1 month ago
submit.rs
plc: always keep signing key in rotationKeys Lewis: May this revision serve well! <lu5a@proton.me>
1 month ago