|
Lines 47-53
Link Here
|
| 47 |
.Op Fl l Ar lockfile |
47 |
.Op Fl l Ar lockfile |
| 48 |
.Op Fl p Ar pass-phrase |
48 |
.Op Fl p Ar pass-phrase |
| 49 |
.Nm |
49 |
.Nm |
| 50 |
dettach |
50 |
detach |
| 51 |
.Ar destination |
51 |
.Ar destination |
| 52 |
.Nm |
52 |
.Nm |
| 53 |
init |
53 |
init |
|
Lines 81-87
Link Here
|
| 81 |
program and the kernel part is not a published interface. |
81 |
program and the kernel part is not a published interface. |
| 82 |
.Pp |
82 |
.Pp |
| 83 |
The operational aspect consists of two subcommands, one to open and attach |
83 |
The operational aspect consists of two subcommands, one to open and attach |
| 84 |
a device and one to close and dettach |
84 |
a device and one to close and detach |
| 85 |
a device to the in-kernel cryptographic gbde module. |
85 |
a device to the in-kernel cryptographic gbde module. |
| 86 |
.Pp |
86 |
.Pp |
| 87 |
The management part allows initialization of the master key and lock sectors |
87 |
The management part allows initialization of the master key and lock sectors |
|
Lines 114-121
Link Here
|
| 114 |
of the parameters can be interactively edited. |
114 |
of the parameters can be interactively edited. |
| 115 |
.Pp |
115 |
.Pp |
| 116 |
.Fl p Ar pass-phrase |
116 |
.Fl p Ar pass-phrase |
| 117 |
specifies the pass-phrase used to opening the device. |
117 |
specifies the pass-phrase used to open the device. |
| 118 |
If not specified the controlling terminal will be used to prompt the user |
118 |
If not specified, the controlling terminal will be used to prompt the user |
| 119 |
for the pass-phrase. |
119 |
for the pass-phrase. |
| 120 |
.Pp |
120 |
.Pp |
| 121 |
.Fl P Ar new-pass-phrase |
121 |
.Fl P Ar new-pass-phrase |
|
Lines 131-140
Link Here
|
| 131 |
To attach an encrypted device: |
131 |
To attach an encrypted device: |
| 132 |
.Dl # gbde attach ad0s1f -l /etc/ad0s1f.lock |
132 |
.Dl # gbde attach ad0s1f -l /etc/ad0s1f.lock |
| 133 |
.Pp |
133 |
.Pp |
| 134 |
To dettach an encrypted device: |
134 |
To detach an encrypted device: |
| 135 |
.Dl # gbde dettach ad0s1f |
135 |
.Dl # gbde detach ad0s1f |
| 136 |
.Pp |
136 |
.Pp |
| 137 |
To initialize the second key using a dettached lockfile and a trivial |
137 |
To initialize the second key using a detached lockfile and a trivial |
| 138 |
pass-phrase: |
138 |
pass-phrase: |
| 139 |
.Dl # gbde setkey ad0s1f -n 2 -P foo -L key2.lockfile |
139 |
.Dl # gbde setkey ad0s1f -n 2 -P foo -L key2.lockfile |
| 140 |
.Pp |
140 |
.Pp |