Preserve Whitespace in Brave Wallet Signing Message Text #22699
Labels
feature/web3/wallet
Integrating Ethereum+ wallet support
OS/Desktop
QA Pass-Linux
QA Pass-macOS
QA Pass-Win64
QA/Yes
release-notes/include
Milestone
Description
Hi 👋 , first of all I've switched to Brave a few months ago from Chrome and absolutely love it.
I'm working on a wallet-based OAuth 2.0 compatible identity provider, called Picket, and as part of the authentication flow the user signs a custom message with an appended random nonce. User's want the custom messaging to be readable and friendly (signing a message is scary!) and typically include whitespace in the message. Unfortunately Brave Wallet, unlike Metamask and Rainbow, does not preserve whitespace.
Steps to Reproduce
In a Brave Browser,
Actual result:
Whitespace is not preserved:
Expected result:
Whitespace is not preserved, like in Metamask:
Reproduces how often:
Easily reproduced
Brave version (brave://version info)
1.38.109 Chromium: 101.0.4951.41 (Official Build) (x86_64)
Version/Channel Information:
Other Additional Information:
Miscellaneous Information:
The text was updated successfully, but these errors were encountered: