Part of lp.archivepublisher.archivesigningkey View In Hierarchy
Known subclasses: lp.archivepublisher.archivesigningkey.ArchiveSigningKey
IArchive adapter for operations that involve signing files.| Method | __init__ | Undocumented |
| Method | can_sign | See ISignableArchive. |
| Method | signRepository | See ISignableArchive. |
| Method | signFile | See ISignableArchive. |
| Method | _makeSignatures | Make a sequence of signatures. |
This abstraction is useful in the case where we're using an
in-process GPGHandler, since it avoids having to import the secret
key more than once.
| Parameters | signatures | A sequence of (input path, output path,
SigningMode, suite) tuples. Note that some backends may make
a policy decision not to produce all the requested output paths. |
| log | An optional logger. | |
| Returns | A list of output paths that were produced. | |