-
Notifications
You must be signed in to change notification settings - Fork 16
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
Fix crash on SecureVault corruption #417
Conversation
8b11d5c
to
775917a
Compare
Btw, I have not been ignoring this review, I'm just monitoring the discussion on duckduckgo/BrowserServicesKit#60. :) |
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.
I've tested changes from BSK: Bookmark/Login import, startup, corrupted DB and lack of storage space, looks good to me!
@samsymons since @mallexxx is out, can you double check and merge if it looks good to you?
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.
Looks good! I'll merge the BSK PR and put it into a release, then update this PR with the new tag and merge.
# By Alexey Martemyanov (2) and others # Via GitHub (1) and Tomas Strba (1) * develop: Fix crash on SecureVault corruption (#417) ensure app usage is sent (#429) Fix non-debug builds (#428) new tds url (#430) Sparkle 1.27.1 (#411) Disable CVDisplayLing logging (#421) Version 0.18.7 # Conflicts: # DuckDuckGo/Menus/MainMenuActions.swift
* Fix crash and data import on Secure Vault corruption * update BSK rev * update BSK rev * SecureVault error reporting * Update to BrowserServicesKit 8.0.1. Co-authored-by: Sam Symons <[email protected]>
Task/Issue URL: https://app.asana.com/0/1177771139624306/1201649423461236/f
Tech Design URL:
CC: @samsymons
Description:
Fixes crash and data import on SecureVault corruption
Steps to test this PR:
0. Corrupt database file at ~/Library/Containers/com.duckduckgo.macos.browser[.debug]/Data/Library/Application Support/Vault/Vault.db
throw error
at DefaultDatabaseProvider.swift:75)throw error
, validate database file is recreated and logins/data import work normallysee also: duckduckgo/BrowserServicesKit#60
Internal references:
Software Engineering Expectations
Technical Design Template
When ready for review, remember to post the PR in MM