un-nest curl
This commit is contained in:
46
curl-8.15.0/docs/cmdline-opts/tls-earlydata.md
Normal file
46
curl-8.15.0/docs/cmdline-opts/tls-earlydata.md
Normal file
@@ -0,0 +1,46 @@
|
||||
---
|
||||
c: Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||
SPDX-License-Identifier: curl
|
||||
Long: tls-earlydata
|
||||
Help: Allow use of TLSv1.3 early data (0RTT)
|
||||
Protocols: TLS
|
||||
Added: 8.11.0
|
||||
Category: tls
|
||||
Multi: boolean
|
||||
See-also:
|
||||
- tlsv1.3
|
||||
- tls-max
|
||||
- ssl-sessions
|
||||
Example:
|
||||
- --tls-earlydata $URL
|
||||
---
|
||||
|
||||
# `--tls-earlydata`
|
||||
|
||||
Enable the use of TLSv1.3 early data, also known as '0RTT' where possible.
|
||||
This has security implications for the requests sent that way.
|
||||
|
||||
This option can be used when curl is built to use GnuTLS, wolfSSL, quictls and
|
||||
OpenSSL as a TLS provider (but not BoringSSL, AWS-LC, or rustls).
|
||||
|
||||
If a server supports this TLSv1.3 feature, and to what extent, is announced
|
||||
as part of the TLS "session" sent back to curl. Until curl has seen such
|
||||
a session in a previous request, early data cannot be used.
|
||||
|
||||
When a new connection is initiated with a known TLSv1.3 session, and that
|
||||
session announced early data support, the first request on this connection is
|
||||
sent *before* the TLS handshake is complete. While the early data is also
|
||||
encrypted, it is not protected against replays. An attacker can send
|
||||
your early data to the server again and the server would accept it.
|
||||
|
||||
If your request contacts a public server and only retrieves a file, there
|
||||
may be no harm in that. If the first request orders a refrigerator
|
||||
for you, it is probably not a good idea to use early data for it. curl
|
||||
cannot deduce what the security implications of your requests actually
|
||||
are and make this decision for you.
|
||||
|
||||
The amount of early data sent can be inspected by using the `--write-out`
|
||||
variable `tls_earlydata`.
|
||||
|
||||
**WARNING**: this option has security implications. See above for more
|
||||
details.
|
||||
Reference in New Issue
Block a user