Contents
What happens when PGP key expires?
PGP public keys can be used to encrypt up to the day they expire. Once the key expires it can no longer be used to encrypt data. A private key will continue to decrypt data that was encrypted by that public key. Even after the public key expires.
How do I delete a PGP key?
In order to remove a PGP key from the public key server you need a key revocation certificate. This is so that no one can remove other people’s keys. Once you submit the certificate, the key will be marked as revoked. It won’t be physically removed from the server, so no one can send a fake key with your old user id.
How do I update expired PGP key?
Select the PGP key from the list. Right click on the selected key and select Properties. In the new dialog, select the Details tab. To change the expiration date of the master key, press the small button with the picture of a calendar next to Expires, on the right side of the dialog.
Is there a way to update the expiration date of a PGP key?
The expiration date of your key can be updated if the key has a specified expiration date. You can update the expiration date, the number of days, or remove the expiration date for your PGP key. When specifying the date for the key to expire, the date format is yyyy-mm-dd.
What should I do if my PGP key is revoked?
A:The easiest way to do this is: Make a backup of your public and secret keyrings. Revoke your key with pgp -kd youruserid. Extract the revoked key to a file with pgp -kxa youruserid. This file is what the manual calls the “revocation certificate.” Store the certificate in a safe location, for example on a floppy which you keep someplace else.
How to delete keys from public keyring in GPG?
You can do so (delete keys from your public keyring) with the following command: You can find the key-ID by listing your keys with the following command: This will list all your keys in your keyring. Below is an example of a key: Note: They key-ID in above key example is C5DB61BC. You can delete multiple keys with the following command:
What happens when you change the expiration date on a key?
The expiration date on a key can be changed anytime, even after the key has expired. However, if you want to stop using the expired key, you should delete or revoke it. If you have any messages encrypted with an expired key, you must change the expiration date on the key to decrypt such messages before deleting or revoking it.