Skip to content
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

recoverable wallet - what happens if I lose / disclose my private key? #20

Open
dckc opened this issue May 25, 2021 · 11 comments
Open

recoverable wallet - what happens if I lose / disclose my private key? #20

dckc opened this issue May 25, 2021 · 11 comments

Comments

@dckc
Copy link
Owner

dckc commented May 25, 2021

Are there ocap patterns that address risks around key management?

If the answer to 'what happens if I lose my keys?' is 'crumple the car,' you're doing it wrong. -- @benadida (I think; I'm struggling to confirm.)

The recoverable wallet in chialisp looks promising, though I have just started studying it in detail. I wonder if there's an analog using ocaps rather than crypto.

cc @erights @warner @michaelfig @ChrisHibbert @katelynsills
LMK if/when I should move this to an Agoric repo.

@katelynsills
Copy link

My understanding is that you'll need cryptography at the edges no matter what, so I think there can't be an ocap solution here.

@dckc
Copy link
Owner Author

dckc commented May 25, 2021

Right; good point... so perhaps a better question is: how to integrate such a recoverable wallet with ocaps?

Is it straightforward to layer on top of Agoric's design for message passing to/from cosmos, or is something else needed? I gather cosmos has multi-sig support; does that work for this case? Or is there something irreducible about the way chialisp uses BLSSignature?

@dckc
Copy link
Owner Author

dckc commented Dec 21, 2021

The link to https://github.com/Chia-Network/wallets/blob/master/docs/recoverable_wallet.md has gone 404.

https://github.com/nondejus/wallets/blob/master/docs/recoverable_wallet.md seems to be another copy: Latest commit 18dcb1e on Dec 4, 2019

abstract:

A Chia recoverable wallet is a wallet whose funds can be recovered in the event that the wallet is lost by providing a recovery string to another wallet. In contrast to a BIP 39 backup seed, a Chia recovery string is a low security piece of information. A thief who finds the string can't use it to steal funds from a wallet they don't own. This is accomplished by the recovery process locking up the funds in escrow along with some mandatory staking funds. If the recovery process was initiated by an attacker, the attacker will lose the staking funds as the original wallet has the ability to clawback the escrow coins during the escrow period. If the recovery process was legitimate however, the owner can retrieve their funds from escrow at the end of the escrow period, along with the staking funds. In this demonstration the staking amount is 10% and the escrow period is 3 blocks.

I forked it as https://github.com/dckc/chialisp-wallets ; I'm not sure that makes it substantially more available, but it should make it easier to find.

@dckc
Copy link
Owner Author

dckc commented Dec 21, 2021

related work:

We achieve this by a 3-phase Commit() -> Reveal() -> Claim() - or - Challenge() smart contract that enables accessing funds of addresses for which the spending key is not available.

@dckc
Copy link
Owner Author

dckc commented Apr 8, 2022

https://me.hashkey.com/en

In theory, it's a wallet that supports recovery via advanced crypto threshold signatures (TSS) and multiparty computation (MPC). Android app has ~0 users, though, and I couldn't find tech details.

@dckc
Copy link
Owner Author

dckc commented Jun 15, 2022

Sunny's talk at osmocon included a slide on "Flexible Key Management" including "Social Recovery Systems"

IMG_20220609_100813808

@dckc
Copy link
Owner Author

dckc commented Feb 3, 2023

Wallets & Custody

Seed phrase wallets move out of style in favor of more user-friendly custody solutions leveraging MPC and account abstraction
-- The 2023 Interchain Thesis: Exploring the biggest trends and opportunities in Cosmos | Interop by Sebastien Couture
Feb 2

@dckc
Copy link
Owner Author

dckc commented Feb 3, 2023

@dckc
Copy link
Owner Author

dckc commented Feb 3, 2023

@dckc
Copy link
Owner Author

dckc commented Apr 20, 2023

https://www.joinfountain.xyz/ crossed my radar... doesn't use an ocap approach, but it would be interesting to know more about what policies are in demand.

@dckc
Copy link
Owner Author

dckc commented Feb 7, 2024

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants