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