Right now the extension will store only one public key per recipient email address.
For a smooth user experience with key rotations we need to add the ability to store more than one public key per recipient in the extension. That, combined with the WKD improvements in #3017 and #3018 will allow for a smooth experience during key rotation.
I haven't investigated exactly how the email-to-pubkey relationship is handled on the storage level, it could be a unique index on IDBDatabase. Maybe the index could be simiply dropped without migration. And then the following will need to be updated:
Right now the extension will store only one public key per recipient email address.
For a smooth user experience with key rotations we need to add the ability to store more than one public key per recipient in the extension. That, combined with the WKD improvements in #3017 and #3018 will allow for a smooth experience during key rotation.
I haven't investigated exactly how the email-to-pubkey relationship is handled on the storage level, it could be a unique index on IDBDatabase. Maybe the index could be simiply dropped without migration. And then the following will need to be updated: