-
Notifications
You must be signed in to change notification settings - Fork 14
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
Address book encryption #1383
Address book encryption #1383
Conversation
484d422
to
21c539f
Compare
modules/Sources/Dependencies/AddressBookClient/AddressBookLiveKey.swift
Outdated
Show resolved
Hide resolved
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 so far.
8db66c4
to
7beff33
Compare
7beff33
to
532d31a
Compare
modules/Sources/Dependencies/AddressBookClient/AddressBookEncryption.swift
Outdated
Show resolved
Hide resolved
modules/Sources/Dependencies/AddressBookClient/AddressBookEncryption.swift
Outdated
Show resolved
Hide resolved
modules/Sources/Dependencies/AddressBookClient/AddressBookEncryption.swift
Outdated
Show resolved
Hide resolved
modules/Sources/Dependencies/AddressBookClient/AddressBookEncryption.swift
Outdated
Show resolved
Hide resolved
modules/Sources/Dependencies/AddressBookClient/AddressBookLiveKey.swift
Outdated
Show resolved
Hide resolved
modules/Sources/Dependencies/AddressBookClient/AddressBookLiveKey.swift
Outdated
Show resolved
Hide resolved
modules/Sources/Dependencies/AddressBookClient/AddressBookLiveKey.swift
Outdated
Show resolved
Hide resolved
modules/Sources/Dependencies/AddressBookClient/AddressBookLiveKey.swift
Outdated
Show resolved
Hide resolved
modules/Sources/Dependencies/AddressBookClient/AddressBookLiveKey.swift
Outdated
Show resolved
Hide resolved
modules/Sources/Dependencies/AddressBookClient/AddressBookLiveKey.swift
Outdated
Show resolved
Hide resolved
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.
Changes needed. I have marked which things are blocking.
modules/Sources/Dependencies/AddressBookClient/AddressBookEncryption.swift
Outdated
Show resolved
Hide resolved
- Migration from v1 to 2 implemented - Remote storage activated - Merge strategy implemented - Zashi internal setup to use the same remote container
- Code cleaned up and refactored to clearly divide unencrypted from encrypted - Migration of unencrypted AB data to the encrypted implemented - Deletion of the unencrypted file implemented - Filename for the address book data file derive method implemented
- The `encryption_key` info needed to be added so Android can decrypt the file
- All blocking comments from the PR have been resolved
- latest comments resolved
- comment description improved - resolved file updated
- for the future changes, version is inherited
- All AddressBookClient operations have been updated to return a remote store result - Undefined Behaviour resolved for byte load operation - Typos fixed
- data -> plainData refactor - syncContacs improved - code cleaned up
efe73df
to
7c60449
Compare
- The branch with AddressBook can be build and has the latest code
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.
LGTM
Blocked on changes to the SDK to expose ZIP 32 Arbitrary key derivation.
Author
Reviewer