mirror of
https://github.com/pgpainless/pgpainless.git
synced 2024-11-01 01:55:59 +01:00
67 lines
No EOL
1.6 KiB
Groff
67 lines
No EOL
1.6 KiB
Groff
'\" t
|
|
.\" Title: pgpainless-cli-change-key-password
|
|
.\" Author: [see the "AUTHOR(S)" section]
|
|
.\" Generator: Asciidoctor 2.0.10
|
|
.\" Manual: PGPainless-CLI Manual
|
|
.\" Source:
|
|
.\" Language: English
|
|
.\"
|
|
.TH "PGPAINLESS\-CLI\-CHANGE\-KEY\-PASSWORD" "1" "" "" "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\-change\-key\-password \- Update the password of a key
|
|
.SH "SYNOPSIS"
|
|
.sp
|
|
\fBpgpainless\-cli change\-key\-password\fP [\fB\-\-[no\-]armor\fP] [\fB\-\-stacktrace\fP] [\fB\-\-new\-key\-password\fP
|
|
[=\fIPASSWORD\fP]] [\fB\-\-old\-key\-password\fP=\fIPASSWORD\fP]...
|
|
.SH "DESCRIPTION"
|
|
.sp
|
|
Unlock all secret keys from STDIN using the given old passwords and emit them re\-locked using the new password to STDOUT.
|
|
If any (sub\-) key cannot be unlocked, this operation will exit with error code 67.
|
|
.SH "OPTIONS"
|
|
.sp
|
|
\fB\-\-new\-key\-password\fP[=\fIPASSWORD\fP]
|
|
.RS 4
|
|
New password to lock the keys with.
|
|
.sp
|
|
If no new password is passed in, the keys will be emitted unlocked.
|
|
.sp
|
|
Is an INDIRECT data type (e.g. file, environment variable, file descriptor...).
|
|
.RE
|
|
.sp
|
|
\fB\-\-[no\-]armor\fP
|
|
.RS 4
|
|
ASCII armor the output
|
|
.RE
|
|
.sp
|
|
\fB\-\-old\-key\-password\fP=\fIPASSWORD\fP
|
|
.RS 4
|
|
Old passwords to unlock the keys with.
|
|
.sp
|
|
Multiple passwords can be passed in, which are tested sequentially to unlock locked subkeys.
|
|
.sp
|
|
Is an INDIRECT data type (e.g. file, environment variable, file descriptor...).
|
|
.RE
|
|
.sp
|
|
\fB\-\-stacktrace\fP
|
|
.RS 4
|
|
Print stacktrace
|
|
.RE |