refactor(core): sign in through proton_auth_rs::session

The sign-in steps are now the sequence Proton Gallery and Proton Stream
share. The stored session, the lock/unlock choice for two-password
accounts, the three mailbox-password tries and the errors front-ends
word themselves are unchanged. An account whose only second factor is
a security key now gets a clear message instead of a code prompt that
could only fail.
This commit is contained in:
nvrl committed 2026-11-20 15:43:31 +01:00
1 parent 734e9040fb
commit e15e1dcc76
16 files changed
+121 -76

No files matched your search

Generated
+4 -2
View File
@@ -3926,14 +3926,16 @@ dependencies = [
[[package]]
name = "proton-auth-rs"
version = "0.1.0"
version = "0.1.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e140db8b4444e50c818c9793c2078b57c16c5b6c285a8d4bbd74886f41b05c6f"
checksum = "383119b502a1741f1ec4a248cb1e8d2f4835d5ea415803b041f76b6f89cf1ffc"
dependencies = [
"apple-native-keyring-store",
"dbus-secret-service",
"dbus-secret-service-keyring-store",
"keyring-core",
"proton-sdk",
"serde_json",
"thiserror 2.0.21",
"tracing",
"windows-native-keyring-store",