Skip to content

Commit

Permalink
Merge branch '1.13' into 1.14
Browse files Browse the repository at this point in the history
  • Loading branch information
bitprophet committed Sep 19, 2014
2 parents 009d6ba + 17dbb6a commit b3bae9a
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 8 deletions.
13 changes: 5 additions & 8 deletions paramiko/ecdsakey.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
# 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.

"""
L{ECDSAKey}
ECDSA keys
"""

import binascii
Expand Down Expand Up @@ -130,13 +130,10 @@ def generate(bits, progress_func=None):
Generate a new private RSA key. This factory function can be used to
generate a new host key or authentication key.
@param bits: number of bits the generated key should be.
@type bits: int
@param progress_func: an optional function to call at key points in
key generation (used by C{pyCrypto.PublicKey}).
@type progress_func: function
@return: new private key
@rtype: L{RSAKey}
: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
"""
signing_key = ECDSA.generate()
key = ECDSAKey(vals=(signing_key, signing_key.get_verifying_key()))
Expand Down
17 changes: 17 additions & 0 deletions sites/docs/api/keys.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,23 @@
============
Key handling
============

Parent key class
================

.. automodule:: paramiko.pkey

DSA (DSS)
=========

.. automodule:: paramiko.dsskey

RSA
===

.. automodule:: paramiko.rsakey

ECDSA
=====

.. automodule:: paramiko.ecdsakey

0 comments on commit b3bae9a

Please sign in to comment.