diff options
author | Alex Gaynor <alex.gaynor@gmail.com> | 2014-09-16 09:56:43 -0700 |
---|---|---|
committer | Alex Gaynor <alex.gaynor@gmail.com> | 2014-09-16 09:56:43 -0700 |
commit | a46ea81491b23af642247559da9e72fab472767d (patch) | |
tree | dbda2ad1c8ddcd839ca95ca51466fa3221169f5f /paramiko/rsakey.py | |
parent | 56a4739923a356ff5670b4620139ca55a2f30148 (diff) | |
download | paramiko-a46ea81491b23af642247559da9e72fab472767d.tar.gz |
Added a comment; used a keyword argument, added pypy to travis
Diffstat (limited to 'paramiko/rsakey.py')
-rw-r--r-- | paramiko/rsakey.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/paramiko/rsakey.py b/paramiko/rsakey.py index 026fde39..ef39c41f 100644 --- a/paramiko/rsakey.py +++ b/paramiko/rsakey.py @@ -165,7 +165,7 @@ class RSAKey(PKey): :return: new `.RSAKey` private key """ numbers = rsa.generate_private_key( - 65537, bits, backend=default_backend() + public_exponent=65537, key_size=bits, backend=default_backend() ).private_numbers() key = RSAKey(vals=(numbers.public_numbers.e, numbers.public_numbers.n)) key.d = numbers.d |