-
Notifications
You must be signed in to change notification settings - Fork 984
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implement support for web3.keycard.signTypedData flow #9275
Comments
it looks good to me @siphiuel
I would generate the hash and then wait for a card, so that as soon as the card is "connected", we just send the data and receive back the signature. NFC connection is always weak so better doing just one thing |
@gravityblast thanks! Corrected |
Could we get a well formatted user story (as a user...) for this one please? |
@cammellos added a sample scenario |
Just to make sure I understand, the feature is basically to allow user to sign a transaction/make a payment without a pin? As a user Does that capture the feature? |
@cammellos yes, perfect |
/me runs out to buy a NFC blocker wallet for his keycard |
:) we'll for sure deliver keycards in NFC blocker material, and might
provide a NFC blocker sleeve too
Le lun. 4 nov. 2019 à 15:30, yenda <notifications@github.com> a écrit :
… /me runs out to buy a NFC blocker wallet for his keycard
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#9275>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACXOGPN7WBOSUOW2EXIDKXTQSAWYXANCNFSM4JESEDTA>
.
|
just to add a comment about the security of your wallets. |
Working on the UX for this. This signature request does not follow the regular pattern since it requires from the seller an interaction with some other person's card, therefore, the UX flow differs a lot:
WIP preview: WIP Figma: |
Feature Issue
One of use cases that should be supported for Keycard is pinless data signing. Signing should work with
signTypedData
API available fromweb3.keycard
namespace that is equivalent toweb3.eth.signTypedData
as documented in EIP-712.User Story
As a user, I want to be able to use my keycard without a pin, so making transactions or payments is effortless.
Description
This can be used in e.g. Point-of-Sale scenarios where merchant owns a device running Status and customer owns a Keycard. It would then enable using Keycard in payment card-like scenarios.
Implementation of this feature will enable the following flow for a customer purchasing goods from merchant:
Context:
web3.eth.signTypedData
has been implemented earlier in [#5461] Implement EIP-712 #7680.The flow should be the following:
web3.keycard.signTypedData
Signature request
screenSigning OK
message on the screenA signing screen should resemble the one from Metamask with a hierarchical data display
UPDATE: new Figma design here.
More details here
The text was updated successfully, but these errors were encountered: