diff options
| author | Stanislav Boboň | 2021-01-07 17:12:20 +0100 |
|---|---|---|
| committer | Stanislav Boboň | 2021-01-07 17:12:20 +0100 |
| commit | a0ab447a970523fa2bf07359f345f121f014604d (patch) | |
| tree | 7ebb351f50b80d6d53e273b83a8f40ae50f8bb1f | |
| parent | e8409b7dce1038ba03f781150af53bf8ee38a413 (diff) | |
| parent | 53e37b817a532d337e39bbd01a89521627279ecf (diff) | |
| download | sec-certs-a0ab447a970523fa2bf07359f345f121f014604d.tar.gz sec-certs-a0ab447a970523fa2bf07359f345f121f014604d.tar.zst sec-certs-a0ab447a970523fa2bf07359f345f121f014604d.zip | |
Merge branch 'master' into fips
| -rw-r--r-- | README.md | 16 |
1 files changed, 8 insertions, 8 deletions
@@ -24,17 +24,17 @@ The following steps will do a full extraction and analysis of CC certificates: 1. Make a directory in which the certificates will be downloaded and processing will take place. The contents of the directory are under the control of the tool, and **may be overwritten**! - 2. Run `process-certs --fresh --do-download-meta <dir>` to download certificate metadata from the Common Criteria portal. - 3. Run `process-certs --fresh --do-extraction-meta <dir>` to extract metadata from the downloaded Common Criteria pages. - 4. Run `process-certs --fresh --do-download-certs <dir>` to download the certificate and security target PDF files. This + 2. Run `python process_certificates.py --fresh --do-download-meta <dir>` to download certificate metadata from the Common Criteria portal. + 3. Run `python process_certificates.py --fresh --do-extraction-meta <dir>` to extract metadata from the downloaded Common Criteria pages. + 4. Run `python process_certificates.py --fresh --do-download-certs <dir>` to download the certificate and security target PDF files. This step takes time as there is quite a lot of files. It also takes up a lot of space (around 5GB). It is done in parallel and the number of threads can be changed with the `-t/--threads` switch (the default is 4). - 5. Run `process-certs --fresh --do-pdftotext <dir>` to convert the PDF files to text. - 6. Run `process-certs --fresh --do-extraction <dir>` to extract information from the certificates and security targets. - 7. Run `process-certs --fresh --do-pairing <dir>`. - 8. Run `process-certs --fresh --do-processing <dir>` to run various heuristics which will create post-processed section + 5. Run `python process_certificates.py --fresh --do-pdftotext <dir>` to convert the PDF files to text. + 6. Run `python process_certificates.py --fresh --do-extraction <dir>` to extract information from the certificates and security targets. + 7. Run `python process_certificates.py --fresh --do-pairing <dir>`. + 8. Run `python process_certificates.py --fresh --do-processing <dir>` to run various heuristics which will create post-processed section `processed` for every certificate (results are stored in `certificate_data_complete_processed.json`). - 9. Run `process-certs --fresh --do-analysis <dir>` to perform analysis of certificates (various graphs, statistics...). + 9. Run `python process_certificates.py --fresh --do-analysis <dir>` to perform analysis of certificates (various graphs, statistics...). 10. Open, look and enjoy graphs like `num_certs_in_years.png` or `num_certs_eal_in_years.png`. For `certid_graph.dot.pdf` and other large graphs use Chrome to display as Adobe Acrobat Reader will fail to show whole graph. |
