-
Notifications
You must be signed in to change notification settings - Fork 1.1k
PIR: Add database encryption #7010
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
Conversation
This stack of pull requests is managed by Graphite. Learn more about stacking. |
| init { | ||
| logcat { "PIR-DB: Loading the sqlcipher native library" } | ||
| try { | ||
| LibraryLoader.loadLibrary(context, "sqlcipher") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If this method is called more than once with the same library name, the second and subsequent calls are ignored. (source)
It should be fine for both Autofill and PIR to call this multiple times
pir/pir-impl/src/main/java/com/duckduckgo/pir/impl/store/secure/PirSecureStorageKeyStore.kt
Show resolved
Hide resolved
karlenDimla
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See comments for more information.
3f14418 to
247d4a4
Compare

Task/Issue URL: https://app.asana.com/1/137249556945/project/488551667048375/task/1211635200412099?focus=true
Description
Encrypts the PIR database.
Steps to test this PR
https://app.asana.com/1/137249556945/project/488551667048375/task/1211766506550756?focus=true
UI changes
No UI changes