include multiple keys from a single backup#3973
Conversation
|
I am really uncertain of this line code. This line of code should be responsible for getting the current primary key being used by the logged-in user. But here I have temporarily use the first primary key which I'm totally uncertain if was really correct by encrypting the backup using the passphrase of the first primary key found. |
|
Can I also ask for a suggestion on how to generally approach fixing CI-related issues especially on "GMAIL Live tests"? I already tried running Gmail live tests on my local machine but I think I have missed something. |
|
There were 1 email addresses found in the above comment. Please:
|
The problem with Gmail tests is unrelated to this PR and has been fixed. I re-run tests for this PR, they are passing now. |
|
There were 1 email addresses found in the above comment. Please:
|
|
Thanks a lot for taking a look, @limonte. The tests are passing now. Kind Regards, |
| $('.key_backup_selection').append(dom); | ||
| } | ||
| $('.input_prvkey_backup_checkbox').click((event) => { | ||
| const email = String($($($(event.target).siblings()[0]).children()[0]).children()[0].innerText); |
There was a problem hiding this comment.
Instead of this spaghetti code I'd recommend this:
<input class="input_prvkey_backup_checkbox" type="checkbox" data-email="${primaryKi.emails}">const email = $(event.target).data('email');…hould-include-multiple-keys
…hould-include-multiple-keys
…s://github.com/FlowCrypt/flowcrypt-browser into issue-2482-backup-should-include-multiple-keys
|
This pull request fixes 1 alert when merging 118f5c4 into aeb1be6 - view on LGTM.com fixed alerts:
|
|
This pull request fixes 1 alert when merging 911cb96 into aeb1be6 - view on LGTM.com fixed alerts:
|
|
This pull request fixes 1 alert when merging 3de18e9 into aeb1be6 - view on LGTM.com fixed alerts:
|
…hould-include-multiple-keys
|
This pull request fixes 1 alert when merging 99b549c into c44ccdb - view on LGTM.com fixed alerts:
|
|
This pull request fixes 1 alert when merging c268bd4 into 37b5415 - view on LGTM.com fixed alerts:
|
|
This pull request fixes 1 alert when merging e2cc9a7 into 37b5415 - view on LGTM.com fixed alerts:
|
…hould-include-multiple-keys
|
This pull request fixes 1 alert when merging 0e777b8 into 37b5415 - view on LGTM.com fixed alerts:
|
|
This pull request fixes 1 alert when merging edfda59 into 37b5415 - view on LGTM.com fixed alerts:
|
|
This pull request fixes 1 alert when merging f865df2 into 37b5415 - view on LGTM.com fixed alerts:
|
|
This pull request fixes 1 alert when merging b143450 into 37b5415 - view on LGTM.com fixed alerts:
|
|
This pull request fixes 1 alert when merging 60746b0 into 37b5415 - view on LGTM.com fixed alerts:
|
|
This pull request fixes 1 alert when merging 4ca44cd into 37b5415 - view on LGTM.com fixed alerts:
|
This PR will:
close #2482 // if this PR closes an issue
issue #2806 // if it doesn't close the issue yet
Task list:
Tests (delete all except exactly one):
** Incomplete functionalities from issue #2482
To be filled by reviewers
I have reviewed that this PR... (tick whichever items you personally focused on during this review):