Allow sites to specify account properties when requesting an account. #6994
Labels
area-hardware
area-permissions
Issues relating to exposing permissions from the trusted MetaMask context to less-trusted contexts.
T08-featureRequest
Some sites, like some exchanges that rely on offchain messages in the EIP 712 format, are not compatible with some hardware wallets who have not adopted those signature schemes.
This can result in dangerous situations where users deposit funds but cannot withdraw them.
The exchanges' first instinct is to request a method to detect the type of account a user has, but this has privacy issues.
Instead, this could also be solved by allowing the site to specify features the requested account is required to have at sign-in time.
For example, if we presume a
requestPermissions
method to log in:This could be achieved using a special caveat for rpc-cap. @rekmarks
Depends on https://ethereum-magicians.org/t/web3-login-permissions/3583
The text was updated successfully, but these errors were encountered: