mirror of
https://github.com/pgpainless/pgpainless.git
synced 2024-11-14 00:12:06 +01:00
165 lines
No EOL
2.7 KiB
Groff
165 lines
No EOL
2.7 KiB
Groff
'\" t
|
|
.\" Title: pgpainless-cli-inline-sign
|
|
.\" Author: [see the "AUTHOR(S)" section]
|
|
.\" Generator: Asciidoctor 2.0.10
|
|
.\" Date: 2022-08-07
|
|
.\" Manual: PGPainless-CLI Manual
|
|
.\" Source:
|
|
.\" Language: English
|
|
.\"
|
|
.TH "PGPAINLESS\-CLI\-INLINE\-SIGN" "1" "2022-08-07" "" "PGPainless\-CLI Manual"
|
|
.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\-inline\-sign \- Create an inline\-signed message from data on standard input
|
|
.SH "SYNOPSIS"
|
|
.sp
|
|
\fBpgpainless\-cli inline\-sign\fP [\fB\-\-[no\-]armor\fP] [\fB\-\-as\fP=\fI{binary|text|cleartextsigned}\fP]
|
|
[\fB\-\-with\-key\-password\fP=\fIPASSWORD\fP]... [\fIKEYS\fP...]
|
|
.SH "DESCRIPTION"
|
|
|
|
.SH "OPTIONS"
|
|
.sp
|
|
\fB\-\-as\fP=\fI{binary|text|cleartextsigned}\fP
|
|
.RS 4
|
|
Specify the signature format of the signed message
|
|
.sp
|
|
\(aqtext\(aq and \(aqbinary\(aq will produce inline\-signed messages.
|
|
.sp
|
|
\(aqcleartextsigned\(aq will make use of the cleartext signature framework.
|
|
.sp
|
|
Defaults to \(aqbinary\(aq.
|
|
.sp
|
|
If \(aq\-\-as=text\(aq and the input data is not valid UTF\-8, inline\-sign fails with return code 53.
|
|
.RE
|
|
.sp
|
|
\fB\-\-[no\-]armor\fP
|
|
.RS 4
|
|
ASCII armor the output
|
|
.RE
|
|
.sp
|
|
\fB\-\-with\-key\-password\fP=\fIPASSWORD\fP
|
|
.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
|
|
[\fIKEYS\fP...]
|
|
.RS 4
|
|
Secret keys used for signing
|
|
.RE
|
|
.SH "EXIT CODES:"
|
|
.sp
|
|
\fB0\fP
|
|
.RS 4
|
|
Successful program execution
|
|
.RE
|
|
.sp
|
|
\fB1\fP
|
|
.RS 4
|
|
Generic program error
|
|
.RE
|
|
.sp
|
|
\fB3\fP
|
|
.RS 4
|
|
Verification requested but no verifiable signature found
|
|
.RE
|
|
.sp
|
|
\fB13\fP
|
|
.RS 4
|
|
Unsupported asymmetric algorithm
|
|
.RE
|
|
.sp
|
|
\fB17\fP
|
|
.RS 4
|
|
Certificate is not encryption capable
|
|
.RE
|
|
.sp
|
|
\fB19\fP
|
|
.RS 4
|
|
Usage error: Missing argument
|
|
.RE
|
|
.sp
|
|
\fB23\fP
|
|
.RS 4
|
|
Incomplete verification instructions
|
|
.RE
|
|
.sp
|
|
\fB29\fP
|
|
.RS 4
|
|
Unable to decrypt
|
|
.RE
|
|
.sp
|
|
\fB31\fP
|
|
.RS 4
|
|
Password is not human\-readable
|
|
.RE
|
|
.sp
|
|
\fB37\fP
|
|
.RS 4
|
|
Unsupported Option
|
|
.RE
|
|
.sp
|
|
\fB41\fP
|
|
.RS 4
|
|
Invalid data or data of wrong type encountered
|
|
.RE
|
|
.sp
|
|
\fB53\fP
|
|
.RS 4
|
|
Non\-text input received where text was expected
|
|
.RE
|
|
.sp
|
|
\fB59\fP
|
|
.RS 4
|
|
Output file already exists
|
|
.RE
|
|
.sp
|
|
\fB61\fP
|
|
.RS 4
|
|
Input file does not exist
|
|
.RE
|
|
.sp
|
|
\fB67\fP
|
|
.RS 4
|
|
Cannot unlock password protected secret key
|
|
.RE
|
|
.sp
|
|
\fB69\fP
|
|
.RS 4
|
|
Unsupported subcommand
|
|
.RE
|
|
.sp
|
|
\fB71\fP
|
|
.RS 4
|
|
Unsupported special prefix (e.g. "@env/@fd") of indirect parameter
|
|
.RE
|
|
.sp
|
|
\fB73\fP
|
|
.RS 4
|
|
Ambiguous input (a filename matching the designator already exists)
|
|
.RE
|
|
.sp
|
|
\fB79\fP
|
|
.RS 4
|
|
Key is not signing capable
|
|
.RE |