reMarkable Cloud sync fails after pairing — safeStorage token decrypts to empty on managed Windows (enc:true unreadable)
Send the following to the technical team.
Summary
On a corporate-managed Windows machine, reMarkable Cloud sync consistently fails with "Couldn't connect to reMarkable Cloud." Re-pairing with a fresh one-time code does not help — pairing succeeds, but every
subsequent cloud operation fails.
Environment
- App: EP CalSync (Programs\CalSync), app version reported as 1.7.3 (executable) / 1.7.1 (device record).
- Device: reMarkable Paper Pro Move, connectionMode: cloud.
- OS: Windows (corporate/domain-managed).
- Security stack on the machine: CrowdStrike Falcon, Trend Micro Apex One, plus corporate Group Policy.
- Note: The Windows domain password is due to expire in a few days (user has not changed it yet).
What works (ruled out as the cause)
- Internet connectivity is fine. reMarkable endpoints are reachable: my.remarkable.com returns 200; eu.tectonic.remarkable.com and internal.cloud.remarkable.com return 401 (expected without token). TLS
handshakes to reMarkable succeed with no corporate interception.
- The Google/Google Tasks credentials load correctly (gcal-creds.json, gtasks-creds.json).
Root cause (confirmed)
The reMarkable cloud token is stored encrypted but decrypts to an empty string on read, so loadRemarkableCloudToken() returns '' and the app treats the device as "not connected."
- remarkable-cloud-creds.json contains { "token": { "enc": true, "v": "<base64>" } } (589 bytes). The encrypted envelope is written correctly at pairing time.
- On read, snDec() takes the enc:true branch and calls safeStorage.decryptString(buf). On this machine that call fails to return the original token (safeStorage/DPAPI decrypt is unreliable — likely due to
the managed environment and/or imminent domain password rotation, which affects the DPAPI master key). Per your own code comment, this is the documented "root cause of the cloud-connect-after-pairing
reports."
- Because snDec() returns '' for a non-recoverable enc:true value, re-pairing cannot fix it: each new token is saved encrypted and comes back empty on the next read.
Impact
Cloud sync is completely blocked on this machine, with no user-facing recovery path. USB and Wi-Fi (SSH/developer mode) are not acceptable options for this user, so cloud is the only viable lane.
Requested fix / suggestions
1. Provide a fallback or user setting to store the token with enc:false (base64-only, no safeStorage) on machines where safeStorage.decryptString round-trips fail. snEnc() already supports the enc:false
path; the issue is only that isEncryptionAvailable() returns true at save time but decrypt fails later.
2. At pairing time, after saveRemarkableCloudToken(token), the round-trip check already runs — consider extending it so that if the encrypted round-trip fails, the app automatically falls back to enc:false
storage instead of surfacing a keychain error, so cloud sync keeps working.
3. Optionally, detect a non-recoverable enc:true token on load and prompt a specific "your secure store can't read the saved login — switch to unencrypted token storage?" action rather than a generic
"Couldn't connect."
Happy to provide logs or test a build. Thank you.
0
0 comments
Jose J
3
reMarkable Cloud sync fails after pairing — safeStorage token decrypts to empty on managed Windows (enc:true unreadable)
E-Ink Tablet Users
skool.com/einkpads
Learn. Share. Create. — Empowering reMarkable, Supernote, and BOOX tablet users worldwide. einkpads.com
Leaderboard (30-day)
Powered by