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

feat: don't stop with invalid key #1612

Merged
merged 1 commit into from
Jan 22, 2024
Merged

feat: don't stop with invalid key #1612

merged 1 commit into from
Jan 22, 2024

Commits on Jan 22, 2024

  1. feat: don't stop with invalid key

    An issue with the old sync was that if there was _one_ record encrypted
    with a different key, sync would stop. You'd need to delete your account
    and start from scratch. This sucked.
    
    This change means we will carry on, and try to encrypt and build with as
    much of the history as we are able to decrypt.
    
    This is possible because we can quite happily store data on disk that we
    cannot decrypt. The old store couldn't do this.
    
    In future, we might consider a keyring containing multiple keys.
    ellie committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    675a312 View commit details
    Browse the repository at this point in the history