PGPAINLESS-...EY-PASSWORD(1)
π PGPAINLESS-CLI-CHANGE-KEY-PASSWORD π
okay bestie so this page lives in the PGPainless-CLI Manual, and it's literally the glow-up page for your key's password. new password, who dis β¨
πΈ NAME πΈ
pgpainless-cli-change-key-password β Update the password of a key
π SYNOPSIS π
pgpainless-cli change-key-password [--[no-]armor] [--stacktrace]
[--new-key-password [=PASSWORD]] [--old-key-password=PASSWORD]...
β¨ DESCRIPTION β¨
So here's the tea π« β this command takes all your secret keys from STDIN, unlocks them using the old passwords you give it, and then emits them back out to STDOUT re-locked with the new password. Glow up complete, no cap π
β οΈ and if any (sub-)key cannot be unlocked, this operation will exit with error code 67. not a vibe. π
π₯ OPTIONS π₯
--new-key-password[=PASSWORD]β the new password you want to lock the keys with π
If you don't pass in a new password at all, the keys will be emitted unlocked. yes bestie, naked keys, that's on you π
Is an INDIRECT data type (e.g. file, environment variable, file descriptor...). iykyk π§
--[no-]armorβ ASCII armor the output π‘οΈβ¨--old-key-password=PASSWORDβ the old passwords you're unlocking the keys with π
You can pass in multiple passwords, and they're tested sequentially to unlock locked subkeys. one of them has to hit, fr fr π
Is an INDIRECT data type (e.g. file, environment variable, file descriptor...). π
--stacktraceβ Print stacktrace π (for when things go sideways and you need the receipts)
and that's the whole page, babe β no notes, we ate π this was your girl, signing off from the PGPainless-CLI Manual ππ¦ stay locked, stay iconic, periodt β¨
π¦ where this page comes from
- debian trixie: pgpainless-cli 1.6.9-1 Β· Apache-2.0
- ubuntu noble: pgpainless-cli 1.6.6-2 Β· Apache-2.0
- ubuntu questing: pgpainless-cli 1.6.9-1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms