2022-08-08 00:23:58 +02:00
'\" t
. \" Title: pgpainless-cli-sign
. \" Author: [see the "AUTHOR(S)" section]
. \" Generator: Asciidoctor 2.0.10
. \" Manual: PGPainless-CLI Manual
. \" Source:
. \" Language: English
. \"
2022-11-15 21:47:46 +01:00
.TH "PGPAINLESS\-CLI\-SIGN" "1" "" "" "PGPainless\-CLI Manual"
2022-08-08 00:23:58 +02:00
.ie \n (.g .ds Aq \(aq
.el .ds Aq '
.ss \n[.ss] 0
.nh
.ad l
.de URL
\fI \\ $2\fP <\\ $1>\\ $3
. .
.als MTO URL
.if \n[.g] \{ \
. mso www.tmac
. am URL
. ad l
. .
. am MTO
. ad l
. .
. LINKSTYLE blue R < >
. \}
.SH "NAME"
pgpainless\- cli\- sign \- Create a detached signature on the data from standard input
.SH "SYNOPSIS"
.sp
2022-11-06 15:08:07 +01:00
\fB pgpainless\- cli sign\fP [\fB \- \-[no\-]armor\fP] [\fB\-\-stacktrace\fP] [\fB\-\-as\fP=\fI{binary|text}\fP]
[\fB \- \- micalg\- out\fP =\fI MICALG\fP ] [\fB \- \- with\- key\- password\fP =\fI PASSWORD\fP ]... [\fI KEYS\fP ...]
2022-08-08 00:23:58 +02:00
.SH "DESCRIPTION"
.SH "OPTIONS"
.sp
\fB \- \- as\fP =\fI {binary|text}\fP
.RS 4
2023-04-27 15:23:37 +02:00
Specify the output format of the signed message.
2022-08-08 00:23:58 +02:00
.sp
Defaults to \(aq binary\(aq .
2022-11-06 15:08:07 +01:00
.sp
If \(aq \- \- as=text\(aq and the input data is not valid UTF\- 8, sign fails with return code 53.
2022-08-08 00:23:58 +02:00
.RE
.sp
\fB \- \- micalg\- out\fP =\fI MICALG\fP
.RS 4
2023-04-27 15:23:37 +02:00
Emits the digest algorithm used to the specified file in a way that can be used to populate the micalg parameter for the PGP/MIME Content\- Type (RFC3156).
2022-08-08 00:23:58 +02:00
.RE
.sp
\fB \- \-[no\-] armor\fP
.RS 4
ASCII armor the output
.RE
.sp
2022-11-15 21:47:46 +01:00
\fB \- \- stacktrace\fP , \fB \- \- with\- key\- password\fP =\fI PASSWORD\fP
2022-08-08 00:23:58 +02:00
.RS 4
Passphrase to unlock the secret key(s).
.sp
Is an INDIRECT data type (e.g. file, environment variable, file descriptor...).
.RE
.SH "ARGUMENTS"
.sp
[\fI KEYS\fP ...]
.RS 4
Secret keys used for signing
.RE