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:
19 files changed
+1065
-6
No files matched your search
@@ -8,6 +8,7 @@ publish.workspace = true
|
||||
|
||||
[dependencies]
|
||||
base64.workspace = true
|
||||
form_urlencoded = "1"
|
||||
getrandom.workspace = true
|
||||
html5ever.workspace = true
|
||||
imap-proto.workspace = true
|
||||
@@ -25,6 +26,15 @@ sha2.workspace = true
|
||||
smtp-proto = "0.2"
|
||||
tokio.workspace = true
|
||||
tokio-rustls.workspace = true
|
||||
ureq.workspace = true
|
||||
|
||||
[dependencies.keyring]
|
||||
version = "3"
|
||||
features = ["apple-native", "windows-native"]
|
||||
|
||||
[target.'cfg(target_os = "linux")'.dependencies.keyring]
|
||||
version = "3"
|
||||
features = ["linux-native-sync-persistent"]
|
||||
|
||||
[dev-dependencies]
|
||||
ely-platform.workspace = true
|
||||
|
||||
Reference in new issue
Block a user