Android: Storage permission immediately dropped on GrapheneOS
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 45/100
調査の方向性
まず、ログに示されている AuthenticateCloudPrester の権限処理を追跡し、次に、記載されている Syncthing vault のセットアップを使って GrapheneOS Android 17 でフォルダー選択フローを再現します。アクセスを許可しても permission-revoked ループが直ちに発生せず、ローカル vault を追加できれば完了です。
索引モデルが issue の本文から書いたものです。
説明
Please agree to the following
- I have searched existing issues for duplicates
- I agree to follow this project's Code of Conduct
Summary
On GrapheneOS, Cryptomator’s Android app instantly loses storage permission for a local vault folder upon granting it.
System Setup
GrapheneOS Android 17, Pixel 9 Pro XL
Cryptomator Android v1.12.3 (F-Droid)
Other software: Syncthing-Fork (vault directory is fully synced and Syncthing can read/write it fine)
Storage Scopes were enabled for the folder.
Internal shared storage
I can see the vault files are there when I navigate to it within Cryptomator.
Cloud Type
Local storage
Steps to Reproduce
- "Tap here to create a new vault"
- "Add existing vault"
- select "Local storage"
- Navigate to the Syncthing folder then the vault folder
- select "Use this folder"
- Prompt "Allow Cryptomator to access this folder? Allow access for [vaultname]" appears,
- select "Allow"
- Banner on the very bottom instantly appears: "Cryptomator has lost permission to access this location. Please select this folder again to restore this permission"
- Select "Use this folder" again, same error (loop)
Expected Behavior
Expect the vault to be added to Cryptomator
Actual Behavior
See "Steps to Reproduce" error loop
Reproducibility
Always
Relevant Log Output
I 20260703043901.080 App Cryptomator v1.12.3 (3030) "F-Droid Main Repo Edition" started on android 17 / API37 using a Pixel 9 Pro XL
I 20260703043901.139 Database Configure v13
I 20260703043901.140 Database Open v13
I 20260703043901.179 ActivityLifecycle onResume org.cryptomator.presentation.ui.activity.VaultListActivity@5fc2333
I 20260703043901.279 App Cryptors service connected
I 20260703043901.280 App Cryptors service connected
I 20260703043901.281 App Auto upload service connected
I 20260703043904.355 ActivityLifecycle onResume org.cryptomator.presentation.ui.activity.SettingsActivity@cdaed5
I 20260703043928.751 ActivityLifecycle onResume org.cryptomator.presentation.ui.activity.AutoUploadChooseVaultActivity@3ee0f68
I 20260703043932.401 ActivityLifecycle onResume org.cryptomator.presentation.ui.activity.SettingsActivity@cdaed5
I 20260703043940.219 ActivityLifecycle onResume org.cryptomator.presentation.ui.activity.VaultListActivity@5fc2333
I 20260703043943.542 ActivityLifecycle onResume org.cryptomator.presentation.ui.activity.ChooseCloudServiceActivity@7353e94
I 20260703043951.459 ActivityLifecycle onResume org.cryptomator.presentation.ui.activity.CloudConnectionListActivity@edf506b
I 20260703043953.385 ActivityLifecycle onResume org.cryptomator.presentation.ui.activity.ChooseCloudServiceActivity@7353e94
I 20260703043953.454 ActivityLifecycle onResume org.cryptomator.presentation.ui.activity.CreateVaultActivity@3dd77a9
I 20260703043957.135 ActivityLifecycle onResume org.cryptomator.presentation.ui.activity.BrowseFilesActivity@2fa2ad2
I 20260703044001.732 ActivityLifecycle onResume org.cryptomator.presentation.ui.activity.SetPasswordActivity@5154870
I 20260703044025.839 ActivityLifecycle onResume org.cryptomator.presentation.ui.activity.VaultListActivity@5fc2333
I 20260703044027.882 ActivityLifecycle onResume org.cryptomator.presentation.ui.activity.UnlockVaultActivity@40ed6
I 20260703044035.974 ActivityLifecycle onResume org.cryptomator.presentation.ui.activity.VaultListActivity@5fc2333
I 20260703044036.031 ActivityLifecycle onResume org.cryptomator.presentation.ui.activity.BrowseFilesActivity@ab5e29b
I 20260703044039.456 ActivityLifecycle onResume org.cryptomator.presentation.ui.activity.VaultListActivity@5fc2333
I 20260703044042.174 ActivityLifecycle onResume org.cryptomator.presentation.ui.activity.VaultListActivity@3b37374
I 20260703044051.289 ActivityLifecycle onResume org.cryptomator.presentation.ui.activity.UnlockVaultActivity@de2adaf
I 20260703044053.039 ActivityLifecycle onResume org.cryptomator.presentation.ui.activity.VaultListActivity@3b37374
I 20260703044101.438 ActivityLifecycle onResume org.cryptomator.presentation.ui.activity.SettingsActivity@60e9da3
I 20260703044144.845 ActivityLifecycle onResume org.cryptomator.presentation.ui.activity.SettingsActivity@60e9da3
I 20260703044146.551 ActivityLifecycle onResume org.cryptomator.presentation.ui.activity.VaultListActivity@3b37374
I 20260703044155.213 ActivityLifecycle onResume org.cryptomator.presentation.ui.activity.ChooseCloudServiceActivity@4e35bb2
I 20260703044156.688 ActivityLifecycle onResume org.cryptomator.presentation.ui.activity.CloudConnectionListActivity@9d834e1
I 20260703044158.682 ActivityLifecycle onResume org.cryptomator.presentation.ui.activity.ChooseCloudServiceActivity@4e35bb2
I 20260703044158.752 ActivityLifecycle onResume org.cryptomator.presentation.ui.activity.AuthenticateCloudActivity@3f7f10f
E 20260703044158.753 AuthicateCloudPrester Permission revoked, ask to re-pick location
E 20260703044216.966 AuthicateCloudPrester Permission granted again
I 20260703044216.967 ActivityLifecycle onResume org.cryptomator.presentation.ui.activity.AuthenticateCloudActivity@3f7f10f
I 20260703044217.024 ActivityLifecycle onResume org.cryptomator.presentation.ui.activity.ChooseCloudServiceActivity@4e35bb2
I 20260703044217.088 ActivityLifecycle onResume org.cryptomator.presentation.ui.activity.AuthenticateCloudActivity@700511f
E 20260703044217.089 AuthicateCloudPrester Permission revoked, ask to re-pick location
E 20260703044223.693 AuthicateCloudPrester Permission granted again
I 20260703044223.695 ActivityLifecycle onResume org.cryptomator.presentation.ui.activity.AuthenticateCloudActivity@700511f
I 20260703044223.757 ActivityLifecycle onResume org.cryptomator.presentation.ui.activity.ChooseCloudServiceActivity@4e35bb2
I 20260703044223.821 ActivityLifecycle onResume org.cryptomator.presentation.ui.activity.AuthenticateCloudActivity@6f85bf8
E 20260703044223.821 AuthicateCloudPrester Permission revoked, ask to re-pick location
E 20260703044228.446 AuthicateCloudPrester Permission granted again
I 20260703044228.447 ActivityLifecycle onResume org.cryptomator.presentation.ui.activity.AuthenticateCloudActivity@6f85bf8
I 20260703044228.504 ActivityLifecycle onResume org.cryptomator.presentation.ui.activity.ChooseCloudServiceActivity@4e35bb2
I 20260703044228.566 ActivityLifecycle onResume org.cryptomator.presentation.ui.activity.AuthenticateCloudActivity@f842f2d
E 20260703044228.567 AuthicateCloudPrester Permission revoked, ask to re-pick location
E 20260703044242.473 AuthicateCloudPrester Permission granted again
I 20260703044242.475 ActivityLifecycle onResume org.cryptomator.presentation.ui.activity.AuthenticateCloudActivity@f842f2d
I 20260703044242.529 ActivityLifecycle onResume org.cryptomator.presentation.ui.activity.ChooseCloudServiceActivity@4e35bb2
I 20260703044242.587 ActivityLifecycle onResume org.cryptomator.presentation.ui.activity.AuthenticateCloudActivity@b616a4e
E 20260703044242.587 AuthicateCloudPrester Permission revoked, ask to re-pick location
E 20260703045019.644 AuthicateCloudPrester Permission granted again
I 20260703045019.651 ActivityLifecycle onResume org.cryptomator.presentation.ui.activity.AuthenticateCloudActivity@b616a4e
I 20260703045019.672 CryptorsService ScreenLock received, destroying cryptors and shutting down service
I 20260703045019.776 ActivityLifecycle onResume org.cryptomator.presentation.ui.activity.ChooseCloudServiceActivity@4e35bb2
I 20260703045019.879 ActivityLifecycle onResume org.cryptomator.presentation.ui.activity.AuthenticateCloudActivity@d6e2b80
E 20260703045019.880 AuthicateCloudPrester Permission revoked, ask to re-pick location
Anything else?
No response
- 主要言語
- Kotlin
- スター
- 1.2k
- フォーク
- 215
- 平均マージ
- 12分
- マージ済み PR(30日)
- 5
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
cryptomator/android のほかの issue
-
misc:hub
難易度 5/5 1週間以上 初心者へのやさしさ 45/100
cryptomator/android#657 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 55/100
cryptomator/android#656 ·
-
state:to-be-confirmed type:bug
難易度 4/5 3〜5日 初心者へのやさしさ 68/100
cryptomator/android#654 ·
-
type:feature-request
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
cryptomator/android#653 · リアクション 1 件 ·
-
Android Integration オープンtype:feature-request
難易度 5/5 1週間以上 初心者へのやさしさ 30/100
cryptomator/android#647 · リアクション 1 件 ·
cryptomator/android の issue をすべて見る
似ている issue
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
AAswordman/Operit#1265 · コメント 3 件 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
acristescu/OnlineGo#216 ·
-
enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
libre-tube/LibreTube#8803 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
-
status: waiting-for-triage type: bug
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
spring-projects/spring-security#19781 ·