proxmox/proxmox-tfa
Maximiliano Sandoval 5079ff6a3c tfa: webauthn: serialize OriginUrl following RFC6454
We serialize `OriginUrl` using the ASCII serialization mentioned at
[RFC6454] section 6.2 or [1]. Note that the unicode serialization is not
used widely adopted [2].

Note that `url::Url` serialize with a trailign slash, e.g.
https://foo.bar serializes as https://foo.bar/ which is not the origin
for this domain.

[RFC6454] https://www.rfc-editor.org/rfc/rfc6454
[1] https://html.spec.whatwg.org/multipage/browsers.html#ascii-serialisation-of-an-origin
[2] https://html.spec.whatwg.org/multipage/browsers.html#unicode-serialisation-of-an-origin

Signed-off-by: Maximiliano Sandoval <m.sandoval@proxmox.com>
2024-07-03 15:20:30 +02:00
..
debian tfa: bump to 4.1.3 2024-06-20 13:58:55 +02:00
src tfa: webauthn: serialize OriginUrl following RFC6454 2024-07-03 15:20:30 +02:00
Cargo.toml tfa: bump to 4.1.3 2024-06-20 13:58:55 +02:00