Page MenuHomePhorge

Implement key importing
Needs ReviewPublic

Authored by tusooa on Mon, Feb 16, 7:22 AM.

Details

Reviewers
nannanko
Group Reviewers
O1: the Kazv Project
Summary

Add a UI to import E2EE keys.

BUG: https://iron.lily-is.land/T172

Type: add

Test Plan

Create a key backup file from a supported client. Go to Settings. Click "Import keys from a backup file...". Select the key file. In the next popup, enter the password. Verify you can see a passive notification "Imported N keys."

Diff Detail

Repository
rK kazv
Branch
tusooa/key-import
Lint
No Lint Coverage
Unit
No Test Coverage
Build Status
Buildable 559
Build 1100: Invoke BuildbotBuildbot build #1302
Build 1099: arc lint + arc unit

Event Timeline

Harbormaster returned this revision to the author for changes because remote builds failed.Mon, Feb 16, 7:36 AM
Harbormaster failed remote builds in B543: Diff 844!

When I enter a wrong password, then open the input box again, the old password will still be retained. Especially when I click the "show password", the input box will retain this setting. This is obviously inconsistent with the behavior of most similar software and may lead to unexpected occurrences.

This revision is now accepted and ready to land.Thu, Mar 5, 8:49 AM
nannanko requested changes to this revision.Thu, Mar 5, 8:49 AM
This revision now requires changes to proceed.Thu, Mar 5, 8:49 AM

Clear password before showing dialog

In D282#5560, @nannanko wrote:

When I enter a wrong password, then open the input box again, the old password will still be retained. Especially when I click the "show password", the input box will retain this setting. This is obviously inconsistent with the behavior of most similar software and may lead to unexpected occurrences.

resolved, please review again, thank you!