DimensionDev / Maskbook-Talks

Where talks of Maskbook happen.
7 stars 1 forks source link

[Feature] External keypair interface #40

Open neruthes opened 4 years ago

neruthes commented 4 years ago
Status
Brainstorming

Host the keypair of a Persona in external devices (e.g. Yubikey). Maskbook queries the external device to perform signature and decryption operations.

Jack-Works commented 4 years ago

I have considered that feature, I think it is good but maybe hard to accomplish in the current Maskbook architecture.


When Maskbook encrypting to people, it needs to do multiple times of encryption (for every recipient, at least 1 encryption), IDK if the user needs to press yubikey N times to complete the process. If so, the UX is not too good IMO.

yisiliu commented 4 years ago

They will need to press the key each time they need to authorize encryptions. We still need to work on our own hardware device to match our needs.

neruthes commented 4 years ago

I see. YubiKey will need to be used O(N) times when decrypting all Recipient-Specific PostKey Envelope payloads. Unless we can implement a feature which allows Maskbook to recognize some feature of the desired Recipient-Specific PostKey Envelope payload before passing it to YubiKey.

I imagine it this way:

This is based on the following assumptions: