l.a.s.UefiUpload(SigningUpload) : class documentation

Part of lp.archivepublisher.signing View In Hierarchy

Legacy UEFI Signing custom upload.

Provides backwards compatibility UEFI signing uploads. Existing
packages use the raw-uefi custom upload and expect the results
to be published to dists/*/uefi.  These are a functional subset of
raw-signing custom uploads differing only in where they are published
in the archive.

We expect to be able to remove this upload type once all existing
packages are converted to the new form and location.

Inherited from SigningUpload:

Static Method parsePath Parse tarfile_path, returning its useful components.
Method setComponents Set instance variables based on decomposing the filename.
Method getSeriesPath Find the key path for a given series.
Method setTargetDirectory Set self.targetdir based on parameters.
Method publishPublicKey Record this key as having been used in this upload.
Method copyPublishedPublicKeys Copy out published keys into the custom upload.
Method setSigningOptions Find and extract raw-signing options from the tarball.
Class Method getSeriesKey Get a unique key for instances of this custom upload type.
Method callLog Undocumented
Method findSigningHandlers Find all the signable files in an extracted tarball.
Method getKeys Validate and return the uefi key and cert for encryption.
Method generateKeyCommonName Undocumented
Method generateKeyCrtPair Generate new Key/Crt key pairs.
Method generateUefiKeys Generate new UEFI Keys for this archive.
Method signUefi Attempt to sign an image.
Method generateOpensslConfig Undocumented
Method generatePemX509Pair Generate new pem/x509 key pairs.
Method generateKmodKeys Generate new Kernel Signing Keys for this archive.
Method signKmod Attempt to sign a kernel module.
Method generateOpalKeys Generate new Opal Signing Keys for this archive.
Method signOpal Attempt to sign a kernel image for Opal.
Method generateSiplKeys Generate new Sipl Signing Keys for this archive.
Method signSipl Attempt to sign a kernel image for Sipl.
Method generateFitKeys Generate new FIT Keys for this archive.
Method signFit Attempt to sign an image.
Method convertToTarball Convert unpacked output to signing tarball.
Method extract Copy the custom upload to a temporary directory, and sign it.
Method installFiles After installation hash and sign the installed result.
Method shouldInstall Returns True if the given filename should be installed.
Method shouldSign Returns True if the given filename should be signed.

Inherited from CustomUpload (via SigningUpload):

Class Method publish See ICustomUploadHandler.
Method __init__ Undocumented
Method process Process the upload and install it into the archive.
Method checkForConflicts Check for conflicts with existing publications in the archive.
Method verifyBeforeExtracting Verify the tarball before extracting it.
Method ensurePath Ensure the parent directory exists.
Method sign Sign a file.
Method fixCurrentSymlink Update the 'current' symlink and prune old entries.
Method cleanup Clean up the temporary directory
Method _buildInstallPaths Build and return paths used to install files.
API Documentation for Launchpad, generated by pydoctor at 2022-06-16 00:00:12.