Slot in Supply-chain Levels for Software Artifacts (SLSA)
sha1
The SHA-1 digest of the artifact.
URI: in_toto_linkml:sha1
Applicable Classes#
| Name | Description | Modifies Slot |
|---|
| InTotoDigestSet | A set of one or more digests over one artifact, keyed by algorithm, from whic… | no |
Properties#
Type and Range#
Slot Characteristics#
Value Constraints#
| Property | Value |
|---|
| Regex Pattern | ^[a-f0-9]{40}$ |
- SHA-1 lacks collision resistance, so most consumers should not rely on it.
Schema Source#
Mappings#
| Mapping Type | Mapped Value |
|---|
| self | in_toto_linkml:sha1 |
| native | slsa:sha1 |
| related | spdx_core:HashAlgorithm/sha1 |
LinkML Source#
YAML
name: sha1
description: The SHA-1 digest of the artifact.
comments:
- SHA-1 lacks collision resistance, so most consumers should not rely on it.
from_schema: https://w3id.org/lmodel/slsa
related_mappings:
- spdx_core:HashAlgorithm/sha1
rank: 1000
slot_uri: in_toto_linkml:sha1
owner: InTotoDigestSet
domain_of:
- InTotoDigestSet
range: string
pattern: ^[a-f0-9]{40}$