-
-
Notifications
You must be signed in to change notification settings - Fork 263
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
AOPP support #4512
Comments
Trezor actually already supports the SLIP-19 proof-of-ownership format, but as far as I know it's the only wallet to do so at the moment. SLIP-19's most important feature is that it can be used to prove to a wallet that it does not own a scriptPubKey. SLIP-19 has a commitmentData field which can be used the same way as the message field in AOPP. So my first though was that we should contact the AOPP group if they wouldn't rather go with SLIP-19. But now that I look at their spec, all they are doing is The spec specifies an The message being signed can be up to 1024 ASCII characters. Apparently there is no special format. So we don't need to do any modifications in trezor-firmware except for ensuring that |
I wonder how they handle signing of segwit and native segwit addresses. The constants we used in here ( |
Good catch! AOPP adopted the Bitcoin Core solution as stated here. So we either need to add a new |
Agreed. Option |
It seems we are not showing the address being used for signing during the confirmation step. This needs to be done for both T1 and TT while implementing this feature. |
Currently the TT shows: I suggest adding the following screen at the beginning of the workflow: I also suggest changing the color of the message so that externally provided text is distinguished from internally generated information. For example: |
That's great to hear. Thanks for moving swiftly! Can we put the Trezor logo here https://aopp.group/#wallets ? If you have any questions: We're watching this issue and also have a Telegram group with other wallet developers and VASPs that have implemented AOPP: https://t.me/joinchat/HjHCr6atTZqVE8Wf |
What's the payload of AOPP signing message? Is that human readable so we don't need to care and only reuse plain signMessage? I don't see any discussion here about how to particularly render AOPP screen. |
The payload can be decided by the exchange/VASP/what have you. I think a short, intelligible message makes sense since the end user is going to sign it. See bullet point 2 here: https://gitlab.com/aopp/address-ownership-proof-protocol/-/blob/master/README.md#specification |
The payload is required to be ASCII, thus human readable, so we intend to reuse |
Hey, dear Trezor Team We are Pocket Bitcoin. A growing Bitcoin DCA-platform from Switzerland 🇨🇭 Many of our clients sign up to Pocket Bitcoin with their Trezors and receive their bitcoin straight to their cold storage. In order to sign up, the users needs to sign a message with their Trezor and for this particular case, AOPP support would be super convenient. Very happy to find this open issue here on the topic. Is there a timeline or an eta for AOPP support? |
@andrewkozlik see the PR linked above for an initial attempt. Feedback would be greatly appreciated. |
Firmware PR ready: trezor/trezor-firmware#1903 @qa Once the PR has been merged, please test that the following features work correctly:
|
The AOPP-related changes in firmware have been merged into the master branch and will be released in the next firmware update, which is planned in December. The rest of the work is in trezor-suite. A PR is already open: #4468 |
QA OK Info:
|
Website: https://aopp.group
Short demo video: https://www.youtube.com/watch?v=heP-ufUke-g
The text was updated successfully, but these errors were encountered: