-
Notifications
You must be signed in to change notification settings - Fork 208
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
delegate from interactive signer to background signer for low-privilege actions #4406
Comments
re
Managing another password is a pain both for users and for us. @dtribble doesn't think we want any code dealing password management; nor do I. (I prototyped something like this in 2018 using tweetnacl, but I very much avoided productizing it: https://github.com/rchain-community/RSign/blob/master/src/sigTool.js )
Outsourcing to keplr would be nice; there's some hint of this feature: But I don't see it in https://docs.keplr.app/api/ |
discussion yesterday suggested not managing a separate password but rather
|
@rowgraus referred to these as "background" actions, which @michaelfig and I like enough to go with for now, so I'm changing the title. The scope still has some fuzzy edges around it... I also like @turadg 's suggestion that the names should make clear just what authority we grant to the background signer; we came up with Earlier, I asked @dtribble for uses of the "ephemeral" (aka background) key:
|
What is the Problem Being Solved?
refs: #4398
The on-chain wallet backend needs explicit approvals for operations that withdraw from purses, but we don't want to require explicit approvals for most user gestures.
Description of the Design
Our CosmJS integration is intended to be used as follows:
feegrant
from the cold account to the hot accountauthz
to allowMsgWalletAction
from hot account on behalf of cold accountauthz
to allowMsgWalletSpendAction
from hot account on behalf of cold accountrefs.map(ref => (spendActionAmplifier.get(ref) || ref))
MsgWalletAction
urun
,ubld
) to anywhere elseSecurity Considerations
Needs review by security folks.
Test Plan
The text was updated successfully, but these errors were encountered: