Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/zizmor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
persist-credentials: false
- name: Run zizmor 🌈
# see https://github.com/zizmorcore/zizmor-action
uses: zizmorcore/zizmor-action@3dc1ecc9bcb9e94e9b2c709687979e1298497054 # v0.6.2
uses: zizmorcore/zizmor-action@70fb788f84895a7701f5643d103d587e460b5c99 # v0.6.3
with:
# advanced-security: false => emit findings as workflow-command annotations (::error file=…) rather than
# uploading a SARIF report to GitHub's Security tab.
Expand Down
42 changes: 41 additions & 1 deletion schema/bom-1.7.xsd
Original file line number Diff line number Diff line change
Expand Up @@ -8295,8 +8295,48 @@ limitations under the License.
</xs:element>
<xs:element name="cryptoRef" type="bom:refType" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>A protocol-related cryptographic assets</xs:documentation>
<xs:documentation>
DEPRECATED - DO NOT USE. This will be removed in a future version. Use `./relatedCryptographicAssets` instead.
A protocol-related cryptographic asset.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="relatedCryptographicAssets" minOccurs="0" maxOccurs="1">
<xs:annotation>
<xs:documentation>
A list of cryptographic assets related to this component.
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="relatedCryptographicAsset" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>
A cryptographic asset related to this component.
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="type" type="xs:string" minOccurs="0" maxOccurs="1">
<xs:annotation>
<xs:documentation>
Specifies the mechanism by which the cryptographic asset is secured by.
Examples: "publicKey", "privateKey", "algorithm"
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="ref" type="bom:refType" minOccurs="0" maxOccurs="1">
<xs:annotation>
<xs:documentation>
The bom-ref to cryptographic asset.
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,13 @@
"algorithm": "ecdsa_secp256r1_sha256"
}
]
}
},
"relatedCryptographicAssets": [
{
"type": "publicKey",
"ref": "asset-4"
}
]
},
"oid": "oid:1.3.6.1.5.5.7.3.1"
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -231,6 +231,12 @@ components: {
algorithm: "ecdsa_secp256r1_sha256"
}
}
relatedCryptographicAssets: {
assets: {
type: "publicKey"
ref: "asset-4"
}
}
}
oid: "oid:1.3.6.1.5.5.7.3.1"
}
Expand Down
6 changes: 6 additions & 0 deletions tools/src/test/resources/1.7/valid-cryptography-full-1.7.xml
Original file line number Diff line number Diff line change
Expand Up @@ -220,6 +220,12 @@
<algorithm>ecdsa_secp256r1_sha256</algorithm>
</auth>
</ikev2TransformTypes>
<relatedCryptographicAssets>
<relatedCryptographicAsset>
<type>publicKey</type>
<ref>asset-4</ref>
</relatedCryptographicAsset>
</relatedCryptographicAssets>
</protocolProperties>
<oid>oid:1.3.6.1.5.5.7.3.1</oid>
</cryptoProperties>
Expand Down