Skip to content

Commit

Permalink
Make Docker image usage examples prettier, update signing pubkey
Browse files Browse the repository at this point in the history
  • Loading branch information
CBonnell committed Sep 28, 2023
1 parent 263adb1 commit c04e631
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,9 +67,9 @@ docker pull ghcr.io/digicert/pkilint
After the Docker image has been pulled, all command-line linters are available, as well as the Uvicorn and Gunicorn commands to start the
REST API server.

A few examples:
A few examples demonstrating use of the Docker image are provided below.

Linting an S/MIME certificate:
#### Linting an S/MIME certificate

```shell
$ echo '-----BEGIN CERTIFICATE-----
Expand Down Expand Up @@ -112,7 +112,7 @@ SubjectKeyIdentifierValidator @ certificate.tbsCertificate.extensions.3.extnValu
$
```

Starting a REST API server with 8 worker processes, listening for requests on TCP/IP port 8000 on all interfaces:
#### Starting a REST API server with 8 worker processes, listening for requests on TCP/IP port 8000 on all interfaces

```shell
$ docker run -d -p 8000:8000 ghcr.io/digicert/pkilint gunicorn -w 8 -k uvicorn.workers.UvicornWorker -b 0.0.0.0:8000 pkilint.rest:app
Expand Down
4 changes: 2 additions & 2 deletions docker/cosign_public_key.pem
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
-----BEGIN PUBLIC KEY-----
MFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAETjIQHsFLj17LfTunzY1cBT58jZla
2D7Oo5oOwQYKOjh+HTQswTRZ/pn7IuhHfFZJjKlBMt5KqITrh4/r96KZVg==
MFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEhOqVwQczkXH/AVUzwdG6XUKdKgn0
c5I1YiBb6FKurgQoj7cfCASQea5fgLoKoGKDOSieK4ucECR9GVMlE3FxHA==
-----END PUBLIC KEY-----

0 comments on commit c04e631

Please sign in to comment.