Skip to content
Snippets Groups Projects
Commit c2d90b8d authored by nimrod's avatar nimrod
Browse files

- Document changes (not enough documentation though, enough to merge to master).

parent 30e0c0a3
No related branches found
No related tags found
No related merge requests found
...@@ -9,26 +9,27 @@ Installation ...@@ -9,26 +9,27 @@ Installation
------------ ------------
.. code:: shell .. code:: shell
git clone https://www.shore.co.il/cgit/ssh-ca git clone https://www.shore.co.il/git/ssh-ca
cd ssh-ca cd ssh-ca
sudo make install sudo make install
Usage Usage
----- -----
To start a new certificate authority To start a new certificate authority (creates an RSA keypair for signing
purposes and hosts and users directories)
.. code:: shell .. code:: shell
ssh-ca init ssh-ca init
To sign a user's public key To sign a user's public key (found under users/<username>/id_*.pub)
.. code:: shell .. code:: shell
ssh-ca signuser username ssh-ca signuser username
To sign a hosts's public key To sign a host's public key (found under hosts/<hostname>/ssh_host_*.pub)
.. code:: shell .. code:: shell
...@@ -88,7 +89,7 @@ Development ...@@ -88,7 +89,7 @@ Development
To ease development :code:`make clean`, :code:`make lint` and :code:`make test` To ease development :code:`make clean`, :code:`make lint` and :code:`make test`
are available. It's recommended to add :code:`make lint` and :code:`make test` are available. It's recommended to add :code:`make lint` and :code:`make test`
to to your Git pre-commit and pre-push hooks accourdingly. Also, this repo has to to your Git pre-commit and pre-push hooks accordingly. Also, this repo has
`pre-commit <http://pre-commit.com/>`_ configured. `pre-commit <http://pre-commit.com/>`_ configured.
License License
...@@ -103,9 +104,9 @@ Author ...@@ -103,9 +104,9 @@ Author
Nimrod Adar, `contact me <nimrod@shore.co.il>`_ or visit my `website Nimrod Adar, `contact me <nimrod@shore.co.il>`_ or visit my `website
<https://www.shore.co.il/>`_. Patches are welcome via `git send-email <https://www.shore.co.il/>`_. Patches are welcome via `git send-email
<http://git-scm.com/book/en/v2/Git-Commands-Email>`_. The repository is located <http://git-scm.com/book/en/v2/Git-Commands-Email>`_. The repository is located
at: https://www.shore.co.il/cgit/. at: https://www.shore.co.il/git/.
TODO TODO
---- ----
- Generating RSA, DSA and ECDSA keys (especially for hosts). - Better, more thorough documentation.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment