Skip to content

Commit 83a4a2b

Browse files
Update verify_attestation_chains with new manufacturer cert (#14650)
The certificate expired and a new certificate to the same key now exists. Update the script to point to the new certificate instead of the expired certificate.
1 parent cefa2e8 commit 83a4a2b

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

‎kms/attestations/verify_attestation_chains.py‎

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,10 @@
3636

3737
ATTESTATION_SIGNATURE_LEN = 256
3838

39-
MANUFACTURER_CERT_URL = "https://www.marvell.com/content/dam/marvell/en/public-collateral/security-solutions/liquid_security_certificate.zip"
39+
MANUFACTURER_CERT_URL = (
40+
"https://www.marvell.com/content/dam/marvell/en/public-collateral/"
41+
"security-solutions/liquidsecurity-certificate-cnxxxxx-nfbe-x.0-g-v3.zip"
42+
)
4043

4144
# <Name(C=US,ST=California,L=San Jose,O=Cavium\, Inc.,OU=LiquidSecurity,CN=localca.liquidsecurity.cavium.com)>
4245
MANUFACTURER_CERT_SUBJECT_BYTES = (
@@ -134,7 +137,7 @@ def get_manufacturer_root_certificate():
134137
resp = requests.get(MANUFACTURER_CERT_URL)
135138
tmp_file = io.BytesIO(resp.content)
136139
zip_file = zipfile.ZipFile(tmp_file)
137-
with zip_file.open("liquid_security_certificate.crt") as f:
140+
with zip_file.open("cavium_cert.crt") as f:
138141
return x509.load_pem_x509_certificate(f.read(), backends.default_backend())
139142

140143

0 commit comments

Comments
 (0)