informalsystems / cycles-quartz

Secure SGX Sidecar for CosmWasm
https://cycles.money/
Apache License 2.0
23 stars 2 forks source link

Support for differentiating between signing and viewing keys #91

Open thanethomson opened 4 months ago

thanethomson commented 4 months ago

At present, the Cycles FE differentiates between the signing (Keplr) and viewing keys (ephemeral key generated in-browser).

Quartz does not yet support this differentiation.

This is necessary as part of Cycles Demo 2 to support reading encrypted set-offs back from the chain.

hu55a1n1 commented 3 months ago

So would users of quartz apps always have an encryption key, and an account key? That would have a lot of implications for UX. We could add an encryption key in another PR, and it wouldn't be too bad. But the overall design for UX I think should be considered deeply before we really write some serious code to support both keys.

Originally posted by @davekaj in https://github.com/informalsystems/cycles-quartz/issues/145#issuecomment-2275881592