1 497977d5 2021-01-23 op .\" Copyright (c) 2021 Omar Polo <op@omarpolo.com>
3 497977d5 2021-01-23 op .\" Permission to use, copy, modify, and distribute this software for any
4 497977d5 2021-01-23 op .\" purpose with or without fee is hereby granted, provided that the above
5 497977d5 2021-01-23 op .\" copyright notice and this permission notice appear in all copies.
7 497977d5 2021-01-23 op .\" THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
8 497977d5 2021-01-23 op .\" WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
9 497977d5 2021-01-23 op .\" MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
10 497977d5 2021-01-23 op .\" ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
11 497977d5 2021-01-23 op .\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
12 497977d5 2021-01-23 op .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
13 497977d5 2021-01-23 op .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
14 497977d5 2021-01-23 op .Dd $Mdocdate: January 23 2021$
19 497977d5 2021-01-23 op .Nd simple Gemini client
23 58173ca2 2021-01-27 op .Op Fl 23bchNVv
24 58173ca2 2021-01-27 op .Op Fl H Ar hostname
27 497977d5 2021-01-23 op .Sh DESCRIPTION
29 497977d5 2021-01-23 op is a simple Gemini client.
30 497977d5 2021-01-23 op It fetches the Gemini page given and prints the server response to
31 497977d5 2021-01-23 op standard output.
32 497977d5 2021-01-23 op The option are as follows:
33 497977d5 2021-01-23 op .Bl -tag -width 6m
35 497977d5 2021-01-23 op Use only TLSv1.2.
37 497977d5 2021-01-23 op Use only TLSv1.3.
39 497977d5 2021-01-23 op Print only the body of the response.
41 497977d5 2021-01-23 op Print only the response code.
42 58173ca2 2021-01-27 op .It Fl H Ar hostname
45 58173ca2 2021-01-27 op for SNI, instead of the one extracted from the IRI.
46 58173ca2 2021-01-27 op The IRI hostname will still be used for the DNS resolution.
48 497977d5 2021-01-23 op Print only the response header.
50 497977d5 2021-01-23 op Don't check whether the peer certificate name matches the requested
53 497977d5 2021-01-23 op Only validate the IRI, don't do the Gemini transaction.
55 58173ca2 2021-01-27 op Print also the request.
60 497977d5 2021-01-23 op won't try to do TOFU (Trust On First Use) or any X.509 certificate
61 497977d5 2021-01-23 op validation: it will happily accept any certificate it is given.
65 497977d5 2021-01-23 op will accept both TLSv1.2 and TLSv1.3 and will always do SNI.