Discuss this help topic in SecureBlackbox Forum

Modify the existing OpenPGP signature

Information about an OpenPGP key is stored in its self-signature. Modification of this information, e.g., key expiration time, would make the signature corrupt. To update an existing OpenPGP signature, you need to generate a new signature, and introduce necessary modifications into it. Afterwards, the existing signature should be replaced with a newly created one.

  1. Create a new instance of TElPGPSignature class.
  2. Copy the existing signature parameters into the newly created one. Do not use Assign and AssignTo methods for copying, since they would copy the signature itself.
  3. Make necessary modifications, i.e., change the KeyExpirationTime.
  4. Perform the signing as explained in the corresponding article.

How To articles about OpenPGP key management

Discuss this help topic in SecureBlackbox Forum