Skip to content

Preserve valid user IDs during key fix attempts #5956

@martgil

Description

@martgil

Automatic key fix attempts occur in renderPrvCompatFixUiAndWaitTilSubmittedByUser(), but they are too aggressive, removing all user IDs instead of only the invalid or null ones.

The overly aggressive key fix issue affects [general-mail-formatter.ts:L45](https://github.com/FlowCrypt/flowcrypt-browser/blob/4c4919346112499dd90d9c4b29489265926580ba/extension/chrome/elements/compose-modules/formatters/general-mail-formatter.ts#L45). If a user has multiple email aliases, valid user IDs may be incorrectly removed during a key update attempt.

Reference: https://mail.google.com/mail/u/human@flowcrypt.com/#inbox/FMfcgzQZTgTgjRmZvRqdnWxpGrnQwQjv

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions