Skip to content

Support taler: URLs in registerProtocolHandler()#8503

Open
grothoff wants to merge 1 commit intowhatwg:mainfrom
grothoff:main
Open

Support taler: URLs in registerProtocolHandler()#8503
grothoff wants to merge 1 commit intowhatwg:mainfrom
grothoff:main

Conversation

@grothoff
Copy link
Copy Markdown

@grothoff grothoff commented Nov 14, 2022

The taler scheme is currently being documented at https://datatracker.ietf.org/doc/draft-grothoff-taler/ and has been provisionally registered with IANA at https://www.iana.org/assignments/uri-schemes/prov/taler

GNU Taler is an open and privacy-preserving payment protocol, designed for online retail payments.

GNU Taler is an official GNU package.

The URI scheme was developed to enable Web sites to easily trigger interactions with the Taler wallet, which may run as a Web extension or as a separate App depending on the platform. taler:// URIs are suitable for being exchanged as QR codes, via NFC or Web links. Implementations exist for major browsers and mobile platforms. A design document explaining why taler should be on the safe list is at https://docs.taler.net/design-documents/039-taler-browser-integration.html

This commits adds the provisional taler scheme to the Safelist to ensure Taler wallet WebExtensions can register the handler.

(See WHATWG Working Mode: Changes for more details.)


/acknowledgements.html ( diff )
/system-state.html ( diff )

@domenic
Copy link
Copy Markdown
Member

domenic commented Nov 14, 2022

which may run as a Web extension or as a separate App depending on the platform

In this case, modifying this spec seems incorrect, as this spec is what allows websites to intercept the scheme and prevent extensions or external applications from handling it. If you want an extension or external app to handle a scheme, those aren't governed by the HTML Standard.

@sebasjm
Copy link
Copy Markdown

sebasjm commented Mar 1, 2023

If you want an extension or external app to handle a scheme, those aren't governed by the HTML Standard.

No, we don't want one extension to handle the scheme. We want the URI scheme "taler://" to be in the safelist so any software can react to taler:// instead of using web+ or ext+ prefix

Scheme spec: https://datatracker.ietf.org/doc/draft-grothoff-taler/
Reference implementation: https://git.taler.net/wallet-core.git/
Docs about GNU Taler protocol: https://docs.taler.net/

@grothoff grothoff marked this pull request as ready for review March 27, 2023 06:52
@domenic domenic added addition/proposal New features or enhancements needs implementer interest Moving the issue forward requires implementers to express interest labels Apr 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

addition/proposal New features or enhancements needs implementer interest Moving the issue forward requires implementers to express interest

Development

Successfully merging this pull request may close these issues.

3 participants