Sept. 9, 2023, 9:17 a.m. | nabbisen

DEV Community dev.to




Summary


Suppose you get along with GPG (The GNU Privacy Guard, GnuPG) for good privacy, and sometimes want to change the passphrase of its secret key.


This post shows how to do it.


To be short:



  1. Get the secret key ID

  2. Run gpg --edit-key ${the-key} to start the prompt

  3. Run passwd





Environment


change edit encryption environment gnu gnupg good gpg guard key passphrase privacy run secret secret key start

SOC 2 Manager, Audit and Certification

@ Deloitte | US and CA Multiple Locations

Associate Compliance Advisor

@ SAP | Budapest, HU, 1031

DevSecOps Engineer

@ Qube Research & Technologies | London

Software Engineer, Security

@ Render | San Francisco, CA or Remote (USA & Canada)

Associate Consultant

@ Control Risks | Frankfurt, Hessen, Germany

Senior Security Engineer

@ Activision Blizzard | Work from Home - CA