Module ploigos_step_runner.step_implementers.generate_evidence.rekor_sign_evidence

Implementation of RekorGeneric in Generate Evidence step.

artifact_to_sign_uri_config_key is set to evidence-uri as this is the key used to obtain the artifact that needs to be signed by rekor.

Classes

class RekorSignEvidence (workflow_result, parent_work_dir_path, config, environment=None)

Rekor implementation specific to generate_evidence

Expand source code
class RekorSignEvidence(RekorSignGeneric):
    """ Rekor implementation specific to generate_evidence
    """
    def __init__(  # pylint: disable=too-many-arguments
        self,
        workflow_result,
        parent_work_dir_path,
        config,
        environment=None
    ):
        super().__init__(
            workflow_result=workflow_result,
            parent_work_dir_path=parent_work_dir_path,
            config=config,
            environment=environment,
            artifact_to_sign_uri_config_key='evidence-uri'
        )

Ancestors

Inherited members