summaryrefslogtreecommitdiff
path: root/paramiko/pkey.py
diff options
context:
space:
mode:
Diffstat (limited to 'paramiko/pkey.py')
-rw-r--r--paramiko/pkey.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/paramiko/pkey.py b/paramiko/pkey.py
index 1da11298..32d8cad5 100644
--- a/paramiko/pkey.py
+++ b/paramiko/pkey.py
@@ -560,8 +560,6 @@ class PKey:
# Yea, you still gotta inform the FLO that it is in "write" mode.
"w",
) as f:
- # TODO 3.0: remove the now redundant chmod
- os.chmod(filename, o600)
self._write_private_key(f, key, format, password=password)
def _write_private_key(self, f, key, format, password=None):