summaryrefslogtreecommitdiff
path: root/paramiko/rsakey.py
diff options
context:
space:
mode:
authorAlex Gaynor <alex.gaynor@gmail.com>2015-03-18 08:06:53 -0400
committerAlex Gaynor <alex.gaynor@gmail.com>2015-03-18 08:06:53 -0400
commitfe2d1cd163aca811e966a0143a7d6759f90f996b (patch)
tree0b8c977e18e8c4710b8f897d742f759b71a100dc /paramiko/rsakey.py
parent95f712b82bc5c54ae682ada69696944077aa5377 (diff)
downloadparamiko-fe2d1cd163aca811e966a0143a7d6759f90f996b.tar.gz
No password here
Diffstat (limited to 'paramiko/rsakey.py')
-rw-r--r--paramiko/rsakey.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/paramiko/rsakey.py b/paramiko/rsakey.py
index 624ce2ef..43f9fd9b 100644
--- a/paramiko/rsakey.py
+++ b/paramiko/rsakey.py
@@ -162,7 +162,7 @@ class RSAKey(PKey):
def _decode_key(self, data):
key = serialization.load_der_private_key(
- data, password="", backend=default_backend()
+ data, password=None, backend=default_backend()
)
assert isinstance(key, rsa.RSAPrivateKey)
self.key = key