Skip to content

fix: put a real message when user tries to access the WalletUI in insecure context#322

Closed
SLoeuillet wants to merge 1 commit into
canton-network:mainfrom
SLoeuillet:wallet-cryptic-error-when-using-unsecured-context
Closed

fix: put a real message when user tries to access the WalletUI in insecure context#322
SLoeuillet wants to merge 1 commit into
canton-network:mainfrom
SLoeuillet:wallet-cryptic-error-when-using-unsecured-context

Conversation

@SLoeuillet

Copy link
Copy Markdown
Contributor

Signed-off-by: Stephane Loeuillet [email protected]

@SLoeuillet SLoeuillet left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actually, when one tries to take a look at the wallet UI, it won't work if not using localhost or https as its code is using Web Crypto API from browser that is only available from a secure context.

Tell it explicitly to the user instead of dying with a cryptic error message

@SLoeuillet SLoeuillet changed the title feat: add K8S+Helm recommended/standard labels fix: put a real message when user tries to access the WalletUI in insecure contect Apr 10, 2025
@SLoeuillet SLoeuillet changed the title fix: put a real message when user tries to access the WalletUI in insecure contect fix: put a real message when user tries to access the WalletUI in insecure context Apr 10, 2025
…ad of https or localhost

Signed-off-by: Stephane Loeuillet <[email protected]>
@SLoeuillet SLoeuillet force-pushed the wallet-cryptic-error-when-using-unsecured-context branch from c4865f2 to a08309f Compare April 10, 2025 12:58
@moritzkiefer-da

Copy link
Copy Markdown
Contributor

Thanks for the contribution! We've merged this internally and it will be included in the next release.

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

Successfully merging this pull request may close these issues.

2 participants