Blob


1 .\" Copyright (c) 2021 Omar Polo <op@omarpolo.com>
2 .\"
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.
6 .\"
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$
15 .Dt GG 1
16 .Os
17 .Sh NAME
18 .Nm gg
19 .Nd simple Gemini client
20 .Sh SYNOPSIS
21 .Nm
22 .Bk -words
23 .Op Fl 23bchNV
24 .Ar IRI
25 .Ek
26 .Sh DESCRIPTION
27 .Nm
28 is a simple Gemini client.
29 It fetches the Gemini page given and prints the server response to
30 standard output.
31 The option are as follows:
32 .Bl -tag -width 6m
33 .It Fl 2
34 Use only TLSv1.2.
35 .It Fl 3
36 Use only TLSv1.3.
37 .It Fl b
38 Print only the body of the response.
39 .It Fl c
40 Print only the response code.
41 .It Fl h
42 Print only the response header.
43 .It Fl N
44 Don't check whether the peer certificate name matches the requested
45 hostname.
46 .It Fl V
47 Only validate the IRI, don't do the Gemini transaction.
48 .El
49 .Pp
50 Note that
51 .Nm
52 won't try to do TOFU (Trust On First Use) or any X.509 certificate
53 validation: it will happily accept any certificate it is given.
54 .Pp
55 By default
56 .Nm
57 will accept both TLSv1.2 and TLSv1.3 and will always do SNI.