l.a.a.ArchiveSigningKey(SignableArchive) : class documentation

Part of lp.archivepublisher.archivesigningkey View In Hierarchy

IArchive adapter for manipulating its GPG key.
Method getPathForSecretKey See IArchiveSigningKey.
Method exportSecretKey See IArchiveSigningKey.
Method generateSigningKey See IArchiveSigningKey.
Method setSigningKey See IArchiveSigningKey.
Method _uploadPublicSigningKey Upload the public half of a signing key to the keyserver.
Method _storeSigningKey Store signing key reference in the database.
Method _setupSigningKey Mandatory setup for signing keys.

Inherited from SignableArchive:

Method __init__ Undocumented
Method can_sign See ISignableArchive.
Method signRepository See ISignableArchive.
Method signFile See ISignableArchive.
Method _makeSignatures Make a sequence of signatures.
def getPathForSecretKey(self, key):
See IArchiveSigningKey.
def exportSecretKey(self, key):
See IArchiveSigningKey.
def generateSigningKey(self):
See IArchiveSigningKey.
def setSigningKey(self, key_path, async_keyserver=False):
See IArchiveSigningKey.
def _uploadPublicSigningKey(self, secret_key):
Upload the public half of a signing key to the keyserver.
def _storeSigningKey(self, pub_key):
Store signing key reference in the database.
def _setupSigningKey(self, secret_key, async_keyserver=False):

Mandatory setup for signing keys.

  • Export the secret key into the protected disk location.
  • Upload public key to the keyserver.
  • Store the public GPGKey reference in the database and update the context archive.signing_key.
API Documentation for Launchpad, generated by pydoctor at 2022-06-16 00:00:12.