PGPAINLESS-...EY-PASSWORD(1)

πŸ“¦ version 1.6.9, in debian trixie, ubuntu noble, ubuntu questing

πŸ’– 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