Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] File access not revoked #16

Closed
Ilithy opened this issue Mar 25, 2022 · 3 comments
Closed

[Bug] File access not revoked #16

Ilithy opened this issue Mar 25, 2022 · 3 comments
Labels
bug Something isn't working

Comments

@Ilithy
Copy link
Contributor

Ilithy commented Mar 25, 2022

Steps to reproduce

  1. Copy a keepass database file (for example) into the anemo storage.

  2. Access it via one of the keepass software for android
    (test with KeepassDX using the "content provider", file link type: content://exe.bbllw8.anemo.documents/document/anemo:/Documnets/ ).

  3. Close Keepass, and close the Anemo storage.

  4. Restart Keepass, the database stored in Anemo remains accessible and modifiable. (storage access not allowed in the options)

Expectations

Once the Anemo storage is closed, the files are no longer accessible. (file access revoked)

Reality

Relaunch Keepass, the files stored in Anemo remains accessible and modifiable.

App version

2.1.1

Android version

12 (GrapheneOS)

@Ilithy Ilithy added the bug Something isn't working label Mar 25, 2022
2bllw8 added a commit that referenced this issue Mar 26, 2022
- Query methods will return an empty cursor
- Write methods will throw an AuthenticationRequiredException
  with a PendingIntent to open the UnlockActivity

Issue #16
@2bllw8
Copy link
Owner

2bllw8 commented Mar 26, 2022

Fixed with commit 9e1550a

@2bllw8
Copy link
Owner

2bllw8 commented Mar 26, 2022

Tested with KeepassDX, the database is not available when locked

@2bllw8 2bllw8 closed this as completed Mar 26, 2022
@Ilithy
Copy link
Contributor Author

Ilithy commented Mar 26, 2022

Tested with KeepassDX, the database is not available when locked

Thank you for reacting so quickly and solving the problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants