2023-11-02 19:08:05 -06:00
# Gongor
2023-12-06 23:30:43 -07:00
2023-11-02 19:08:05 -06:00
Tool for producing identities
Anagram of "Gorgon".
2023-11-03 16:33:36 -06:00
2023-12-06 19:37:45 -07:00
## Actions
2023-12-06 21:16:02 -07:00
* `cargo run -- create eli.key eli.publickey` : makes a new key.
2023-12-06 19:37:45 -07:00
* `cargo run -- sign eli.key message.txt [message.sig]` : signs a message, optionally writes the signature to a file.
2023-12-06 21:16:02 -07:00
* `cargo run -- validate eli.publickey message.txt message.signed` : validates a signature.
2023-12-06 19:37:45 -07:00
2023-11-06 11:19:42 -07:00
## TODO
* Fix up the aegis generation script to ensure that I either have, or don't need, the extensions from Step CA:
* X509v3 Key Usage: critical
* Certificate Sign, CRL Sign
* X509v3 Basic Constraints: critical
* CA:TRUE, pathlen:1
2023-11-03 16:33:36 -06:00
## aegis-generate
This generates an initial ID, known as an 'aegis'. It uses [step-ca ](https://smallstep.com/docs/step-cli/the-step-command/ ) defaults which puts the data files in `$HOME/.step` .