Add post-quantum flag to quick tunnel

Github #773
This commit is contained in:
Bas Westerbaan 2022-10-05 01:33:17 +02:00
parent e89bceca5e
commit f4ae8d1446
1 changed files with 7 additions and 0 deletions

View File

@ -665,6 +665,13 @@ func tunnelFlags(shouldHide bool) []cli.Flag {
EnvVars: []string{"TUNNEL_MAX_FETCH_SIZE"},
Hidden: true,
}),
altsrc.NewBoolFlag(&cli.BoolFlag{
Name: "post-quantum",
Usage: "When given creates an experimental post-quantum secure tunnel",
Aliases: []string{"pq"},
EnvVars: []string{"TUNNEL_POST_QUANTUM"},
Hidden: FipsEnabled,
}),
selectProtocolFlag,
overwriteDNSFlag,
}...)