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

Showing QRCode with NbglAddressReview makes real device to crash #221

Open
mmouchous-ledger opened this issue Nov 19, 2024 · 0 comments
Open

Comments

@mmouchous-ledger
Copy link

When trying to create a NbglAddressReview page, and showing the QRCode with any data, on a real device it crashes, but does not on emulator. Tested on Flex and Stax.

Based on Boilerplate rust application, inserting those lines in sample_main, within #[cfg(any(target_os = "stax", target_os = "flex"))], after init_commcall:

        // Display some verify adress pages.
        NbglAddressReview::new().show("34xp4vRoCGJym3xR7yCVPFHoCNxv4Twseo");
        NbglAddressReview::new()
            .show("bc1qgdjqv0av3q56jvd82tkdjpy7gdp9ut8tlqmgrpmv24sq90ecnvqqjwvw97");
        NbglAddressReview::new().show("https://www.ledger.com");
        NbglAddressReview::new().show(
            r#"BEGIN:VCARD
VERSION:3.0
N:Nakamoto;Satochi;;;
END:VCARD"#,
        );

VSCode Ledger extension version: 0.8.0
Rust SDK version: ledger_device_sdk = "1.18.4"

Tested device: Stax
SE Version: 1.5.0
MCU Version: 5.27.0
BL Version 4.51.0
HW Version: 019

Tested device: Flex
SE Version: 1.1.0
MCU Version: 5.27.0
BL Version 4.51.0
HW Version: 019

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

1 participant