Compare commits

...
Author SHA1 Message Date
nvrl 78a807e53e Merge pull request #129 from narrrl/fix/mount-key-recovery
fix(fuse,cli): wait for key recovery after a cold mount fails
2026-11-25 11:02:54 +01:00
nvrl 506ff32d08 Merge branch 'main' into fix/mount-key-recovery 2026-11-25 02:10:22 +01:00
nvrl 7c70995eb7 Merge pull request #128 from narrrl/fix/sign-in-block
fix(auth): clarify blocked sign-in without upgrade advice
2026-11-25 02:09:55 +01:00
nvrl 28daffa2b3 Merge pull request #127 from narrrl/fix/immutable-install
fix(packaging): check tarball compatibility before installation
2026-11-25 02:09:39 +01:00
nvrl 45a41d4e5c fix(core,fuse): keep the mount failure file readable after a downgrade, test the key wait
Mark the wait for key recovery with a separate awaiting_keys field instead
of a null next_attempt, which an older daemon cannot parse. Pin the
missing-key match against a real rpgp decrypt failure, including the
try-every-key path, and test that a parked daemon pings the watchdog until
it is stopped.
2026-11-25 02:00:33 +01:00
nvrl ba426dcb3f fix(i18n): wrap the code 2028 catalog entries, match German imperative style 2026-11-25 01:32:11 +01:00
nvrl b15f6db802 fix(fuse,cli): wait for key recovery after a cold mount fails 2026-11-24 21:19:52 +01:00
nvrl e10cc13901 fix(auth): clarify blocked sign-in without upgrade advice 2026-11-24 21:18:16 +01:00
24 changed files with 399 additions and 102 deletions

No files matched your search

+88 -21
View File
@@ -2273,22 +2273,7 @@ fn cmd_login(username: Option<String>, remember: bool) -> Result<()> {
get_mailbox, get_mailbox,
get_hv, get_hv,
)) ))
.map_err(|e| { .map_err(login_failure)?;
// Proton words this block as "update the app", which the user can't
// act on: the release is current and only waiting helps.
let blocked =
matches!(&e, pdfs_core::Error::Proton(p) if pdfs_core::error::sign_in_blocked(p));
let e = anyhow::Error::new(e).context("login failed");
if blocked {
e.context(
"Proton is temporarily refusing sign-in from this device (code 2028). \
Your version is not the problem. Wait several hours, up to a day, \
without trying again, then sign in.",
)
} else {
e
}
})?;
// A daemon that is already up is parked in `wait_for_session`, sleeping // A daemon that is already up is parked in `wait_for_session`, sleeping
// between keyring checks; restart it so the mount appears now instead of // between keyring checks; restart it so the mount appears now instead of
@@ -2304,6 +2289,18 @@ fn cmd_login(username: Option<String>, remember: bool) -> Result<()> {
Ok(()) Ok(())
} }
fn login_failure(error: pdfs_core::Error) -> anyhow::Error {
if matches!(&error, pdfs_core::Error::Proton(e) if pdfs_core::error::sign_in_blocked(e)) {
// The SDK logs the response code at debug level. Its server text
// would give contradictory instructions in the displayed cause chain.
anyhow::anyhow!(
"Proton declined this sign-in (code 2028). Wait before trying again. If it persists, try signing in on the web and mention code 2028 when contacting Proton support."
)
} else {
anyhow::Error::new(error).context("login failed")
}
}
/// Ask for the mailbox password of a two-password account, without echo. /// Ask for the mailbox password of a two-password account, without echo.
fn prompt_mailbox(attempt: u32, remember: bool) -> pdfs_core::Result<auth::Mailbox> { fn prompt_mailbox(attempt: u32, remember: bool) -> pdfs_core::Result<auth::Mailbox> {
if attempt == 0 { if attempt == 0 {
@@ -2688,18 +2685,26 @@ fn cmd_daemon(mountpoint: Option<PathBuf>) -> Result<()> {
let error = format!("{e:#}"); let error = format!("{e:#}");
let now = unix_now(); let now = unix_now();
let attempts = failure.as_ref().map_or(1, |f| f.attempts.saturating_add(1)); let attempts = failure.as_ref().map_or(1, |f| f.attempts.saturating_add(1));
let delay = mount_retry_delay(attempts); let delay = mount_retry_schedule(&e, attempts);
tracing::error!( match delay {
Some(delay) => tracing::error!(
error, error,
attempts, attempts,
retry_secs = delay.as_secs(), retry_secs = delay.as_secs(),
"mount failed; retrying" "mount failed; retrying"
); ),
None => tracing::error!(
error,
attempts,
"account keys could not open My Files; waiting for service restart"
),
}
let record = pdfs_core::mountfail::MountFailure { let record = pdfs_core::mountfail::MountFailure {
error: error.clone(), error: error.clone(),
since: failure.as_ref().map_or(now, |f| f.since), since: failure.as_ref().map_or(now, |f| f.since),
attempts, attempts,
next_attempt: now + delay.as_secs() as i64, next_attempt: now + delay.map_or(0, |delay| delay.as_secs() as i64),
awaiting_keys: delay.is_none(),
not_empty: not_empty_cause(&e), not_empty: not_empty_cause(&e),
}; };
if let Err(e) = pdfs_core::mountfail::record(&state_dir, &record) { if let Err(e) = pdfs_core::mountfail::record(&state_dir, &record) {
@@ -2707,7 +2712,12 @@ fn cmd_daemon(mountpoint: Option<PathBuf>) -> Result<()> {
} }
pdfs_fuse::notify_status(&format!("Mount failing: {error}")); pdfs_fuse::notify_status(&format!("Mount failing: {error}"));
failure = Some(record); failure = Some(record);
pdfs_fuse::idle_sleep(delay); // Retry and a successful login restart the service. Keep the
// watchdog alive while parked without contacting Proton.
match delay {
Some(delay) => pdfs_fuse::idle_sleep(delay),
None => return pdfs_fuse::wait_for_restart().context("wait for key recovery"),
}
} }
} }
} }
@@ -2730,6 +2740,20 @@ fn not_empty_cause(error: &anyhow::Error) -> Option<pdfs_core::mountpoint::NotEm
}) })
} }
fn mount_retry_schedule(error: &anyhow::Error, attempts: u32) -> Option<std::time::Duration> {
let root = error.chain().find_map(|cause| {
cause
.downcast_ref::<std::io::Error>()?
.get_ref()?
.downcast_ref::<pdfs_core::mountfail::RootLookup>()
});
if root.is_some_and(|root| root.needs_account_keys()) {
None
} else {
Some(mount_retry_delay(attempts))
}
}
/// How long to wait before mount attempt `attempts + 1`, after `attempts` /// How long to wait before mount attempt `attempts + 1`, after `attempts`
/// failures in a row. /// failures in a row.
/// ///
@@ -4631,7 +4655,11 @@ fn cmd_diagnose() -> Result<()> {
"failing for {}, {} attempt(s): {}", "failing for {}, {} attempt(s): {}",
human_secs(unix_now().saturating_sub(failure.since).max(0) as u64), human_secs(unix_now().saturating_sub(failure.since).max(0) as u64),
failure.attempts, failure.attempts,
if failure.awaiting_keys {
format!("{} — after recovering your account keys, restart proton-drive.service", failure.error)
} else {
failure.error failure.error
}
), ),
), ),
None => println!( None => println!(
@@ -4884,6 +4912,25 @@ mod diagnose_tests {
mod login_wait_tests { mod login_wait_tests {
use super::*; use super::*;
#[test]
fn login_failure_preserves_only_actionable_upgrade_advice() {
use pdfs_core::proton_sdk::{ProtonApiError, ProtonError, api::ResponseCode};
for (code, blocked) in [
(ResponseCode::Blocked, true),
(ResponseCode::OutdatedApp, false),
] {
let error = ProtonError::Api(ProtonApiError {
code,
http_status: 422,
message: "Please update the app".into(),
details: None,
});
let rendered = format!("{:#}", login_failure(error.into()));
assert_eq!(rendered.contains("2028"), blocked);
assert_eq!(rendered.contains("Please update"), !blocked);
}
}
/// The mount retry backs off from 5 s to a ceiling of minutes, rather than /// The mount retry backs off from 5 s to a ceiling of minutes, rather than
/// asking Proton every 5 s forever (`docs/BUGS.md` B263). /// asking Proton every 5 s forever (`docs/BUGS.md` B263).
#[test] #[test]
@@ -4893,6 +4940,26 @@ mod login_wait_tests {
assert_eq!(mount_retry_delay(u32::MAX).as_secs(), 120); assert_eq!(mount_retry_delay(u32::MAX).as_secs(), 120);
} }
#[test]
fn cold_root_key_failures_wait_for_a_restart() {
use pdfs_core::proton_sdk::{ProtonError, crypto::CryptoError};
for (cause, parked) in [
(ProtonError::KeysLocked, true),
(CryptoError::Decrypt("missing key".into()).into(), true),
(CryptoError::Decrypt("malformed data".into()).into(), false),
(ProtonError::invalid_operation("missing key"), false),
] {
let io = std::io::Error::other(pdfs_core::mountfail::RootLookup(cause));
let error = anyhow::Error::new(io).context("mount failed");
assert_eq!(mount_retry_schedule(&error, 1).is_none(), parked);
}
let io = std::io::Error::from(std::io::ErrorKind::NetworkUnreachable);
assert_eq!(
mount_retry_schedule(&io.into(), 1),
Some(mount_retry_delay(1))
);
}
/// A refusal over a folder with files in it reaches the failure record /// A refusal over a folder with files in it reaches the failure record
/// through the `io::Error` and the context around it (`docs/BUGS.md` B277). /// through the `io::Error` and the context around it (`docs/BUGS.md` B277).
#[test] #[test]
+79 -1
View File
@@ -13,6 +13,25 @@ use serde::{Deserialize, Serialize};
/// The file's name inside the state directory. /// The file's name inside the state directory.
const FILE_NAME: &str = "mount-failure.json"; const FILE_NAME: &str = "mount-failure.json";
/// Failure to fetch My Files on a cold start with no cached root.
#[derive(Debug, thiserror::Error)]
#[error("fetch My Files root: {0}")]
pub struct RootLookup(pub proton_sdk::ProtonError);
impl RootLookup {
pub fn needs_account_keys(&self) -> bool {
use proton_sdk::{ProtonError, crypto::CryptoError};
// SDK 0.12 carries rpgp's `MissingKey` as the text of Decrypt.
// `a_real_missing_key_failure_waits_for_keys` pins that wording, so
// an SDK or rpgp update that changes it fails the test instead of
// silently going back to the retry loop. Never park for an unrelated
// decryption error.
matches!(self.0, ProtonError::KeysLocked)
|| matches!(&self.0, ProtonError::Crypto(CryptoError::Decrypt(reason)) if reason == "missing key")
}
}
/// The last failed mount attempt. /// The last failed mount attempt.
#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq)] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq)]
pub struct MountFailure { pub struct MountFailure {
@@ -22,8 +41,14 @@ pub struct MountFailure {
pub since: i64, pub since: i64,
/// Failed attempts in a row. /// Failed attempts in a row.
pub attempts: u32, pub attempts: u32,
/// Unix seconds of the next attempt. /// Unix seconds of the next attempt. Meaningless while `awaiting_keys`.
pub next_attempt: i64, pub next_attempt: i64,
/// The daemon stopped retrying because the account keys cannot open My
/// Files, and waits for a restart after key recovery. A separate field
/// rather than an optional `next_attempt`, so an older version reading
/// the file after a downgrade still understands it.
#[serde(default, skip_serializing_if = "std::ops::Not::not")]
pub awaiting_keys: bool,
/// Set when the mount was refused because the folder already has files in /// Set when the mount was refused because the folder already has files in
/// it, so the app can explain that in the user's language. Absent in a /// it, so the app can explain that in the user's language. Absent in a
/// file an older daemon wrote. /// file an older daemon wrote.
@@ -68,6 +93,7 @@ mod tests {
since: 1_700_000_000, since: 1_700_000_000,
attempts: 3, attempts: 3,
next_attempt: 1_700_000_040, next_attempt: 1_700_000_040,
awaiting_keys: false,
not_empty: None, not_empty: None,
}; };
record(&dir, &failure).unwrap(); record(&dir, &failure).unwrap();
@@ -81,7 +107,59 @@ mod tests {
fn a_failure_an_older_daemon_wrote_still_reads() { fn a_failure_an_older_daemon_wrote_still_reads() {
let old = r#"{"error":"missing key","since":1,"attempts":2,"next_attempt":3}"#; let old = r#"{"error":"missing key","since":1,"attempts":2,"next_attempt":3}"#;
let failure: MountFailure = serde_json::from_str(old).unwrap(); let failure: MountFailure = serde_json::from_str(old).unwrap();
assert_eq!(failure.next_attempt, 3);
assert!(!failure.awaiting_keys);
assert_eq!(failure.not_empty, None); assert_eq!(failure.not_empty, None);
assert_eq!(failure.attempts, 2); assert_eq!(failure.attempts, 2);
} }
/// An older daemon, after a downgrade, must still read what this one
/// writes while it waits for key recovery.
#[test]
fn a_key_wait_reads_as_a_plain_failure_without_the_new_field() {
#[derive(Deserialize)]
#[allow(dead_code)]
struct OlderFailure {
error: String,
since: i64,
attempts: u32,
next_attempt: i64,
}
let failure = MountFailure {
error: "fetch My Files root: missing key".into(),
since: 1,
attempts: 1,
next_attempt: 1,
awaiting_keys: true,
not_empty: None,
};
let json = serde_json::to_string(&failure).unwrap();
let older: OlderFailure = serde_json::from_str(&json).unwrap();
assert_eq!(older.next_attempt, 1);
let back: MountFailure = serde_json::from_str(&json).unwrap();
assert!(back.awaiting_keys);
}
/// The error a key that is not the message's recipient really produces,
/// not a hand-written payload.
#[test]
fn a_real_missing_key_failure_waits_for_keys() {
use proton_sdk::crypto::{PrivateKey, generate_node_key};
let unlock = |generated: proton_sdk::crypto::GeneratedNodeKey| {
PrivateKey::from_armored(&generated.locked_armored, &generated.passphrase).unwrap()
};
let recipient = unlock(generate_node_key().unwrap());
let stranger = unlock(generate_node_key().unwrap());
let message = recipient.encrypt(b"root share key").unwrap();
let single = stranger.decrypt_armored_message(&message).unwrap_err();
assert!(RootLookup(single.into()).needs_account_keys());
let any = proton_sdk::crypto::decrypt_armored_with_keys(&message, &[stranger]).unwrap_err();
assert!(RootLookup(any.into()).needs_account_keys());
assert!(
!RootLookup(proton_sdk::ProtonError::invalid_operation("missing key"))
.needs_account_keys()
);
}
} }
+1
View File
@@ -39,3 +39,4 @@ parking_lot.workspace = true
[dev-dependencies] [dev-dependencies]
tracing-subscriber.workspace = true tracing-subscriber.workspace = true
tokio = { workspace = true, features = ["test-util"] }
+3 -1
View File
@@ -129,7 +129,9 @@ use mount::{
}; };
use reads::{BlockFlight, BlockRing, PREFETCH_BUDGET, Prefetch, ReaderSlot, STREAM_BYPASS_MIN}; use reads::{BlockFlight, BlockRing, PREFETCH_BUDGET, Prefetch, ReaderSlot, STREAM_BYPASS_MIN};
use state::{Entry, Intervals, PendingRevision, State, StateGuard, WriteHandle}; use state::{Entry, Intervals, PendingRevision, State, StateGuard, WriteHandle};
pub use systemd::{idle_sleep, status as notify_status, stretch_watchdog_for_startup}; pub use systemd::{
idle_sleep, status as notify_status, stretch_watchdog_for_startup, wait_for_restart,
};
use tracing::{debug, error, info, warn}; use tracing::{debug, error, info, warn};
use transfers::{CountingWriter, JobGuard, OwnedCountingReader, TransferRegistry}; use transfers::{CountingWriter, JobGuard, OwnedCountingReader, TransferRegistry};
use r#virtual::{ use r#virtual::{
+1 -1
View File
@@ -291,7 +291,7 @@ fn fetch_or_recall_root(
None if start == Start::SessionExpired => Err(std::io::Error::other(format!( None if start == Start::SessionExpired => Err(std::io::Error::other(format!(
"Proton refused the session ({err}); run `pdfs login`" "Proton refused the session ({err}); run `pdfs login`"
))), ))),
None => Err(std::io::Error::other(format!("fetch My Files root: {err}"))), None => Err(std::io::Error::other(pdfs_core::mountfail::RootLookup(err))),
} }
} }
+61
View File
@@ -102,6 +102,44 @@ pub fn idle_sleep(duration: Duration) {
} }
} }
/// Keep a cold daemon available for a service restart after key recovery.
pub fn wait_for_restart() -> std::io::Result<()> {
use tokio::signal::unix::{SignalKind, signal};
tokio::runtime::Builder::new_current_thread()
.enable_all()
.build()?
.block_on(async {
let mut terminate = signal(SignalKind::terminate())?;
let mut interrupt = signal(SignalKind::interrupt())?;
let stop = async {
tokio::select! {
_ = terminate.recv() => {}
_ = interrupt.recv() => {}
}
};
park_until(stop, Duration::from_secs(10), watchdog_ping).await;
Ok(())
})
}
/// Call `ping` every `every` until `stop` completes. The parked daemon's whole
/// loop, apart from which signals end it.
async fn park_until(
stop: impl std::future::Future<Output = ()>,
every: Duration,
mut ping: impl FnMut(),
) {
let mut tick = tokio::time::interval(every);
tokio::pin!(stop);
loop {
tokio::select! {
_ = &mut stop => return,
_ = tick.tick() => ping(),
}
}
}
/// How long a mount may take to start before the watchdog counts it as hung. /// How long a mount may take to start before the watchdog counts it as hung.
/// ///
/// Startup has no control socket to probe yet, and on a large account it is /// Startup has no control socket to probe yet, and on a large account it is
@@ -156,3 +194,26 @@ pub(crate) fn watchdog_period() -> Option<Duration> {
let usec: u64 = std::env::var("WATCHDOG_USEC").ok()?.parse().ok()?; let usec: u64 = std::env::var("WATCHDOG_USEC").ok()?.parse().ok()?;
(usec > 0).then(|| Duration::from_micros(usec / 2)) (usec > 0).then(|| Duration::from_micros(usec / 2))
} }
#[cfg(test)]
mod tests {
use super::*;
/// A parked daemon keeps the watchdog fed and returns once stopped, so the
/// restart after key recovery is a clean exit, not a kill.
#[test]
fn a_parked_daemon_pings_until_it_is_stopped() {
let runtime = tokio::runtime::Builder::new_current_thread()
.enable_time()
.start_paused(true)
.build()
.unwrap();
let pings = std::cell::Cell::new(0);
runtime.block_on(async {
let stop = tokio::time::sleep(Duration::from_secs(35));
park_until(stop, Duration::from_secs(10), || pings.set(pings.get() + 1)).await;
});
// Ticks at 0, 10, 20 and 30 seconds, then the stop at 35.
assert_eq!(pings.get(), 4);
}
}
+9
View File
@@ -1993,6 +1993,15 @@ pub(crate) fn service_unreachable(
offer_not_empty(&ui, found); offer_not_empty(&ui, found);
} }
} }
Some(failure) if failure.awaiting_keys => status(
&ui,
"dialog-warning-symbolic",
&gettext("Can't open your Drive"),
&gettext(
"Your account keys could not open My Files. After recovering your keys, choose Retry.",
),
true,
),
Some(failure) => status( Some(failure) => status(
&ui, &ui,
"dialog-warning-symbolic", "dialog-warning-symbolic",
+23 -2
View File
@@ -316,7 +316,7 @@ pub(crate) fn login_error_message(error: &pdfs_core::Error) -> String {
// Proton's text for this one asks the user to update an app that is // Proton's text for this one asks the user to update an app that is
// already current. // already current.
pdfs_core::Error::Proton(e) if pdfs_core::error::sign_in_blocked(e) => gettext( pdfs_core::Error::Proton(e) if pdfs_core::error::sign_in_blocked(e) => gettext(
"Proton is temporarily refusing sign-in from this device. Your app version is not the problem. Wait several hours, up to a day, without trying again, then sign in.", "Proton declined this sign-in (code 2028). Wait before trying again. If it persists, try signing in on the web and mention code 2028 when contacting Proton support.",
), ),
pdfs_core::Error::Proton(ProtonError::Api(api)) if !api.message.is_empty() => { pdfs_core::Error::Proton(ProtonError::Api(api)) if !api.message.is_empty() => {
api.message.clone() api.message.clone()
@@ -770,10 +770,31 @@ mod tests {
details: None, details: None,
})); }));
let message = login_error_message(&error); let message = login_error_message(&error);
assert!(message.contains("temporarily refusing"), "{message}"); assert!(message.contains("code 2028"), "{message}");
assert!(!message.contains("update"), "{message}"); assert!(!message.contains("update"), "{message}");
} }
#[test]
fn outdated_clients_and_rate_limits_keep_their_own_guidance() {
use pdfs_core::proton_sdk::{ProtonApiError, ProtonError, api::ResponseCode};
for (code, status, expected) in [
(ResponseCode::OutdatedApp, 422, "Please update the app"),
(
ResponseCode::TooManyRequests,
429,
"Too many sign-in attempts",
),
] {
let error = ProtonError::Api(ProtonApiError {
code,
http_status: status,
message: "Please update the app".into(),
details: None,
});
assert!(login_error_message(&error.into()).contains(expected));
}
}
#[test] #[test]
fn an_unmapped_error_keeps_its_text() { fn an_unmapped_error_keeps_its_text() {
let error = pdfs_core::Error::Other("something odd".into()); let error = pdfs_core::Error::Other("something odd".into());
+11 -2
View File
@@ -1430,6 +1430,7 @@ pub(crate) fn paint_disconnected(ui: &Rc<Ui>) {
match failure { match failure {
Some(failure) => SyncState::CannotOpen { Some(failure) => SyncState::CannotOpen {
not_empty: failure.not_empty.is_some(), not_empty: failure.not_empty.is_some(),
waiting_for_keys: failure.awaiting_keys,
}, },
None => SyncState::Disconnected, None => SyncState::Disconnected,
}, },
@@ -1482,6 +1483,7 @@ pub(crate) enum SyncState {
/// it refuses a folder that already has files in it. /// it refuses a folder that already has files in it.
CannotOpen { CannotOpen {
not_empty: bool, not_empty: bool,
waiting_for_keys: bool,
}, },
/// The daemon is running but didn't answer in time. /// The daemon is running but didn't answer in time.
NotResponding, NotResponding,
@@ -1586,11 +1588,18 @@ fn paint_sync_status(ui: &Rc<Ui>, state: SyncState) {
gettext("Not connected"), gettext("Not connected"),
Some(gettext("Proton Drive isn't running")), Some(gettext("Proton Drive isn't running")),
), ),
SyncState::CannotOpen { not_empty } => ( SyncState::CannotOpen {
not_empty,
waiting_for_keys,
} => (
"dialog-warning-symbolic", "dialog-warning-symbolic",
Some("warning"), Some("warning"),
gettext("Can't open your Drive"), gettext("Can't open your Drive"),
Some(if not_empty { Some(if waiting_for_keys {
gettext(
"Your account keys could not open My Files. After recovering your keys, choose Retry.",
)
} else if not_empty {
gettext("Your Proton Drive folder isn't empty") gettext("Your Proton Drive folder isn't empty")
} else { } else {
gettext("Proton Drive keeps trying to start") gettext("Proton Drive keeps trying to start")
+8 -5
View File
@@ -197,18 +197,21 @@ fn poll_state(socket: &Path, default_mountpoint: &Path) -> DriveState {
// A daemon whose mount fails on every try never opens the // A daemon whose mount fails on every try never opens the
// socket; the app says why (B263). // socket; the app says why (B263).
Ok(s) Ok(s)
if socket if let Some(failure) = socket.parent().and_then(pdfs_core::mountfail::read) =>
.parent()
.and_then(pdfs_core::mountfail::read)
.is_some() =>
{ {
( (
if failure.awaiting_keys {
gettext(
"Your account keys could not open My Files. After recovering your keys, choose Retry.",
)
} else {
// Translators: {username} is the Proton account name. The // Translators: {username} is the Proton account name. The
// service keeps failing to start; the app shows the error. // service keeps failing to start; the app shows the error.
gettext_f( gettext_f(
"Signed in as {username} — can't open your Drive", "Signed in as {username} — can't open your Drive",
&[("username", &s.username)], &[("username", &s.username)],
), )
},
Phase::Attention, Phase::Attention,
) )
} }
+2 -2
View File
@@ -1335,7 +1335,7 @@ and stop.
### B263 — A mount that can never succeed retries every 5 s and tells only the journal ### B263 — A mount that can never succeed retries every 5 s and tells only the journal
**Status:** Partly fixed. Errors that no retry fixes are not told apart from network errors yet. **Status:** Partly fixed. A cold root lookup that needs account keys waits for recovery. Other persistent startup errors still back off and retry.
**Found:** 2026-10-31, issue #40: the app showed "Connecting… waiting for the Proton Drive **Found:** 2026-10-31, issue #40: the app showed "Connecting… waiting for the Proton Drive
service" for days, `pdfs diagnose` only reported the control socket missing, and the reporter service" for days, `pdfs diagnose` only reported the control socket missing, and the reporter
uninstalled. uninstalled.
@@ -1363,7 +1363,7 @@ the error is written nowhere a front end can read it.
- The app shows "Can't open your Drive" with the error and a Retry button instead of - The app shows "Can't open your Drive" with the error and a Retry button instead of
"Connecting…". The tray says "Signed in as … — can't open your Drive". `pdfs diagnose` reports "Connecting…". The tray says "Signed in as … — can't open your Drive". `pdfs diagnose` reports
`[FAIL] mount: failing for …`. `systemctl --user status` shows the error as the unit's status. `[FAIL] mount: failing for …`. `systemctl --user status` shows the error as the unit's status.
- Not done: key, `KeysLocked` and 4xx errors still retry like network errors, only less often. - With no cached root, a locked keychain or a missing decryption key parks the daemon until Retry or a fresh login restarts the service (#40). Other crypto and HTTP errors still use the bounded retry schedule.
**Test:** `a_failing_mount_backs_off_to_a_ceiling` in `pdfs-cli`; **Test:** `a_failing_mount_backs_off_to_a_ceiling` in `pdfs-cli`;
`a_recorded_failure_reads_back_until_cleared` in `pdfs-core`. On 2026-10-31 a second `a_recorded_failure_reads_back_until_cleared` in `pdfs-core`. On 2026-10-31 a second
+3
View File
@@ -11,6 +11,9 @@ scratch (user data in `staging/` and `recovery/` is never touched by this).
## [Unreleased] ## [Unreleased]
- A cold mount whose account keys cannot open My Files waits for Retry or a fresh sign-in (#40).
- Sign-in failures with Proton code 2028 now give consistent recovery guidance in the desktop app and CLI (#39).
## [3.10.0] — 2026-11-22 ## [3.10.0] — 2026-11-22
Schema: **47**. The trash table gets an index on the original folder, and its stored rows are Schema: **47**. The trash table gets an index on the original folder, and its stored rows are
+13 -7
View File
@@ -100,14 +100,14 @@ The page then runs without WebKit's isolation, so use this only for the sign-in.
session keeps working without it. Signing in from your usual network, without a VPN, often avoids session keeps working without it. Signing in from your usual network, without a VPN, often avoids
the CAPTCHA in the first place. the CAPTCHA in the first place.
### "This version of the app is no longer supported" or "Proton is temporarily refusing sign-in from this device" ### "This version of the app is no longer supported" or sign-in code 2028
Proton blocks sign-in for a while after too many attempts, or from a network it distrusts. It sends For code 2028, pause before trying again. Proton does not give the client an expiry time.
the first message even when your version is current. Do not retry for several hours, up to a day, If the block persists, check whether you can sign in at [Drive on the web](https://drive.proton.me)
then sign in once. and mention the code, client version and web sign-in result when contacting Proton support.
If it still fails, run `RUST_LOG=debug pdfs login` and look for `code=` in the If an older client only says to update, look for the `proton api request failed` line in
`proton api request failed` line. 2028 is this block; 5003 is a release Proton no longer accepts. `RUST_LOG=debug pdfs login`. Code 5003 means Proton no longer accepts that app version.
### Sign-in works but is forgotten after a restart ### Sign-in works but is forgotten after a restart
@@ -162,7 +162,13 @@ session before it shows your files.
### `fetch My Files root: … failed to decrypt: missing key` in the log ### `fetch My Files root: … failed to decrypt: missing key` in the log
Your account keys cannot open your Drive, which happens after a password reset: Proton locks the If Drive on the web opens your files, run `pdfs diagnose` and check the **Keys** section.
A missing address key can prevent My Files from opening even when sign-in succeeded. On a
cold start with no cached root the daemon waits for key recovery. After recovering your keys,
choose **Retry** in the app or run `systemctl --user restart proton-drive.service`. If it still
fails, include the client version and the redacted Keys findings in your report.
If the web app also shows locked files after a password reset, Proton locks the
files that were encrypted with the old keys. Since 3.4.1 the client then starts a new, empty My files that were encrypted with the old keys. Since 3.4.1 the client then starts a new, empty My
files. Your old files are still there, locked: open [drive.proton.me](https://drive.proton.me) and files. Your old files are still there, locked: open [drive.proton.me](https://drive.proton.me) and
restore them with your previous password. If your files are not locked and the error stays, run restore them with your previous password. If your files are not locked and the error stays, run
Binary file not shown.

After

Width:  |  Height:  |  Size: 44 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 54 KiB

+11 -7
View File
@@ -5,7 +5,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: proton-drive-linux 2.1.0\n" "Project-Id-Version: proton-drive-linux 2.1.0\n"
"Report-Msgid-Bugs-To: https://github.com/narrrl/proton-drive-linux/issues\n" "Report-Msgid-Bugs-To: https://github.com/narrrl/proton-drive-linux/issues\n"
"POT-Creation-Date: 2026-11-22 02:24+0100\n" "POT-Creation-Date: 2026-11-24 21:18+0100\n"
"PO-Revision-Date: 2026-09-23 12:00+0200\n" "PO-Revision-Date: 2026-09-23 12:00+0200\n"
"Last-Translator: Proton Drive for Linux contributors\n" "Last-Translator: Proton Drive for Linux contributors\n"
"Language-Team: German\n" "Language-Team: German\n"
@@ -57,6 +57,10 @@ msgstr "%-d. %b %Y"
msgid "%A, %B %-d, %Y, %H:%M" msgid "%A, %B %-d, %Y, %H:%M"
msgstr "%A, %-d. %B %Y, %H:%M" msgstr "%A, %-d. %B %Y, %H:%M"
#: crates/pdfs-gui/src/app/main.rs crates/pdfs-gui/src/app/pages/status.rs crates/pdfs-gui/src/main.rs
msgid "Your account keys could not open My Files. After recovering your keys, choose Retry."
msgstr "Deine Kontoschlüssel konnten „Meine Dateien“ nicht öffnen. Stelle die Schlüssel wieder her und wähle „Erneut versuchen“."
#: crates/pdfs-gui/src/app/main.rs:961 #: crates/pdfs-gui/src/app/main.rs:961
#: crates/pdfs-gui/src/app/pages/activity_text.rs:543 #: crates/pdfs-gui/src/app/pages/activity_text.rs:543
#: crates/pdfs-gui/src/app/pages/browser.rs:473 #: crates/pdfs-gui/src/app/pages/browser.rs:473
@@ -3711,13 +3715,13 @@ msgstr "Zu viele Anmeldeversuche. Einige Minuten warten und erneut versuchen."
#: crates/pdfs-gui/src/app/pages/login.rs:319 #: crates/pdfs-gui/src/app/pages/login.rs:319
msgid "" msgid ""
"Proton is temporarily refusing sign-in from this device. Your app version is " "Proton declined this sign-in (code 2028). Wait before trying again. If it "
"not the problem. Wait several hours, up to a day, without trying again, then " "persists, try signing in on the web and mention code 2028 when contacting "
"sign in." "Proton support."
msgstr "" msgstr ""
"Proton lehnt Anmeldungen von diesem Gerät vorübergehend ab. Die App-Version " "Proton hat diese Anmeldung abgelehnt (Code 2028). Vor einem erneuten Versuch "
"ist nicht das Problem. Einige Stunden, bis zu einem Tag, warten, ohne es " "warten. Bleibt das Problem bestehen, die Anmeldung im Browser versuchen und "
"erneut zu versuchen, dann anmelden." "dem Proton-Support den Code 2028 nennen."
#: crates/pdfs-gui/src/app/pages/login.rs:325 #: crates/pdfs-gui/src/app/pages/login.rs:325
msgid "Couldn't reach Proton. Check your internet connection and try again." msgid "Couldn't reach Proton. Check your internet connection and try again."
+11 -7
View File
@@ -5,7 +5,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: proton-drive-linux 2.1.0\n" "Project-Id-Version: proton-drive-linux 2.1.0\n"
"Report-Msgid-Bugs-To: https://github.com/narrrl/proton-drive-linux/issues\n" "Report-Msgid-Bugs-To: https://github.com/narrrl/proton-drive-linux/issues\n"
"POT-Creation-Date: 2026-11-22 02:24+0100\n" "POT-Creation-Date: 2026-11-24 21:18+0100\n"
"PO-Revision-Date: 2026-09-23 12:00+0200\n" "PO-Revision-Date: 2026-09-23 12:00+0200\n"
"Last-Translator: Proton Drive for Linux contributors\n" "Last-Translator: Proton Drive for Linux contributors\n"
"Language-Team: English (United Kingdom)\n" "Language-Team: English (United Kingdom)\n"
@@ -57,6 +57,10 @@ msgstr "%-d %b %Y"
msgid "%A, %B %-d, %Y, %H:%M" msgid "%A, %B %-d, %Y, %H:%M"
msgstr "%A %-d %B %Y, %H:%M" msgstr "%A %-d %B %Y, %H:%M"
#: crates/pdfs-gui/src/app/main.rs crates/pdfs-gui/src/app/pages/status.rs crates/pdfs-gui/src/main.rs
msgid "Your account keys could not open My Files. After recovering your keys, choose Retry."
msgstr "Your account keys could not open My Files. After recovering your keys, choose Retry."
#: crates/pdfs-gui/src/app/main.rs:961 #: crates/pdfs-gui/src/app/main.rs:961
#: crates/pdfs-gui/src/app/pages/activity_text.rs:543 #: crates/pdfs-gui/src/app/pages/activity_text.rs:543
#: crates/pdfs-gui/src/app/pages/browser.rs:473 #: crates/pdfs-gui/src/app/pages/browser.rs:473
@@ -3653,13 +3657,13 @@ msgstr "Too many sign-in attempts. Wait a few minutes and try again."
#: crates/pdfs-gui/src/app/pages/login.rs:319 #: crates/pdfs-gui/src/app/pages/login.rs:319
msgid "" msgid ""
"Proton is temporarily refusing sign-in from this device. Your app version is " "Proton declined this sign-in (code 2028). Wait before trying again. If it "
"not the problem. Wait several hours, up to a day, without trying again, then " "persists, try signing in on the web and mention code 2028 when contacting "
"sign in." "Proton support."
msgstr "" msgstr ""
"Proton is temporarily refusing sign-in from this device. Your app version is " "Proton declined this sign-in (code 2028). Wait before trying again. If it "
"not the problem. Wait several hours, up to a day, without trying again, then " "persists, try signing in on the web and mention code 2028 when contacting "
"sign in." "Proton support."
#: crates/pdfs-gui/src/app/pages/login.rs:325 #: crates/pdfs-gui/src/app/pages/login.rs:325
msgid "Couldn't reach Proton. Check your internet connection and try again." msgid "Couldn't reach Proton. Check your internet connection and try again."
+11 -7
View File
@@ -5,7 +5,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: proton-drive-linux 2.1.0\n" "Project-Id-Version: proton-drive-linux 2.1.0\n"
"Report-Msgid-Bugs-To: https://github.com/narrrl/proton-drive-linux/issues\n" "Report-Msgid-Bugs-To: https://github.com/narrrl/proton-drive-linux/issues\n"
"POT-Creation-Date: 2026-11-22 02:24+0100\n" "POT-Creation-Date: 2026-11-24 21:18+0100\n"
"PO-Revision-Date: 2026-09-23 12:00+0200\n" "PO-Revision-Date: 2026-09-23 12:00+0200\n"
"Last-Translator: Proton Drive for Linux contributors\n" "Last-Translator: Proton Drive for Linux contributors\n"
"Language-Team: Spanish\n" "Language-Team: Spanish\n"
@@ -57,6 +57,10 @@ msgstr "%-d %b %Y"
msgid "%A, %B %-d, %Y, %H:%M" msgid "%A, %B %-d, %Y, %H:%M"
msgstr "%A, %-d de %B de %Y, %H:%M" msgstr "%A, %-d de %B de %Y, %H:%M"
#: crates/pdfs-gui/src/app/main.rs crates/pdfs-gui/src/app/pages/status.rs crates/pdfs-gui/src/main.rs
msgid "Your account keys could not open My Files. After recovering your keys, choose Retry."
msgstr "Las claves de tu cuenta no pudieron abrir Mis archivos. Tras recuperarlas, selecciona Reintentar."
#: crates/pdfs-gui/src/app/main.rs:961 #: crates/pdfs-gui/src/app/main.rs:961
#: crates/pdfs-gui/src/app/pages/activity_text.rs:543 #: crates/pdfs-gui/src/app/pages/activity_text.rs:543
#: crates/pdfs-gui/src/app/pages/browser.rs:473 #: crates/pdfs-gui/src/app/pages/browser.rs:473
@@ -3686,13 +3690,13 @@ msgstr ""
#: crates/pdfs-gui/src/app/pages/login.rs:319 #: crates/pdfs-gui/src/app/pages/login.rs:319
msgid "" msgid ""
"Proton is temporarily refusing sign-in from this device. Your app version is " "Proton declined this sign-in (code 2028). Wait before trying again. If it "
"not the problem. Wait several hours, up to a day, without trying again, then " "persists, try signing in on the web and mention code 2028 when contacting "
"sign in." "Proton support."
msgstr "" msgstr ""
"Proton rechaza temporalmente el inicio de sesión desde este dispositivo. La " "Proton ha rechazado este inicio de sesión (código 2028). Espera antes de "
"versión de la aplicación no es el problema. Espere varias horas, hasta un " "volver a intentarlo. Si el problema persiste, prueba a iniciar sesión en la "
"día, sin volver a intentarlo y luego inicie sesión." "web y menciona el código 2028 al contactar con el soporte de Proton."
#: crates/pdfs-gui/src/app/pages/login.rs:325 #: crates/pdfs-gui/src/app/pages/login.rs:325
msgid "Couldn't reach Proton. Check your internet connection and try again." msgid "Couldn't reach Proton. Check your internet connection and try again."
+11 -7
View File
@@ -5,7 +5,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: proton-drive-linux 2.1.0\n" "Project-Id-Version: proton-drive-linux 2.1.0\n"
"Report-Msgid-Bugs-To: https://github.com/narrrl/proton-drive-linux/issues\n" "Report-Msgid-Bugs-To: https://github.com/narrrl/proton-drive-linux/issues\n"
"POT-Creation-Date: 2026-11-22 02:24+0100\n" "POT-Creation-Date: 2026-11-24 21:18+0100\n"
"PO-Revision-Date: 2026-09-23 12:00+0200\n" "PO-Revision-Date: 2026-09-23 12:00+0200\n"
"Last-Translator: Proton Drive for Linux contributors\n" "Last-Translator: Proton Drive for Linux contributors\n"
"Language-Team: French\n" "Language-Team: French\n"
@@ -57,6 +57,10 @@ msgstr "%-d %b %Y"
msgid "%A, %B %-d, %Y, %H:%M" msgid "%A, %B %-d, %Y, %H:%M"
msgstr "%A %-d %B %Y à %H:%M" msgstr "%A %-d %B %Y à %H:%M"
#: crates/pdfs-gui/src/app/main.rs crates/pdfs-gui/src/app/pages/status.rs crates/pdfs-gui/src/main.rs
msgid "Your account keys could not open My Files. After recovering your keys, choose Retry."
msgstr "Les clés de votre compte n’ont pas pu ouvrir Mes fichiers. Après les avoir récupérées, choisissez Réessayer."
#: crates/pdfs-gui/src/app/main.rs:961 #: crates/pdfs-gui/src/app/main.rs:961
#: crates/pdfs-gui/src/app/pages/activity_text.rs:543 #: crates/pdfs-gui/src/app/pages/activity_text.rs:543
#: crates/pdfs-gui/src/app/pages/browser.rs:473 #: crates/pdfs-gui/src/app/pages/browser.rs:473
@@ -3711,13 +3715,13 @@ msgstr ""
#: crates/pdfs-gui/src/app/pages/login.rs:319 #: crates/pdfs-gui/src/app/pages/login.rs:319
msgid "" msgid ""
"Proton is temporarily refusing sign-in from this device. Your app version is " "Proton declined this sign-in (code 2028). Wait before trying again. If it "
"not the problem. Wait several hours, up to a day, without trying again, then " "persists, try signing in on the web and mention code 2028 when contacting "
"sign in." "Proton support."
msgstr "" msgstr ""
"Proton refuse temporairement la connexion depuis cet appareil. La version de " "Proton a refusé cette connexion (code 2028). Patientez avant de réessayer. "
"l’application n’est pas en cause. Patientez plusieurs heures, jusqu’à un " "Si le problème persiste, essayez de vous connecter sur le Web et indiquez le "
"jour, sans réessayer, puis connectez-vous." "code 2028 à l’assistance Proton."
#: crates/pdfs-gui/src/app/pages/login.rs:325 #: crates/pdfs-gui/src/app/pages/login.rs:325
msgid "Couldn't reach Proton. Check your internet connection and try again." msgid "Couldn't reach Proton. Check your internet connection and try again."
+11 -7
View File
@@ -5,7 +5,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: proton-drive-linux 2.1.0\n" "Project-Id-Version: proton-drive-linux 2.1.0\n"
"Report-Msgid-Bugs-To: https://github.com/narrrl/proton-drive-linux/issues\n" "Report-Msgid-Bugs-To: https://github.com/narrrl/proton-drive-linux/issues\n"
"POT-Creation-Date: 2026-11-22 02:24+0100\n" "POT-Creation-Date: 2026-11-24 21:18+0100\n"
"PO-Revision-Date: 2026-09-23 12:00+0200\n" "PO-Revision-Date: 2026-09-23 12:00+0200\n"
"Last-Translator: Proton Drive for Linux contributors\n" "Last-Translator: Proton Drive for Linux contributors\n"
"Language-Team: Italian\n" "Language-Team: Italian\n"
@@ -57,6 +57,10 @@ msgstr "%-d %b %Y"
msgid "%A, %B %-d, %Y, %H:%M" msgid "%A, %B %-d, %Y, %H:%M"
msgstr "%A %-d %B %Y, %H:%M" msgstr "%A %-d %B %Y, %H:%M"
#: crates/pdfs-gui/src/app/main.rs crates/pdfs-gui/src/app/pages/status.rs crates/pdfs-gui/src/main.rs
msgid "Your account keys could not open My Files. After recovering your keys, choose Retry."
msgstr "Le chiavi del tuo account non hanno potuto aprire I miei file. Dopo averle recuperate, scegli Riprova."
#: crates/pdfs-gui/src/app/main.rs:961 #: crates/pdfs-gui/src/app/main.rs:961
#: crates/pdfs-gui/src/app/pages/activity_text.rs:543 #: crates/pdfs-gui/src/app/pages/activity_text.rs:543
#: crates/pdfs-gui/src/app/pages/browser.rs:473 #: crates/pdfs-gui/src/app/pages/browser.rs:473
@@ -3699,13 +3703,13 @@ msgstr "Troppi tentativi di accesso. Attendi qualche minuto e riprova."
#: crates/pdfs-gui/src/app/pages/login.rs:319 #: crates/pdfs-gui/src/app/pages/login.rs:319
msgid "" msgid ""
"Proton is temporarily refusing sign-in from this device. Your app version is " "Proton declined this sign-in (code 2028). Wait before trying again. If it "
"not the problem. Wait several hours, up to a day, without trying again, then " "persists, try signing in on the web and mention code 2028 when contacting "
"sign in." "Proton support."
msgstr "" msgstr ""
"Proton sta rifiutando temporaneamente l'accesso da questo dispositivo. La " "Proton ha rifiutato questo accesso (codice 2028). Attendi prima di "
"versione dell'app non è il problema. Attendi alcune ore, fino a un giorno, " "riprovare. Se il problema persiste, prova ad accedere dal web e indica il "
"senza riprovare, poi accedi." "codice 2028 quando contatti l’assistenza Proton."
#: crates/pdfs-gui/src/app/pages/login.rs:325 #: crates/pdfs-gui/src/app/pages/login.rs:325
msgid "Couldn't reach Proton. Check your internet connection and try again." msgid "Couldn't reach Proton. Check your internet connection and try again."
+12 -7
View File
@@ -5,7 +5,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: proton-drive-linux 2.1.0\n" "Project-Id-Version: proton-drive-linux 2.1.0\n"
"Report-Msgid-Bugs-To: https://github.com/narrrl/proton-drive-linux/issues\n" "Report-Msgid-Bugs-To: https://github.com/narrrl/proton-drive-linux/issues\n"
"POT-Creation-Date: 2026-11-22 02:24+0100\n" "POT-Creation-Date: 2026-11-24 21:18+0100\n"
"PO-Revision-Date: 2026-09-23 12:00+0200\n" "PO-Revision-Date: 2026-09-23 12:00+0200\n"
"Last-Translator: Proton Drive for Linux contributors\n" "Last-Translator: Proton Drive for Linux contributors\n"
"Language-Team: Dutch\n" "Language-Team: Dutch\n"
@@ -57,6 +57,10 @@ msgstr "%-d %b %Y"
msgid "%A, %B %-d, %Y, %H:%M" msgid "%A, %B %-d, %Y, %H:%M"
msgstr "%A %-d %B %Y, %H:%M" msgstr "%A %-d %B %Y, %H:%M"
#: crates/pdfs-gui/src/app/main.rs crates/pdfs-gui/src/app/pages/status.rs crates/pdfs-gui/src/main.rs
msgid "Your account keys could not open My Files. After recovering your keys, choose Retry."
msgstr "Je accountsleutels konden Mijn bestanden niet openen. Herstel je sleutels en kies Opnieuw proberen."
#: crates/pdfs-gui/src/app/main.rs:961 #: crates/pdfs-gui/src/app/main.rs:961
#: crates/pdfs-gui/src/app/pages/activity_text.rs:543 #: crates/pdfs-gui/src/app/pages/activity_text.rs:543
#: crates/pdfs-gui/src/app/pages/browser.rs:473 #: crates/pdfs-gui/src/app/pages/browser.rs:473
@@ -3695,13 +3699,14 @@ msgstr ""
#: crates/pdfs-gui/src/app/pages/login.rs:319 #: crates/pdfs-gui/src/app/pages/login.rs:319
msgid "" msgid ""
"Proton is temporarily refusing sign-in from this device. Your app version is " "Proton declined this sign-in (code 2028). Wait before trying again. If it "
"not the problem. Wait several hours, up to a day, without trying again, then " "persists, try signing in on the web and mention code 2028 when contacting "
"sign in." "Proton support."
msgstr "" msgstr ""
"Proton weigert tijdelijk aanmeldingen vanaf dit apparaat. Je app-versie is " "Proton heeft deze aanmelding geweigerd (code 2028). Wacht voordat je het "
"niet het probleem. Wacht enkele uren, tot een dag, zonder het opnieuw te " "opnieuw probeert. Blijft het probleem bestaan, probeer dan via de website in "
"proberen en meld je daarna aan." "te loggen en vermeld code 2028 wanneer je contact opneemt met Proton-"
"ondersteuning."
#: crates/pdfs-gui/src/app/pages/login.rs:325 #: crates/pdfs-gui/src/app/pages/login.rs:325
msgid "Couldn't reach Proton. Check your internet connection and try again." msgid "Couldn't reach Proton. Check your internet connection and try again."
+8 -4
View File
@@ -8,7 +8,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: proton-drive-linux 3.10.0\n" "Project-Id-Version: proton-drive-linux 3.10.0\n"
"Report-Msgid-Bugs-To: https://github.com/narrrl/proton-drive-linux/issues\n" "Report-Msgid-Bugs-To: https://github.com/narrrl/proton-drive-linux/issues\n"
"POT-Creation-Date: 2026-11-22 02:24+0100\n" "POT-Creation-Date: 2026-11-24 21:18+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n" "Language-Team: LANGUAGE <LL@li.org>\n"
@@ -60,6 +60,10 @@ msgstr ""
msgid "%A, %B %-d, %Y, %H:%M" msgid "%A, %B %-d, %Y, %H:%M"
msgstr "" msgstr ""
#: crates/pdfs-gui/src/app/main.rs crates/pdfs-gui/src/app/pages/status.rs crates/pdfs-gui/src/main.rs
msgid "Your account keys could not open My Files. After recovering your keys, choose Retry."
msgstr ""
#: crates/pdfs-gui/src/app/main.rs:961 #: crates/pdfs-gui/src/app/main.rs:961
#: crates/pdfs-gui/src/app/pages/activity_text.rs:543 #: crates/pdfs-gui/src/app/pages/activity_text.rs:543
#: crates/pdfs-gui/src/app/pages/browser.rs:473 #: crates/pdfs-gui/src/app/pages/browser.rs:473
@@ -3529,9 +3533,9 @@ msgstr ""
#: crates/pdfs-gui/src/app/pages/login.rs:319 #: crates/pdfs-gui/src/app/pages/login.rs:319
msgid "" msgid ""
"Proton is temporarily refusing sign-in from this device. Your app version is " "Proton declined this sign-in (code 2028). Wait before trying again. If it "
"not the problem. Wait several hours, up to a day, without trying again, then " "persists, try signing in on the web and mention code 2028 when contacting "
"sign in." "Proton support."
msgstr "" msgstr ""
#: crates/pdfs-gui/src/app/pages/login.rs:325 #: crates/pdfs-gui/src/app/pages/login.rs:325
+11 -7
View File
@@ -5,7 +5,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: proton-drive-linux 2.1.0\n" "Project-Id-Version: proton-drive-linux 2.1.0\n"
"Report-Msgid-Bugs-To: https://github.com/narrrl/proton-drive-linux/issues\n" "Report-Msgid-Bugs-To: https://github.com/narrrl/proton-drive-linux/issues\n"
"POT-Creation-Date: 2026-11-22 02:24+0100\n" "POT-Creation-Date: 2026-11-24 21:18+0100\n"
"PO-Revision-Date: 2026-09-23 12:00+0200\n" "PO-Revision-Date: 2026-09-23 12:00+0200\n"
"Last-Translator: Proton Drive for Linux contributors\n" "Last-Translator: Proton Drive for Linux contributors\n"
"Language-Team: Polish\n" "Language-Team: Polish\n"
@@ -59,6 +59,10 @@ msgstr "%-d %b %Y"
msgid "%A, %B %-d, %Y, %H:%M" msgid "%A, %B %-d, %Y, %H:%M"
msgstr "%A, %-d %B %Y, %H:%M" msgstr "%A, %-d %B %Y, %H:%M"
#: crates/pdfs-gui/src/app/main.rs crates/pdfs-gui/src/app/pages/status.rs crates/pdfs-gui/src/main.rs
msgid "Your account keys could not open My Files. After recovering your keys, choose Retry."
msgstr "Klucze konta nie pozwoliły otworzyć sekcji Moje pliki. Po odzyskaniu kluczy wybierz Ponów próbę."
#: crates/pdfs-gui/src/app/main.rs:961 #: crates/pdfs-gui/src/app/main.rs:961
#: crates/pdfs-gui/src/app/pages/activity_text.rs:543 #: crates/pdfs-gui/src/app/pages/activity_text.rs:543
#: crates/pdfs-gui/src/app/pages/browser.rs:473 #: crates/pdfs-gui/src/app/pages/browser.rs:473
@@ -3763,13 +3767,13 @@ msgstr ""
#: crates/pdfs-gui/src/app/pages/login.rs:319 #: crates/pdfs-gui/src/app/pages/login.rs:319
msgid "" msgid ""
"Proton is temporarily refusing sign-in from this device. Your app version is " "Proton declined this sign-in (code 2028). Wait before trying again. If it "
"not the problem. Wait several hours, up to a day, without trying again, then " "persists, try signing in on the web and mention code 2028 when contacting "
"sign in." "Proton support."
msgstr "" msgstr ""
"Proton tymczasowo odrzuca logowanie z tego urządzenia. Wersja aplikacji nie " "Proton odrzucił tę próbę logowania (kod 2028). Poczekaj przed kolejną próbą. "
"jest problemem. Proszę odczekać kilka godzin, maksymalnie dobę, bez " "Jeśli problem nie ustąpi, spróbuj zalogować się przez przeglądarkę i podaj "
"ponownych prób, a następnie się zalogować." "kod 2028 podczas kontaktu z pomocą techniczną Proton."
#: crates/pdfs-gui/src/app/pages/login.rs:325 #: crates/pdfs-gui/src/app/pages/login.rs:325
msgid "Couldn't reach Proton. Check your internet connection and try again." msgid "Couldn't reach Proton. Check your internet connection and try again."
+11 -7
View File
@@ -5,7 +5,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: proton-drive-linux 2.1.0\n" "Project-Id-Version: proton-drive-linux 2.1.0\n"
"Report-Msgid-Bugs-To: https://github.com/narrrl/proton-drive-linux/issues\n" "Report-Msgid-Bugs-To: https://github.com/narrrl/proton-drive-linux/issues\n"
"POT-Creation-Date: 2026-11-22 02:24+0100\n" "POT-Creation-Date: 2026-11-24 21:18+0100\n"
"PO-Revision-Date: 2026-09-23 12:00+0200\n" "PO-Revision-Date: 2026-09-23 12:00+0200\n"
"Last-Translator: Proton Drive for Linux contributors\n" "Last-Translator: Proton Drive for Linux contributors\n"
"Language-Team: Portuguese (Brazil)\n" "Language-Team: Portuguese (Brazil)\n"
@@ -57,6 +57,10 @@ msgstr "%-d de %b de %Y"
msgid "%A, %B %-d, %Y, %H:%M" msgid "%A, %B %-d, %Y, %H:%M"
msgstr "%A, %-d de %B de %Y, %H:%M" msgstr "%A, %-d de %B de %Y, %H:%M"
#: crates/pdfs-gui/src/app/main.rs crates/pdfs-gui/src/app/pages/status.rs crates/pdfs-gui/src/main.rs
msgid "Your account keys could not open My Files. After recovering your keys, choose Retry."
msgstr "As chaves da sua conta não conseguiram abrir Meus arquivos. Após recuperá-las, selecione Tentar novamente."
#: crates/pdfs-gui/src/app/main.rs:961 #: crates/pdfs-gui/src/app/main.rs:961
#: crates/pdfs-gui/src/app/pages/activity_text.rs:543 #: crates/pdfs-gui/src/app/pages/activity_text.rs:543
#: crates/pdfs-gui/src/app/pages/browser.rs:473 #: crates/pdfs-gui/src/app/pages/browser.rs:473
@@ -3685,13 +3689,13 @@ msgstr "Muitas tentativas de entrar. Aguarde alguns minutos e tente novamente."
#: crates/pdfs-gui/src/app/pages/login.rs:319 #: crates/pdfs-gui/src/app/pages/login.rs:319
msgid "" msgid ""
"Proton is temporarily refusing sign-in from this device. Your app version is " "Proton declined this sign-in (code 2028). Wait before trying again. If it "
"not the problem. Wait several hours, up to a day, without trying again, then " "persists, try signing in on the web and mention code 2028 when contacting "
"sign in." "Proton support."
msgstr "" msgstr ""
"O Proton está recusando temporariamente a entrada a partir deste " "O Proton recusou este login (código 2028). Aguarde antes de tentar "
"dispositivo. A versão do app não é o problema. Aguarde algumas horas, até um " "novamente. Se o problema persistir, tente entrar pela web e informe o código "
"dia, sem tentar novamente e depois entre." "2028 ao contatar o suporte do Proton."
#: crates/pdfs-gui/src/app/pages/login.rs:325 #: crates/pdfs-gui/src/app/pages/login.rs:325
msgid "Couldn't reach Proton. Check your internet connection and try again." msgid "Couldn't reach Proton. Check your internet connection and try again."