You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Certs that have a folder structure more than one level deep to the "intermediate" folder in the certificates.tgz fail.
Expected behavior
Should be able to parse the path to the intermediate or root folder
Current behavior
Error: guard.py throws "malformed file path in archive"
Possible solution
Nuke the empty folder structure during tgz creation in chain, or allow traversing multiple folder levels in guard
Steps to reproduce
Select all four root stores (apple, mozilla, microsoft and google) - not sure which one is pulling in the problematic certs
Run chain and then examine the certificates.tgz folder structure. Look at these certs:
"9231_I.CA_Root_CA/ECC_05/2022","3808CE3E961CA532682FFB8708B544E8F175AA065601A45902DF92128FC38532"
"9232_I.CA_Root_CA/ECC_12/2016","B8692148FF49C3799FA2347AE28BCC5289623512B67DC19170452ADE24BA51D5"
"9233_I.CA_Root_CA/RSA","D3D607A9FF24A19523B6DA9D2C649446F8788CB96D9FD130972E120C13677730"
"9234_I.CA_Root_CA/RSA_05/2022","D279C01A12E8DD9A6230E459FAA447CEB336998477338C2EE4135C96737418EB"
"9235_I.CA_TLS_Root_CA/RSA_05/2022","F9A17A00E5C294BA9614A715819AF57F3FD48CC413453FBB8A5FC7E97964E2BC"
All five of these have multiple empty folders between the root folder and the certificate
Describe the bug
Certs that have a folder structure more than one level deep to the "intermediate" folder in the certificates.tgz fail.
Expected behavior
Should be able to parse the path to the intermediate or root folder
Current behavior
Error: guard.py throws "malformed file path in archive"
Possible solution
Nuke the empty folder structure during tgz creation in chain, or allow traversing multiple folder levels in guard
Steps to reproduce
"9231_I.CA_Root_CA/ECC_05/2022","3808CE3E961CA532682FFB8708B544E8F175AA065601A45902DF92128FC38532"
"9232_I.CA_Root_CA/ECC_12/2016","B8692148FF49C3799FA2347AE28BCC5289623512B67DC19170452ADE24BA51D5"
"9233_I.CA_Root_CA/RSA","D3D607A9FF24A19523B6DA9D2C649446F8788CB96D9FD130972E120C13677730"
"9234_I.CA_Root_CA/RSA_05/2022","D279C01A12E8DD9A6230E459FAA447CEB336998477338C2EE4135C96737418EB"
"9235_I.CA_TLS_Root_CA/RSA_05/2022","F9A17A00E5C294BA9614A715819AF57F3FD48CC413453FBB8A5FC7E97964E2BC"
All five of these have multiple empty folders between the root folder and the certificate
Screenshots
(https://github.com/user-attachments/assets/c708236b-31f1-4f71-8ec3-93d054aea848)
Context
Prevents a full load of the certificates
Your Environment
The text was updated successfully, but these errors were encountered: