El-Virus ea1a02bd7d Fix "The operation is insecure." when trying to register fido2 device.
navigator.credentials.create(); Doesn't accept a port in the "id" parameter. So, when trying to register a fido2 device via WebAuthn throws: "The operation is insecure." on firefox and "The relying party ID is not a registrable domain suffix of, nor equal to the current domain." on Chrome or Edge.
This commit replaces `$_SERVER['HTTP_HOST']` with `$_SERVER['SERVER_NAME']` when initializing `$WebAuthn` which excludes the port to formulate correct requests.
Now Mailcow allows the registration of fido2 devices when running in a non-standard port(eg. 443).
2021-12-26 17:11:06 +01:00
2021-11-27 12:56:44 +00:00
2017-03-02 11:23:23 +01:00
2021-10-18 12:51:19 +02:00
2018-01-14 10:45:10 +01:00
2017-06-30 07:03:10 +08:00
2021-10-25 21:01:51 +02:00
2021-12-12 10:49:50 +01:00
2017-05-18 09:48:22 +02:00
2021-11-28 07:58:22 +01:00

mailcow: dockerized - 🐮 + 🐋 = 💕

master build status staging build status Translation status

Want to support mailcow?

Please consider a support contract with Servercow to support further development. We support you while you support us. :)

You can also get a SAL which is a one-time payment with no liabilities or returning fees.

Or just spread the word: moo.

Info, documentation and support

Please see the official documentation for installation and support instructions. 🐄

🐛 If you found a critical security issue, please mail us to info at servercow.de.

Cowmunity

mailcow community

Telegram mailcow channel

Telegram mailcow Off-Topic channel

Telegram desktop clients are available for multiple platforms. You can search the groups history for keywords.

Misc

Important: mailcow makes use of various open-source software. Please assure you agree with their license before using mailcow. Any part of mailcow itself is released under GNU General Public License, Version 3.

Description
No description provided
Readme 52 MiB
Languages
JavaScript 57.4%
PHP 14.2%
Perl 10.5%
Twig 7.5%
CSS 4.7%
Other 5.5%