Codebase list kwalletcli / 5642827
Merge tag 'kwalletcli-3.02' kwalletcli_3.02.orig.tar.gz mirabilos authored 5 years ago mirabilos committed 5 years ago
4 changed file(s) with 166 addition(s) and 34 deletion(s). Raw diff Collapse all Expand all
0 .\" $MirOS: contrib/hosted/tg/code/kwalletcli/kwalletaskpass.1,v 1.10 2016/08/30 18:26:43 tg Exp $
0 .\" $MirOS: contrib/hosted/tg/code/kwalletcli/kwalletaskpass.1,v 1.12 2018/12/25 19:38:12 tg Exp $
11 .\"-
2 .\" Copyright © 2009, 2010, 2011, 2016
2 .\" Copyright © 2009, 2010, 2011, 2016, 2018
33 .\" mirabilos <m@mirbsd.org>
44 .\"
55 .\" Provided that these terms and disclaimer and all copyright notices
7373 .\" with -mandoc, it might implement .Mx itself, but we want to
7474 .\" use our own definition. And .Dd must come *first*, always.
7575 .\"
76 .Dd $Mdocdate: August 30 2016 $
76 .Dd $Mdocdate: December 25 2018 $
7777 .\"
7878 .\" Check which macro package we use, and do other -mdoc setup.
7979 .\"
8181 . if \*[.T]utf8 .tr \[la]\*(Lt
8282 . if \*[.T]utf8 .tr \[ra]\*(Gt
8383 . ie d volume-ds-1 .ds tT gnu
84 . el .ie d doc-volume-ds-1 .ds tT gnp
8485 . el .ds tT bsd
8586 .\}
8687 .el .ds tT ucb
9394 . nr curr-font \n[.f]
9495 . nr curr-size \n[.ps]
9596 . ds str-Mx \f[\n[curr-font]]\s[\n[curr-size]u]
96 . ds str-Mx1 \*[Tn-font-size]\%MirOS\*[str-Mx]
97 . ds str-Mx1 \*[Tn-font-size]\%MirBSD\*[str-Mx]
9798 . if !\n[arg-limit] \
9899 . if \n[.$] \{\
99100 . ds macro-name Mx
119120 . ds sP \s0
120121 . ds tN \*[Tn-font-size]
121122 .\}
123 .el .ie "\*(tT"gnp" \{\
124 . eo
125 . de Mx
126 . nr doc-curr-font \n[.f]
127 . nr doc-curr-size \n[.ps]
128 . ds doc-str-Mx \f[\n[doc-curr-font]]\s[\n[doc-curr-size]u]
129 . ds doc-str-Mx1 \*[doc-Tn-font-size]\%MirBSD\*[doc-str-Mx]
130 . if !\n[doc-arg-limit] \
131 . if \n[.$] \{\
132 . ds doc-macro-name Mx
133 . doc-parse-args \$@
134 . \}
135 . if (\n[doc-arg-limit] > \n[doc-arg-ptr]) \{\
136 . nr doc-arg-ptr +1
137 . ie (\n[doc-type\n[doc-arg-ptr]] == 2) \
138 . as doc-str-Mx1 \~\*[doc-arg\n[doc-arg-ptr]]
139 . el \
140 . nr doc-arg-ptr -1
141 . \}
142 . ds doc-arg\n[doc-arg-ptr] "\*[doc-str-Mx1]
143 . nr doc-type\n[doc-arg-ptr] 2
144 . ds doc-space\n[doc-arg-ptr] "\*[doc-space]
145 . nr doc-num-args (\n[doc-arg-limit] - \n[doc-arg-ptr])
146 . nr doc-arg-limit \n[doc-arg-ptr]
147 . if \n[doc-num-args] \
148 . doc-parse-space-vector
149 . doc-print-recursive
150 ..
151 . ec
152 . ds sP \s0
153 . ds tN \*[doc-Tn-font-size]
154 .\}
122155 .el \{\
123156 . de Mx
124157 . nr cF \\n(.f
125158 . nr cZ \\n(.s
126159 . ds aa \&\f\\n(cF\s\\n(cZ
127160 . if \\n(aC==0 \{\
128 . ie \\n(.$==0 \&MirOS\\*(aa
161 . ie \\n(.$==0 \&MirBSD\\*(aa
129162 . el .aV \\$1 \\$2 \\$3 \\$4 \\$5 \\$6 \\$7 \\$8 \\$9
130163 . \}
131164 . if \\n(aC>\\n(aP \{\
132165 . nr aP \\n(aP+1
133166 . ie \\n(C\\n(aP==2 \{\
134 . as b1 \&MirOS\ #\&\\*(A\\n(aP\\*(aa
167 . as b1 \&MirBSD\ #\&\\*(A\\n(aP\\*(aa
135168 . ie \\n(aC>\\n(aP \{\
136169 . nr aP \\n(aP+1
137170 . nR
139172 . el .aZ
140173 . \}
141174 . el \{\
142 . as b1 \&MirOS\\*(aa
175 . as b1 \&MirBSD\\*(aa
143176 . nR
144177 . \}
145178 . \}
160193 is a kwallet- and pinentry-based pass-phrase dialog for use with OpenSSH.
161194 It is intended to be called from the
162195 .Xr ssh\-add 1
163 programme and not invoked directly.
196 program and not invoked directly.
164197 .Pp
165198 If a passphrase is requested,
166199 .Nm
207240 .It Ev PINENTRY
208241 The
209242 .Nm pinentry
210 programme to use.
243 program to use.
211244 The default is inherited from
212245 .Xr kwalletcli_getpin 1 .
213246 .El
0 .\" $MirOS: contrib/hosted/tg/code/kwalletcli/kwalletcli.1,v 1.18 2018/02/09 16:33:43 tg Exp $
0 .\" $MirOS: contrib/hosted/tg/code/kwalletcli/kwalletcli.1,v 1.19 2018/12/25 19:38:13 tg Exp $
11 .\"-
22 .\" Copyright © 2009, 2010, 2011, 2016, 2018
33 .\" mirabilos <m@mirbsd.org>
7373 .\" with -mandoc, it might implement .Mx itself, but we want to
7474 .\" use our own definition. And .Dd must come *first*, always.
7575 .\"
76 .Dd $Mdocdate: February 9 2018 $
76 .Dd $Mdocdate: December 25 2018 $
7777 .\"
7878 .\" Check which macro package we use, and do other -mdoc setup.
7979 .\"
8181 . if \*[.T]utf8 .tr \[la]\*(Lt
8282 . if \*[.T]utf8 .tr \[ra]\*(Gt
8383 . ie d volume-ds-1 .ds tT gnu
84 . el .ie d doc-volume-ds-1 .ds tT gnp
8485 . el .ds tT bsd
8586 .\}
8687 .el .ds tT ucb
9394 . nr curr-font \n[.f]
9495 . nr curr-size \n[.ps]
9596 . ds str-Mx \f[\n[curr-font]]\s[\n[curr-size]u]
96 . ds str-Mx1 \*[Tn-font-size]\%MirOS\*[str-Mx]
97 . ds str-Mx1 \*[Tn-font-size]\%MirBSD\*[str-Mx]
9798 . if !\n[arg-limit] \
9899 . if \n[.$] \{\
99100 . ds macro-name Mx
119120 . ds sP \s0
120121 . ds tN \*[Tn-font-size]
121122 .\}
123 .el .ie "\*(tT"gnp" \{\
124 . eo
125 . de Mx
126 . nr doc-curr-font \n[.f]
127 . nr doc-curr-size \n[.ps]
128 . ds doc-str-Mx \f[\n[doc-curr-font]]\s[\n[doc-curr-size]u]
129 . ds doc-str-Mx1 \*[doc-Tn-font-size]\%MirBSD\*[doc-str-Mx]
130 . if !\n[doc-arg-limit] \
131 . if \n[.$] \{\
132 . ds doc-macro-name Mx
133 . doc-parse-args \$@
134 . \}
135 . if (\n[doc-arg-limit] > \n[doc-arg-ptr]) \{\
136 . nr doc-arg-ptr +1
137 . ie (\n[doc-type\n[doc-arg-ptr]] == 2) \
138 . as doc-str-Mx1 \~\*[doc-arg\n[doc-arg-ptr]]
139 . el \
140 . nr doc-arg-ptr -1
141 . \}
142 . ds doc-arg\n[doc-arg-ptr] "\*[doc-str-Mx1]
143 . nr doc-type\n[doc-arg-ptr] 2
144 . ds doc-space\n[doc-arg-ptr] "\*[doc-space]
145 . nr doc-num-args (\n[doc-arg-limit] - \n[doc-arg-ptr])
146 . nr doc-arg-limit \n[doc-arg-ptr]
147 . if \n[doc-num-args] \
148 . doc-parse-space-vector
149 . doc-print-recursive
150 ..
151 . ec
152 . ds sP \s0
153 . ds tN \*[doc-Tn-font-size]
154 .\}
122155 .el \{\
123156 . de Mx
124157 . nr cF \\n(.f
125158 . nr cZ \\n(.s
126159 . ds aa \&\f\\n(cF\s\\n(cZ
127160 . if \\n(aC==0 \{\
128 . ie \\n(.$==0 \&MirOS\\*(aa
161 . ie \\n(.$==0 \&MirBSD\\*(aa
129162 . el .aV \\$1 \\$2 \\$3 \\$4 \\$5 \\$6 \\$7 \\$8 \\$9
130163 . \}
131164 . if \\n(aC>\\n(aP \{\
132165 . nr aP \\n(aP+1
133166 . ie \\n(C\\n(aP==2 \{\
134 . as b1 \&MirOS\ #\&\\*(A\\n(aP\\*(aa
167 . as b1 \&MirBSD\ #\&\\*(A\\n(aP\\*(aa
135168 . ie \\n(aC>\\n(aP \{\
136169 . nr aP \\n(aP+1
137170 . nR
139172 . el .aZ
140173 . \}
141174 . el \{\
142 . as b1 \&MirOS\\*(aa
175 . as b1 \&MirBSD\\*(aa
143176 . nR
144177 . \}
145178 . \}
0 .\" $MirOS: contrib/hosted/tg/code/kwalletcli/kwalletcli_getpin.1,v 1.18 2016/08/30 17:37:58 tg Exp $
0 .\" $MirOS: contrib/hosted/tg/code/kwalletcli/kwalletcli_getpin.1,v 1.20 2018/12/25 19:38:13 tg Exp $
11 .\"-
2 .\" Copyright © 2009, 2011, 2016
2 .\" Copyright © 2009, 2011, 2016, 2018
33 .\" mirabilos <m@mirbsd.org>
44 .\"
55 .\" Provided that these terms and disclaimer and all copyright notices
7373 .\" with -mandoc, it might implement .Mx itself, but we want to
7474 .\" use our own definition. And .Dd must come *first*, always.
7575 .\"
76 .Dd $Mdocdate: August 30 2016 $
76 .Dd $Mdocdate: December 25 2018 $
7777 .\"
7878 .\" Check which macro package we use, and do other -mdoc setup.
7979 .\"
8181 . if \*[.T]utf8 .tr \[la]\*(Lt
8282 . if \*[.T]utf8 .tr \[ra]\*(Gt
8383 . ie d volume-ds-1 .ds tT gnu
84 . el .ie d doc-volume-ds-1 .ds tT gnp
8485 . el .ds tT bsd
8586 .\}
8687 .el .ds tT ucb
9394 . nr curr-font \n[.f]
9495 . nr curr-size \n[.ps]
9596 . ds str-Mx \f[\n[curr-font]]\s[\n[curr-size]u]
96 . ds str-Mx1 \*[Tn-font-size]\%MirOS\*[str-Mx]
97 . ds str-Mx1 \*[Tn-font-size]\%MirBSD\*[str-Mx]
9798 . if !\n[arg-limit] \
9899 . if \n[.$] \{\
99100 . ds macro-name Mx
119120 . ds sP \s0
120121 . ds tN \*[Tn-font-size]
121122 .\}
123 .el .ie "\*(tT"gnp" \{\
124 . eo
125 . de Mx
126 . nr doc-curr-font \n[.f]
127 . nr doc-curr-size \n[.ps]
128 . ds doc-str-Mx \f[\n[doc-curr-font]]\s[\n[doc-curr-size]u]
129 . ds doc-str-Mx1 \*[doc-Tn-font-size]\%MirBSD\*[doc-str-Mx]
130 . if !\n[doc-arg-limit] \
131 . if \n[.$] \{\
132 . ds doc-macro-name Mx
133 . doc-parse-args \$@
134 . \}
135 . if (\n[doc-arg-limit] > \n[doc-arg-ptr]) \{\
136 . nr doc-arg-ptr +1
137 . ie (\n[doc-type\n[doc-arg-ptr]] == 2) \
138 . as doc-str-Mx1 \~\*[doc-arg\n[doc-arg-ptr]]
139 . el \
140 . nr doc-arg-ptr -1
141 . \}
142 . ds doc-arg\n[doc-arg-ptr] "\*[doc-str-Mx1]
143 . nr doc-type\n[doc-arg-ptr] 2
144 . ds doc-space\n[doc-arg-ptr] "\*[doc-space]
145 . nr doc-num-args (\n[doc-arg-limit] - \n[doc-arg-ptr])
146 . nr doc-arg-limit \n[doc-arg-ptr]
147 . if \n[doc-num-args] \
148 . doc-parse-space-vector
149 . doc-print-recursive
150 ..
151 . ec
152 . ds sP \s0
153 . ds tN \*[doc-Tn-font-size]
154 .\}
122155 .el \{\
123156 . de Mx
124157 . nr cF \\n(.f
125158 . nr cZ \\n(.s
126159 . ds aa \&\f\\n(cF\s\\n(cZ
127160 . if \\n(aC==0 \{\
128 . ie \\n(.$==0 \&MirOS\\*(aa
161 . ie \\n(.$==0 \&MirBSD\\*(aa
129162 . el .aV \\$1 \\$2 \\$3 \\$4 \\$5 \\$6 \\$7 \\$8 \\$9
130163 . \}
131164 . if \\n(aC>\\n(aP \{\
132165 . nr aP \\n(aP+1
133166 . ie \\n(C\\n(aP==2 \{\
134 . as b1 \&MirOS\ #\&\\*(A\\n(aP\\*(aa
167 . as b1 \&MirBSD\ #\&\\*(A\\n(aP\\*(aa
135168 . ie \\n(aC>\\n(aP \{\
136169 . nr aP \\n(aP+1
137170 . nR
139172 . el .aZ
140173 . \}
141174 . el \{\
142 . as b1 \&MirOS\\*(aa
175 . as b1 \&MirBSD\\*(aa
143176 . nR
144177 . \}
145178 . \}
172205 .Pp
173206 If
174207 .Ev PINENTRY
175 is not empty but points to a non-existing or failing programme,
208 is not empty but points to a non-existing or failing program,
176209 .Nm pinentry
177210 is not called.
178211 Instead,
283316 .It Ev PINENTRY
284317 The
285318 .Nm pinentry
286 programme to use.
319 program to use.
287320 Default:
288321 .Dq pinentry
289322 .El
305338 .Sh BUGS
306339 Some
307340 .Nm pinentry
308 programmes may not support messages correctly and display
341 programs may not support messages correctly and display
309342 them as boolean queries instead.
310343 .Pp
311344 Some implementations display labels with the wrong charset.
0 .\" $MirOS: contrib/hosted/tg/code/kwalletcli/pinentry-kwallet.1,v 1.10 2016/08/30 17:37:59 tg Exp $
0 .\" $MirOS: contrib/hosted/tg/code/kwalletcli/pinentry-kwallet.1,v 1.12 2018/12/25 19:38:13 tg Exp $
11 .\"-
2 .\" Copyright © 2009, 2010, 2011, 2016
2 .\" Copyright © 2009, 2010, 2011, 2016, 2018
33 .\" mirabilos <m@mirbsd.org>
44 .\"
55 .\" Provided that these terms and disclaimer and all copyright notices
7373 .\" with -mandoc, it might implement .Mx itself, but we want to
7474 .\" use our own definition. And .Dd must come *first*, always.
7575 .\"
76 .Dd $Mdocdate: August 30 2016 $
76 .Dd $Mdocdate: December 25 2018 $
7777 .\"
7878 .\" Check which macro package we use, and do other -mdoc setup.
7979 .\"
8181 . if \*[.T]utf8 .tr \[la]\*(Lt
8282 . if \*[.T]utf8 .tr \[ra]\*(Gt
8383 . ie d volume-ds-1 .ds tT gnu
84 . el .ie d doc-volume-ds-1 .ds tT gnp
8485 . el .ds tT bsd
8586 .\}
8687 .el .ds tT ucb
9394 . nr curr-font \n[.f]
9495 . nr curr-size \n[.ps]
9596 . ds str-Mx \f[\n[curr-font]]\s[\n[curr-size]u]
96 . ds str-Mx1 \*[Tn-font-size]\%MirOS\*[str-Mx]
97 . ds str-Mx1 \*[Tn-font-size]\%MirBSD\*[str-Mx]
9798 . if !\n[arg-limit] \
9899 . if \n[.$] \{\
99100 . ds macro-name Mx
119120 . ds sP \s0
120121 . ds tN \*[Tn-font-size]
121122 .\}
123 .el .ie "\*(tT"gnp" \{\
124 . eo
125 . de Mx
126 . nr doc-curr-font \n[.f]
127 . nr doc-curr-size \n[.ps]
128 . ds doc-str-Mx \f[\n[doc-curr-font]]\s[\n[doc-curr-size]u]
129 . ds doc-str-Mx1 \*[doc-Tn-font-size]\%MirBSD\*[doc-str-Mx]
130 . if !\n[doc-arg-limit] \
131 . if \n[.$] \{\
132 . ds doc-macro-name Mx
133 . doc-parse-args \$@
134 . \}
135 . if (\n[doc-arg-limit] > \n[doc-arg-ptr]) \{\
136 . nr doc-arg-ptr +1
137 . ie (\n[doc-type\n[doc-arg-ptr]] == 2) \
138 . as doc-str-Mx1 \~\*[doc-arg\n[doc-arg-ptr]]
139 . el \
140 . nr doc-arg-ptr -1
141 . \}
142 . ds doc-arg\n[doc-arg-ptr] "\*[doc-str-Mx1]
143 . nr doc-type\n[doc-arg-ptr] 2
144 . ds doc-space\n[doc-arg-ptr] "\*[doc-space]
145 . nr doc-num-args (\n[doc-arg-limit] - \n[doc-arg-ptr])
146 . nr doc-arg-limit \n[doc-arg-ptr]
147 . if \n[doc-num-args] \
148 . doc-parse-space-vector
149 . doc-print-recursive
150 ..
151 . ec
152 . ds sP \s0
153 . ds tN \*[doc-Tn-font-size]
154 .\}
122155 .el \{\
123156 . de Mx
124157 . nr cF \\n(.f
125158 . nr cZ \\n(.s
126159 . ds aa \&\f\\n(cF\s\\n(cZ
127160 . if \\n(aC==0 \{\
128 . ie \\n(.$==0 \&MirOS\\*(aa
161 . ie \\n(.$==0 \&MirBSD\\*(aa
129162 . el .aV \\$1 \\$2 \\$3 \\$4 \\$5 \\$6 \\$7 \\$8 \\$9
130163 . \}
131164 . if \\n(aC>\\n(aP \{\
132165 . nr aP \\n(aP+1
133166 . ie \\n(C\\n(aP==2 \{\
134 . as b1 \&MirOS\ #\&\\*(A\\n(aP\\*(aa
167 . as b1 \&MirBSD\ #\&\\*(A\\n(aP\\*(aa
135168 . ie \\n(aC>\\n(aP \{\
136169 . nr aP \\n(aP+1
137170 . nR
139172 . el .aZ
140173 . \}
141174 . el \{\
142 . as b1 \&MirOS\\*(aa
175 . as b1 \&MirBSD\\*(aa
143176 . nR
144177 . \}
145178 . \}
218251 .Nm
219252 will immediately replace itself with the slave
220253 .Ev PINENTRY
221 programme to use.
254 program to use.
222255 .It Ev GPG_TERM
223256 Terminal type of the current tty.
224257 .It Ev GPG_TTY
226259 .It Ev PINENTRY
227260 The
228261 .Nm pinentry
229 programme to use.
262 program to use.
230263 Default:
231264 .Dq pinentry
232265 .El