aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests
diff options
context:
space:
mode:
authorJ08nY2024-02-05 18:12:34 +0100
committerJ08nY2024-02-05 18:12:34 +0100
commit4e24bb278c9da4e4f6c75f92187c6173d4269010 (patch)
tree27f315d5c5f26d0a9b568bf35c554e25bac4d08c /tests
parent836139707bc2a826a1ff1c900c6e92854cb3d8bb (diff)
downloadsec-certs-4e24bb278c9da4e4f6c75f92187c6173d4269010.tar.gz
sec-certs-4e24bb278c9da4e4f6c75f92187c6173d4269010.tar.zst
sec-certs-4e24bb278c9da4e4f6c75f92187c6173d4269010.zip
Extract and reconstruct cert ids from filenames.
Before this, the regular cert_id regexes were used to extract the cert_id from the report filename. However, the filenames often do not use the same cert_id format, but contain all of the information necessary to reconstruct the cert_id, but with different order for example. This commit along with those before it introduce a new set of regular expressions that better match the ones in the filenames. To extract the correctly formatted canonical cert_id, the regexes are used to obtain the parts of the cert_id (using named groups in regexes) and those are then reconstructed into a canonical version of the cert_id via one of the scheme-dependent functions.
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions