aboutsummaryrefslogtreecommitdiff
path: root/gg.1
blob: 4c2344bfbe79b5859348bdf0436eadada4d6b4d3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
.\" Copyright (c) 2021 Omar Polo <op@omarpolo.com>
.\"
.\" Permission to use, copy, modify, and distribute this software for any
.\" purpose with or without fee is hereby granted, provided that the above
.\" copyright notice and this permission notice appear in all copies.
.\"
.\" THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
.\" WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
.\" MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
.\" ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
.\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.Dd $Mdocdate: January 23 2021$
.Dt GG 1
.Os
.Sh NAME
.Nm gg
.Nd simple Gemini client
.Sh SYNOPSIS
.Nm
.Bk -words
.Op Fl 23bchNV
.Ar IRI
.Ek
.Sh DESCRIPTION
.Nm
is a simple Gemini client.
It fetches the Gemini page given and prints the server response to
standard output.
The option are as follows:
.Bl -tag -width 6m
.It Fl 2
Use only TLSv1.2.
.It Fl 3
Use only TLSv1.3.
.It Fl b
Print only the body of the response.
.It Fl c
Print only the response code.
.It Fl h
Print only the response header.
.It Fl N
Don't check whether the peer certificate name matches the requested
hostname.
.It Fl V
Only validate the IRI, don't do the Gemini transaction.
.El
.Pp
Note that
.Nm
won't try to do TOFU (Trust On First Use) or any X.509 certificate
validation: it will happily accept any certificate it is given.
.Pp
By default
.Nm
will accept both TLSv1.2 and TLSv1.3 and will always do SNI.