---
name: "gpgmngr"
section: "1"
platform: "linux"
package: "gpgmngr"
version: "1.0.2-1+b1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/gpgmngr"
---

# gpgmngr(1)

GPG Manager

## NAME

gpgmngr - GPG Manager

## SYNOPSIS

**gpgmngr** \[*options*\] \[*menu-options*\] ...

## DESCRIPTION

**gpgmngr** is a command-line tool for managing all GPG functionalities, including creating, listing, editing, and deleting keys. It offers a user-friendly interface to handle GPG key management on the GNU/Linux terminal.

## OPTIONS

- **-v**

  Show the program version.

- **-h**

  Show the help.

## MENU OPTIONS

The script is divided into several main sections, each with submenus:

### 1. Key Management

These options allow managing GPG keys.

- **1. Create new key**

  Generate a new GPG key pair.

- **2. List keys**

  List all available GPG keys.

- **3. Edit key**

  Edit an existing GPG key.

- **4. Delete key**

  Delete an existing GPG key.

- **5. Revoke key**

  Revoke a GPG key.

- **6. Generate revocation certificate**

  Create a revocation certificate for a GPG key.

- **7. Manage subkeys**

  Manage subkeys associated with a GPG key.

- **8. Change passphrase**

  Change the passphrase for a GPG key.

- **9. Modify key expiration**

  Change the expiration date of a GPG key.

- **10. Clean keyring**

  Remove unnecessary data from the keyring.

- **0. Back to main menu**

  Return to the main menu.

### 2. Encryption and Decryption

These options allow performing encryption and decryption operations.

- **1. Encrypt document**

  Encrypt a document using a GPG key.

- **2. Decrypt document**

  Decrypt a previously encrypted document.

- **3. Symmetric encryption**

  Encrypt a document using symmetric encryption.

- **0. Back to main menu**

  Return to the main menu.

### 3. Signing and Verification

These options allow signing and verifying documents.

- **1. Sign document**

  Digitally sign a document with a GPG key.

- **2. Verify signature**

  Verify the signature of a signed document.

- **3. Sign key**

  Sign another user's GPG key.

- **4. Verify file integrity**

  Verify the integrity of a file using a signature.

- **0. Back to main menu**

  Return to the main menu.

### 4. Key Trade Operations

These options allow importing, exporting, and updating GPG keys.

- **1. Import key from file**

  Import a GPG key from a file.

- **2. Import key from keyserver**

  Import a GPG key from a keyserver.

- **3. Export public key**

  Export a public GPG key to a file.

- **4. Export private key**

  Export a private GPG key to a file.

- **5. Upload key to keyserver**

  Upload a GPG key to a keyserver.

- **6. Update key on keyserver**

  Update an existing GPG key on a keyserver.

- **0. Back to main menu**

  Return to the main menu.

### 5. Backup and Restore

These options allow backing up and restoring GPG keys.

- **1. Backup keys**

  Backup GPG keys to a secure location.

- **2. Restore keys**

  Restore GPG keys from a backup.

- **0. Back to main menu**

  Return to the main menu.

### 6. Miscellaneous

These options provide additional GPG-related functionalities.

- **1. Show GPG config info**

  Display GPG configuration information.

- **2. Show key fingerprint**

  Display the fingerprint of a GPG key.

- **0. Back to main menu**

  Return to the main menu.

### 0. Exit

Exit the script.

## BUGS

**gpgmngr** If you discover any bugs in **gpgmngr**, please contact the author.

## SEE ALSO

**[gpg(1)](/gpg/1.md),** **[gpg-agent(1)](/gpg-agent/1.md),** **[gpgsm(1)](/gpgsm/1.md).**

## AUTHORS

Originally written by Manuel Guerra \<ar.manuelguerra@gmail.com\>.

Please use the email address \<ar.manuelguerra@gmail.com\> for gpgmngr-related comments.

## COPYRIGHT

Copyright © 2024 Manuel Guerra

License: GPL-3+

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see \<https://www.gnu.org/licenses/\>.

On Debian systems, the complete text of the GNU General Public License version 3 can be found in \`/usr/share/common-licenses/GPL-3'.
