Skip to content

Jade Plus 1.0.41: BIP-322 message-signing PSBT crashes with JADE_ASSERT(input_amount) in show_btc_fee_confirmation_activity (sign_utils.c:717) #362

Open

Description

@CluelessUserHelpMe

Device / firmware: Jade Plus, firmware 1.0.41 (noradio variant), used air-gapped via QR. Previously also reproduced on 1.0.38 (error at sign_utils.c:665, same assertion).

Steps to reproduce

  1. In Sparrow, open Tools > Sign/Verify Message for a wallet imported from the Jade over QR (native segwit address).
  2. Choose format "BIP322 (Simple)", enter any message, and click "Sign by QR".
  3. Scan the animated QR with the Jade Plus.

Actual behaviour
The Jade parses the PSBT and shows "Output 1/1, To: OP_RETURN, 0.00000000 BTC". After approval it shows "Internal error sign_utils.c:717" and restarts.

Cause (from the public source)
Line 717 of main/process/sign_utils.c at tag 1.0.41 (line 665 at tag 1.0.38) is JADE_ASSERT(input_amount); in show_btc_fee_confirmation_activity(). A BIP-322 virtual transaction spends a zero-value to_spend output, so the total input amount is 0 and the assertion fails.

Expected behaviour
Either sign BIP-322 message PSBTs (ideally detecting them, skipping the fee screen, and showing the message to the user, as Coldcard does with PSBT_GLOBAL_GENERIC_SIGNED_MESSAGE), or reject them with a clear error instead of an assertion and reboot.

Use case
Mining pools (for example OCEAN) require a BIP-322 signature from the payout address to configure Lightning payouts. Air-gapped Jade Plus users cannot comply.

Thank you.

Activity

  1. jgriffiths commented on Dec 2, 2026

    @jgriffiths
    Collaborator

    Hi @CluelessUserHelpMe ,

    It may be some time before we can add BIP322 support, although we should be able to detect these PSBTs easily enough to prevent the assert/reboot.

    If you can produce a sample message PSBT, ideally for our default or singlesig test mnemonics here:

    mnemonics = SimpleNamespace(**{
    that would let us add support faster.

    @bitcoinhelp cc: to track this feature for prioritization

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions