[Nearby] Revoke only the necessary certificates when contacts change
If contacts are removed from the allowlist, only the selected-contacts visibility private certificates need to be recreated. If the contact list changes, only the all-contacts visibility private certificates need to be recreated. (Ideally, we would only recreate all-contacts visibility private certificates if contacts are removed from the contact list, but we do not have this information.) These revocations need to occur so that unauthorized contacts do not have access to valid certificates. Previously, all private certificates were being recreated in both scenarios, which is safe but overkill. Fixed: b/168022980, 1123134 Change-Id: I9263e02f2cca72c5b350368d42596c5f2d5655e4 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2412890 Commit-Queue: Josh Nohle <nohle@chromium.org> Reviewed-by:James Vecore <vecore@google.com> Cr-Commit-Position: refs/heads/master@{#807478}
Showing
Please register or sign in to comment