From 53e37b817a532d337e39bbd01a89521627279ecf Mon Sep 17 00:00:00 2001 From: Petr Svenda Date: Thu, 7 Jan 2021 16:02:47 +0100 Subject: Update README.md --- README.md | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 90684bfe..552750ab 100644 --- a/README.md +++ b/README.md @@ -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 ` to download certificate metadata from the Common Criteria portal. - 3. Run `process-certs --fresh --do-extraction-meta ` to extract metadata from the downloaded Common Criteria pages. - 4. Run `process-certs --fresh --do-download-certs ` to download the certificate and security target PDF files. This + 2. Run `python process_certificates.py --fresh --do-download-meta ` to download certificate metadata from the Common Criteria portal. + 3. Run `python process_certificates.py --fresh --do-extraction-meta ` to extract metadata from the downloaded Common Criteria pages. + 4. Run `python process_certificates.py --fresh --do-download-certs ` 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 ` to convert the PDF files to text. - 6. Run `process-certs --fresh --do-extraction ` to extract information from the certificates and security targets. - 7. Run `process-certs --fresh --do-pairing `. - 8. Run `process-certs --fresh --do-processing ` to run various heuristics which will create post-processed section + 5. Run `python process_certificates.py --fresh --do-pdftotext ` to convert the PDF files to text. + 6. Run `python process_certificates.py --fresh --do-extraction ` to extract information from the certificates and security targets. + 7. Run `python process_certificates.py --fresh --do-pairing `. + 8. Run `python process_certificates.py --fresh --do-processing ` 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 ` to perform analysis of certificates (various graphs, statistics...). + 9. Run `python process_certificates.py --fresh --do-analysis ` 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. -- cgit v1.3.1