# Signing and Encryption (GnuPG Keys)

Email / Signing and Encryption (GnuPG Keys)

## Delete GnuPG key pair

 - [GET /GPG/delete_keypair](https://api.docs.cpanel.net/specifications/cpanel.openapi/signing-and-encryption-(gnupg-keys)/delete_keypair.md): This function deletes a GnuPG (GPG) key pair.

## Export GnuPG public key

 - [GET /GPG/export_public_key](https://api.docs.cpanel.net/specifications/cpanel.openapi/signing-and-encryption-(gnupg-keys)/export_public_key.md): This function exports a GnuPG (GPG) public key.

## Export GnuPG secret key

 - [GET /GPG/export_secret_key](https://api.docs.cpanel.net/specifications/cpanel.openapi/signing-and-encryption-(gnupg-keys)/export_secret_key.md): This function exports a GnuPG (GPG) secret key.

## Create GnuPG key

 - [GET /GPG/generate_key](https://api.docs.cpanel.net/specifications/cpanel.openapi/signing-and-encryption-(gnupg-keys)/generate_key.md): This function generates a GnuPG (GPG) key. The system saves the key in the user's .gnupg directory.

Note:

This function uses the system's entropy) to generate the key. Systems with low entropy levels may cause long generation times or timeouts.

## Import GnuPG key

 - [GET /GPG/import_key](https://api.docs.cpanel.net/specifications/cpanel.openapi/signing-and-encryption-(gnupg-keys)/import_key.md): This function imports a GnuPG (GPG) key.

## Return current user's GnuPG public keys

 - [GET /GPG/list_public_keys](https://api.docs.cpanel.net/specifications/cpanel.openapi/signing-and-encryption-(gnupg-keys)/list_public_keys.md): This function lists the GnuPG (GPG) public keys for the
currently-authenticated account.

## Return current user's GnuPG secret keys

 - [GET /GPG/list_secret_keys](https://api.docs.cpanel.net/specifications/cpanel.openapi/signing-and-encryption-(gnupg-keys)/list_secret_keys.md): This function lists the GnuPG (GPG) secret keys for the currently-authenticated account.

