Skip to content

Cardano message signing not working on Classic 1S #154

@refi93

Description

@refi93

Describe the bug
I'm trying to sign a Cardano message which works fine on the Pro device, however on OneKey Classic 1S I'm getting a Failure_Error, Invalid path error. OneKey Pro works without issues. This is the payload I'm passing to the onekey SDK cardanoSignMessage() call:

{
    "path": "m/1852'/1815'/0'/2/0",
    "message": "4920616d206c6f6767696e6720696e20746f206a70672e73746f72652e204d7920766572696669636174696f6e20636f64652069733a20323530343338313533",
    "derivationType": 1,
    "networkId": 1
}

Firmware version and revision
FW 3.12.0 , Bluetooth 1.5.5

Desktop/smartphone setup (please complete the following information):

  • Wallet software: NuFi
  • OS: MacOS
  • Browser Chrome
  • Version 138.0.7204.93

To Reproduce
Steps to reproduce the behavior:

  1. Go to https://jpg.store
  2. Connect with NuFi wallet
  3. Click on profile icon on the top
  4. Click on "Settings"
  5. Select "Sign with Wallet"
  6. After confirming the message on NuFi, the device returns the error mentioned above

Expected behavior
The device should successfully return a response

Screenshots
If applicable, add screenshots to help explain your problem.

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions