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

Support crypto-request and crypto-response UR flow #152

Open
ghost opened this issue Aug 8, 2022 · 0 comments
Open

Support crypto-request and crypto-response UR flow #152

ghost opened this issue Aug 8, 2022 · 0 comments
Labels
enhancement New feature or request question Further information is requested

Comments

@ghost
Copy link

ghost commented Aug 8, 2022

https://github.com/BlockchainCommons/Research/blob/master/papers/bcr-2021-001-request.md
https://github.com/BlockchainCommons/crypto-commons/blob/master/Docs/crypto-request-or-crypto-psbt.md

Implementing a request-response pattern like this would potentially offer a way to accomplish "headless signing" mentioned here:
#151

In a headless mode of operation, a wallet vendor could output a crypto-request that would be saved to a microSD card that Krux would read and process, then output its own crypto-response file back to the card for the wallet software to read. It would offer a standard way to solve the process of exporting an xpub and signing a PSBT without (direct) user intervention.

In the normal GUI mode of operation, implementing this flow wouldn't do much to benefit Krux other than potentially down the line allowing us to consolidate the Scan Address and Sign PSBT options into a more general Scan Request option (if we want that; I'm skeptical of the utility). The first screen to load or generate mnemonics would stay the same, and users would likely still want to see and print their Mnemonic, Extended Public Key (and key origin info), etc. That being said, the ability to handle these new UR types in the existing Sign PSBT method will probably become more important as time goes on.

@ghost ghost added enhancement New feature or request question Further information is requested labels Aug 10, 2022
@ghost ghost added this to the Version 24.04.0 milestone Feb 23, 2023
@ghost ghost removed this from the Version 24.04.0 milestone Oct 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request question Further information is requested
Projects
None yet
Development

No branches or pull requests

0 participants