[Nearby] Destroy and recreate private certificates if contacts change
The certificate manager observer for events from the contact manager. Destroy and recreate all private certificates if either 1) the user's contact list has changed since the last upload to the NearbyShare server, or 2) contacts are removed from the allowlist--relevant to selected-contacts visibility mode. This ensures that sharing can only happen with trusted contacts. Fixed: b/166113568, 1121320 Change-Id: I92ad994602003bbeea0bdc752b03965c11f1265e Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2377895 Commit-Queue: Josh Nohle <nohle@chromium.org> Reviewed-by:Ryan Hansberry <hansberry@chromium.org> Cr-Commit-Position: refs/heads/master@{#805338}
Showing
This diff is collapsed.
Please register or sign in to comment