diff options
| author | adamjanovsky | 2022-05-27 08:00:09 +0200 |
|---|---|---|
| committer | GitHub | 2022-05-27 08:00:09 +0200 |
| commit | 23832d00a541b2d42859bd3f1aeaca4c514bcb82 (patch) | |
| tree | 4f322859b8321ba88a47abbdcccbb7c50179e72e /docs/quickstart.md | |
| parent | 0c12f7fec7778279a9c6ab1fc3d1b6868e7dcd86 (diff) | |
| parent | 1de0b977015e625db30a98f22cac4f098fbb404c (diff) | |
| download | sec-certs-23832d00a541b2d42859bd3f1aeaca4c514bcb82.tar.gz sec-certs-23832d00a541b2d42859bd3f1aeaca4c514bcb82.tar.zst sec-certs-23832d00a541b2d42859bd3f1aeaca4c514bcb82.zip | |
Merge pull request #196 from crocs-muni/issue/195-Docs
Docs
Diffstat (limited to 'docs/quickstart.md')
| -rw-r--r-- | docs/quickstart.md | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/docs/quickstart.md b/docs/quickstart.md new file mode 100644 index 00000000..e16a570d --- /dev/null +++ b/docs/quickstart.md @@ -0,0 +1,56 @@ +# Quickstart + +::::{tab-set} + +:::{tab-item} Common Criteria +1. Install the latest version with `pip install -U sec-certs` (see [installation](installation.md)). +2. Use +```python +from sec_certs.dataset import CCDataset + +dset = CCDataset.from_web_latest() +``` +to obtain to obtain freshly processed dataset from [seccerts.org](https://seccerts.org). + +3. Play with the dataset. See [example notebook](./notebooks/examples/common_criteria.ipynb). +::: + +:::{tab-item} FIPS 140 +1. Install the latest version with `pip install -U sec-certs` (see [installation](installation.md)). +2. Use +```python +from sec_certs.dataset import FIPSDataset + +dset = FIPSDataset.from_web_latest() +``` +to obtain to obtain freshly processed dataset from [seccerts.org](https://seccerts.org). + +3. Play with the dataset. See [example notebook](./notebooks/examples/fips.ipynb). +::: +:::: + +```{hint} +You can work with those with the help of the [common criteria notebook](notebooks/examples/common_criteria.ipynb) or [fips notebook](notebooks/examples/fips.ipynb) and even launch them in MyBinder without installing anything. Just use the 🚀 icon (top-right corner). +``` + +If you insist on processing the whole certificates pipeline, make sure that you installed all [dependencies](installation.md#dependencies). Then, run + +::::{tab-set} +:::{tab-item} Common Criteria +```bash +$ cc-certs all +``` +::: + +:::{tab-item} FIPS 140 +```bash +$ fips-certs new-run +``` +::: +:::: + +This script takes a long time to run (few hours) and will create `./cc_dset` or `./fips_dset` directory. To see all options, call the entrypoint with `--help`. + +:::{hint} +If you installed the docker image, use `docker run -it sec-certs bash` to run the container interactively. +::: |
