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