diff options
author | Jared Hance <jhance@users.noreply.github.com> | 2015-07-05 10:18:34 -0700 |
---|---|---|
committer | Jeff Forcier <jeff@bitprophet.org> | 2015-10-02 15:22:01 -0700 |
commit | 150960800dd5cf260a9932df53847d2d029c3656 (patch) | |
tree | bbf8bd1f2c2518159eb6237cbfa1ef5e993999bf | |
parent | b67ee80ba6cbb985a537123a0ae099b81ddfc999 (diff) |
Fix ECDSA generate documentation.
Was a blatant copy of a comment from RSAKey.
-rw-r--r-- | paramiko/ecdsakey.py | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/paramiko/ecdsakey.py b/paramiko/ecdsakey.py index 6b047959..8827a1db 100644 --- a/paramiko/ecdsakey.py +++ b/paramiko/ecdsakey.py @@ -129,13 +129,11 @@ class ECDSAKey (PKey): @staticmethod def generate(curve=curves.NIST256p, progress_func=None): """ - Generate a new private RSA key. This factory function can be used to + Generate a new private ECDSA key. This factory function can be used to generate a new host key or authentication key. - :param function progress_func: - an optional function to call at key points in key generation (used - by ``pyCrypto.PublicKey``). - :returns: A new private key (`.RSAKey`) object + :param function progress_func: Not used for this type of key. + :returns: A new private key (`.ECDSAKey`) object """ signing_key = SigningKey.generate(curve) key = ECDSAKey(vals=(signing_key, signing_key.get_verifying_key())) |