DescriptionAdd support to GCMKeyStore for multiple keys per app_id
Specifically, allow one key per (app_id, authorized_entity) pair. This
will only be used for Instance ID tokens; legacy GCM registrations will
store an empty string for the authorized_entity (rather than storing the
sender ID) for backwards compatibility. The clunky name
instance_id_authorized_entity is designed to remind people of this.
Part of a series of patches:
1. https://codereview.chromium.org/1832833002 adds InstanceIDWithSubtype
2. https://codereview.chromium.org/1830983002 adds JNI bindings
3. https://codereview.chromium.org/1829023002 adds fake and test
4. https://codereview.chromium.org/1899753002 fixes strict mode violations
5. https://codereview.chromium.org/1854093002 enables InstanceID by default
6. this patch
7. https://codereview.chromium.org/1923953002 integrates IIDs with crypto
8. https://codereview.chromium.org/1851423003 switches Push to InstanceIDs
Also depends on https://codereview.chromium.org/1948133003
BUG=589461
Committed: https://crrev.com/36ae5806242390404f2492c8a5c39041cd374fd6
Cr-Commit-Position: refs/heads/master@{#392617}
Patch Set 1 #Patch Set 2 : Fix DatabaseKey #Patch Set 3 : Simplify Decrypt fallback by banning IID token & GCM reg from sharing same app_id #
Total comments: 24
Patch Set 4 : Address review comments #
Total comments: 8
Patch Set 5 : Address review nits #Patch Set 6 : Only EXPECT_DFATAL when LOG_DCHECK == LOG_DFATAL #
Depends on Patchset: Dependent Patchsets: Messages
Total messages: 25 (11 generated)
|