diff options
| author | Petr Svenda | 2021-01-07 16:02:47 +0100 |
|---|---|---|
| committer | GitHub | 2021-01-07 16:02:47 +0100 |
| commit | 53e37b817a532d337e39bbd01a89521627279ecf (patch) | |
| tree | c208f576f396c8ec892bc44625b27971a7a58807 | |
| parent | 68ac1687aec9981cd818d54347d0d8615eec36d4 (diff) | |
| download | sec-certs-53e37b817a532d337e39bbd01a89521627279ecf.tar.gz sec-certs-53e37b817a532d337e39bbd01a89521627279ecf.tar.zst sec-certs-53e37b817a532d337e39bbd01a89521627279ecf.zip | |
Update README.md
| -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. |
