Currently I am integrating a solution that requires the user to sign a message in order to verify their identity. The solution is currently based on the breacon-sdk. The message is prefixed with 04 according to Sign Payload HEX Prefixed With 05 and formatted according to Generating a signature with Beacon SDK.

The issue we are facing currently is that the message we are displaying to the user is not displayed in a human readable way, instead it is displayed just as hex bytes. Affected wallets are: Temple Mobile, Airgap Wallet, Naan. Other wallets such as Temple browser extension, Kukai, Umami desktop app, Galleon are displaying the message in a human readable way.

Our original raw is:

Tezos Signed Message: Welcome to Mailchain!

Please sign to start using this address with Mailchain. This will not trigger a blockchain transaction or cost any gas fees.

What's happening?
A messaging key will be registered with this address and used only for messaging. It will replace any existing registered messaging keys.

Technical Details:
Address: tz1P1xs3qkYNk6cBW273W2UbEVhpWYbwxwZ6
Messaging key: 0xe27bc7aaff2005e0d6530fcff163e046cd450259b1db284680c40cd4388f13017a
Nonce: 14

This results in byte payload of:


Can you point me to something wrong in the payload why this is the case?

1 Answer 1


To add the answer from a discussion:

There's nothing wrong with the payload in your example. Ofc it's dangerous with this kind of blind signing. But it's more effort to be human-friendly and apparently easy to get away with it.

But as a user I would be worried if I am signing unknown piece of bytes, i might be signing malicious piece of payload.The question is if there are issue with my payload that the payload is displayed as byte hex array instead of human readable message. Is there some additional prefix/sufix/checksum that needs to be aded for the wallets to interpret it better?

Nothing you can do on your side to improve it. Need to be improved on the wallet-side.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.