C12.4: mail credentials and OAuth sign-in

Passwords and refresh tokens go only to the system keychain; a refused
keychain keeps them in memory until exit and says why. Gmail and
Microsoft sign in by authorization code with S256 PKCE on a loopback
redirect; refresh tokens are kept, and revoked grants ask to sign in
again. Client IDs come from the build (env or oauth.env). ureq trace
records never reach the log.

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
ZacharyZhang-NYandClaude committed 2026-10-19 18:59:56 -04:00
1 parent 7c5bf48589
commit bd68382921
19 files changed
+1065 -6

No files matched your search

Generated
+3
View File
@@ -2135,9 +2135,11 @@ version = "0.1.8"
dependencies = [
"base64 0.23.1",
"ely-platform",
"form_urlencoded",
"getrandom 0.4.3",
"html5ever",
"imap-proto",
"keyring",
"log",
"mail-builder",
"mail-parser",
@@ -2154,6 +2156,7 @@ dependencies = [
"tempfile",
"tokio",
"tokio-rustls",
"ureq",
]
[[package]]