-
Notifications
You must be signed in to change notification settings - Fork 0
/
pass-mount.1
142 lines (142 loc) · 3.62 KB
/
pass-mount.1
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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
.\" Man page generated from reStructuredText.
.
.TH PASS-MOUNT 1 "2023-03-27" "0.2.1" "Password Store Extension"
.SH NAME
pass-mount \- A Password Store extension for managing encrypted filesystems.
.
.nr rst2man-indent-level 0
.
.de1 rstReportMargin
\\$1 \\n[an-margin]
level \\n[rst2man-indent-level]
level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
-
\\n[rst2man-indent0]
\\n[rst2man-indent1]
\\n[rst2man-indent2]
..
.de1 INDENT
.\" .rstReportMargin pre:
. RS \\$1
. nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin]
. nr rst2man-indent-level +1
.\" .rstReportMargin post:
..
.de UNINDENT
. RE
.\" indent \\n[an-margin]
.\" old: \\n[rst2man-indent\\n[rst2man-indent-level]]
.nr rst2man-indent-level -1
.\" new: \\n[rst2man-indent\\n[rst2man-indent-level]]
.in \\n[rst2man-indent\\n[rst2man-indent-level]]u
..
.SH SYNOPSIS
.sp
pass mount [\fICOMMAND\fP] [\fIOPTIONS\fP]... [\fIARGS\fP]...
.SH DESCRIPTION
.sp
pass\-mount extends the \fBpass\fP(1) utility with an interface to mount
encrypted filesystems.
.sp
If no COMMAND is specified, COMMAND defaults to \fBtarget\fP\&.
.SH COMMANDS
.SS mount target \fIpass\-name\fP
.sp
Mount an encrypted filesystem from the password and configuration stored that
is in \fIpass\-name\fP\&.
.SS mount \fIpass\-name\fP
.sp
This is equivilent to the \fItarget\fP command above.
.SS mount status \fIpass\-name\fP
.sp
Display the status and configuration of an encrypted filesystem from the
configuration stored in \fIpass\-name\fP\&.
.SS mount init \fIpass\-name\fP
.sp
Initialize encrypted filesystem and store the configuration in \fIpass\-name\fP\&.
.SS umount \fIpass\-name\fP
.sp
Unmount an encrypted filesystem.
.SH OPTIONS
.INDENT 0.0
.TP
.B help, \-h, \-\-help
Show usage message.
.UNINDENT
.SH EXAMPLE CONFIG - CRYFS
.sp
Configuration can be manually edited by using \fBpass edit\fP \fIpass\-name\fP\&.
Relative directory paths in the config are automatically prepended with $HOME.
.INDENT 0.0
.INDENT 3.5
.sp
.nf
.ft C
my_password
type: cryfs
basedir: .cryfs/encrypted_dir
mountpoint: /usr/local/data
.ft P
.fi
.UNINDENT
.UNINDENT
.SH EXAMPLE CONFIG - UDISKS
.sp
Configuration can be manually edited by using \fBpass edit\fP \fIpass\-name\fP\&.
The uuid can be determined by running
\fBfindmnt \-\-target /media/$USER/$DISK_LABEL \-\-output SOURCE \-\-noheadings\fP
.INDENT 0.0
.INDENT 3.5
.sp
.nf
.ft C
my_password
type: udisks
uuid: 222254e3\-c547\-4b4e\-823a\-5181698e0a39
.ft P
.fi
.UNINDENT
.UNINDENT
.SH EXAMPLE CONFIG - CRYPTSETUP
.sp
Configuration can be manually edited by using \fBpass edit\fP \fIpass\-name\fP\&.
The uuid for \fB/dev/sdb1\fP can be determined by running
\fBudevadm info /dev/sdb1 | grep ID_FS_UUID=\fP
.INDENT 0.0
.INDENT 3.5
.sp
.nf
.ft C
my_password
type: cryptsetup
uuid: 222254e3\-c547\-4b4e\-823a\-5181698e0a39
.ft P
.fi
.UNINDENT
.UNINDENT
.SH SEE ALSO
.sp
\fBpass\fP(1)
\fBcryfs\fP(1)
.sp
<\fI\%https://github.com/humanxrobot/pass\-mount\fP>
.SH COPYING
.sp
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
.sp
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
.sp
You should have received a copy of the GNU General Public License
along with this program. If not, see <\fI\%http://www.gnu.org/licenses/\fP>.
.SH AUTHOR
Lucid One <[email protected]>
.SH COPYRIGHT
GPLv3
.\" Generated by docutils manpage writer.
.