Microservice to bring 2FA to self hosted PDSes

2FA logins gatekept #1

merged opened by baileytownsend.dev targeting main from feature/2faCodeGeneration
Labels

None yet.

Participants 1
AT URI
at://did:plc:rnpkyqnmsw4ipey6eotbdnnf/sh.tangled.repo.pull/3lxnftbzj4v22
+10
Interdiff #1 #2
Cargo.toml

This patch was likely rebased, as context lines do not match.

migrations_bells_and_whistles/.keep

This file has not been changed.

src/xrpc/helpers.rs

This patch was likely rebased, as context lines do not match.

src/middleware.rs

This patch was likely rebased, as context lines do not match.

src/oauth_provider.rs

This file has not been changed.

src/xrpc/mod.rs

This file has not been changed.

README.md

This file has not been changed.

src/helpers.rs

Failed to calculate interdiff for this file.

src/main.rs

This patch was likely rebased, as context lines do not match.

src/xrpc/com_atproto_server.rs

This patch was likely rebased, as context lines do not match.

+10
Cargo.lock
··· 287 287 dependencies = [ 288 288 "android-tzdata", 289 289 "iana-time-zone", 290 + "js-sys", 290 291 "num-traits", 292 + "wasm-bindgen", 291 293 "windows-link", 292 294 ] 293 295 ··· 1652 1654 name = "pds_gatekeeper" 1653 1655 version = "0.1.0" 1654 1656 dependencies = [ 1657 + "anyhow", 1655 1658 "axum", 1656 1659 "axum-template", 1660 + "chrono", 1657 1661 "dotenvy", 1658 1662 "handlebars", 1659 1663 "hex", 1660 1664 "hyper-util", 1661 1665 "jwt-compact", 1662 1666 "lettre", 1667 + "rand 0.9.2", 1663 1668 "rust-embed", 1664 1669 "scrypt", 1665 1670 "serde", 1666 1671 "serde_json", 1672 + "sha2", 1667 1673 "sqlx", 1668 1674 "tokio", 1669 1675 "tower-http", ··· 2393 2399 dependencies = [ 2394 2400 "base64", 2395 2401 "bytes", 2402 + "chrono", 2396 2403 "crc", 2397 2404 "crossbeam-queue", 2398 2405 "either", ··· 2470 2477 "bitflags", 2471 2478 "byteorder", 2472 2479 "bytes", 2480 + "chrono", 2473 2481 "crc", 2474 2482 "digest", 2475 2483 "dotenvy", ··· 2511 2519 "base64", 2512 2520 "bitflags", 2513 2521 "byteorder", 2522 + "chrono", 2514 2523 "crc", 2515 2524 "dotenvy", 2516 2525 "etcetera", ··· 2545 2554 checksum = "c2d12fe70b2c1b4401038055f90f151b78208de1f9f89a7dbfd41587a10c3eea" 2546 2555 dependencies = [ 2547 2556 "atoi", 2557 + "chrono", 2548 2558 "flume", 2549 2559 "futures-channel", 2550 2560 "futures-core",

History

3 rounds 0 comments
sign up or login to add to the discussion
1 commit
expand
2FA gatekeeping
expand 0 comments
pull request successfully merged
12 commits
expand
Added rng code and place holder for db call. wont build
token create and all that
little clean up
app password support
Some clippy warning clean ups
Started better error handling. DOES NOT BUILD
clippy warnings and unwrap cleanups
oauth wip
wip finally returning an okay error for the ui
Crashes again
wip
HOLY COW THAT WORKED
expand 0 comments
16 commits
expand
Added rng code and place holder for db call. wont build
token create and all that
little clean up
app password support
Some clippy warning clean ups
Started better error handling. DOES NOT BUILD
clippy warnings and unwrap cleanups
oauth wip
wip finally returning an okay error for the ui
Crashes again
wip
HOLY COW THAT WORKED
Some more clean ups
custom email directory
Base 32 email tokens now
Final clean ups
expand 0 comments