Skip to content

Commit

Permalink
Doc fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
markokr committed Aug 13, 2019
1 parent 73614ed commit 587021a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ Version history
1.3
---

* [feature] Support all EC curves (``cryptography`` 2.6+)
* [feature] Support DSA keys
* [feature] Support all EC curves
* [fix] Prepare for ed25519 keys, requires ``cryptography`` 2.8+
* [fix] CRL handling fixes
* [fix] Do not set path-length by default for CAs.
Expand Down
5 changes: 2 additions & 3 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -13,18 +13,16 @@ Features
- Good defaults, sets up common extensions automatically.
- PGP- and password-protected private keys.
- OCSP and CRL info settings.
- Supports both EC and RSA keys.
- Supports EC, RSA and DSA keys.

Dependencies
------------

- Python `cryptography`_ module (version >= 2.1).
- (Optional) `gpg`_ command-line tool to decrypt files.
- (Optional) `openssl`_ command-line tool to show CRT/CSR contents.

.. _cryptography: https://cryptography.io/
.. _gpg: https://www.gnupg.org/
.. _openssl: https://www.openssl.org/

Summary
-------
Expand All @@ -34,6 +32,7 @@ Generate new key::
sysca new-key [--password-file TXT_FILE] [--out DST]
sysca new-key ec[:<curve>] [--password-file TXT_FILE] [--out DST]
sysca new-key rsa[:<bits>] [--password-file TXT_FILE] [--out DST]
sysca new-key dsa[:<bits>] [--password-file TXT_FILE] [--out DST]

Create certificate signing request::

Expand Down
4 changes: 2 additions & 2 deletions sysca.py
Original file line number Diff line number Diff line change
Expand Up @@ -1855,8 +1855,8 @@ def setup_args():
p.add_argument('command', help=argparse.SUPPRESS)

p.add_argument_group('Command "new-key"',
"Generate new EC or RSA key. Key type can be either ec:<curve> "
"or rsa:<bits>. Default: ec:secp256r1.")
"Generate new EC, RSA or DSA key. Key type can be either ec:<curve>, "
"rsa:<bits> or dsa:<bits>. Default: ec:secp256r1.")

g2 = p.add_argument_group('Command "request" and "selfsign"',
"Create certificate request or selfsigned certificate for private key")
Expand Down

0 comments on commit 587021a

Please sign in to comment.