mirror of
https://github.com/cloudflare/cloudflared.git
synced 2025-06-18 22:56:35 +00:00

## Summary When the FIPS compliance was achieved with HTTP/2 Transport the technology at the time wasn't available or certified to be used in tandem with Post-Quantum encryption. Nowadays, that is possible, thus, we can also remove this restriction from Cloudflared. Closes TUN-8857
22 lines
669 B
Python
22 lines
669 B
Python
from util import LOGGER, start_cloudflared, wait_tunnel_ready
|
|
|
|
|
|
class TestPostQuantum:
|
|
def _extra_config(self):
|
|
config = {
|
|
"protocol": "quic",
|
|
}
|
|
return config
|
|
|
|
def test_post_quantum(self, tmp_path, component_tests_config):
|
|
config = component_tests_config(self._extra_config())
|
|
LOGGER.debug(config)
|
|
with start_cloudflared(
|
|
tmp_path,
|
|
config,
|
|
cfd_pre_args=["tunnel", "--ha-connections", "1"],
|
|
cfd_args=["run", "--post-quantum"],
|
|
new_process=True,
|
|
):
|
|
wait_tunnel_ready(tunnel_url=config.get_url(), require_min_connections=1)
|