trestle.core.commands.verify_manifest
trestle.core.commands.verify_manifest ¤
Trestle Verify Manifest Command.
Attributes¤
logger = logging.getLogger(__name__) module-attribute ¤
Classes¤
VerifyManifestCmd ¤
Bases: CommandBase
flowchart TD
trestle.core.commands.verify_manifest.VerifyManifestCmd[VerifyManifestCmd]
trestle.core.commands.command_docs.CommandBase[CommandBase]
trestle.core.commands.command_docs.CommandBase --> trestle.core.commands.verify_manifest.VerifyManifestCmd
click trestle.core.commands.verify_manifest.VerifyManifestCmd href "" "trestle.core.commands.verify_manifest.VerifyManifestCmd"
click trestle.core.commands.command_docs.CommandBase href "" "trestle.core.commands.command_docs.CommandBase"
Verify a JSON package manifest against a detached DSSE envelope.
Verification checks the package DSSE signature, validates the signed in-toto package Statement, and confirms every current JSON artifact digest matches the digest recorded in the signed manifest envelope.
Source code in trestle/core/commands/verify_manifest.py
35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 | |
Attributes¤
name = 'verify-manifest' class-attribute instance-attribute ¤
Methods:¤
verify_manifest(manifest_path, signature_path, public_key_path, digest_algorithm=None) classmethod ¤
Verify a detached DSSE envelope for a JSON package manifest.
Source code in trestle/core/commands/verify_manifest.py
76 77 78 79 80 81 82 83 84 85 86 87 88 | |
Functions:¤
handler: python