summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorAlex Gaynor <alex.gaynor@gmail.com>2016-04-23 14:00:08 -0400
committerAlex Gaynor <alex.gaynor@gmail.com>2016-04-23 14:00:08 -0400
commitff07a67975c3126d680ef6119d9ca87fe997d13f (patch)
tree3ec8dffcb76c63c2bacc1c8435941e5c8bc8ce07
parent57c1635bc8ce3445122a28b6bc00b19b3e7ef57a (diff)
remove unused thing
-rw-r--r--paramiko/ecdsakey.py6
1 files changed, 1 insertions, 5 deletions
diff --git a/paramiko/ecdsakey.py b/paramiko/ecdsakey.py
index 9635c49c..c69bef73 100644
--- a/paramiko/ecdsakey.py
+++ b/paramiko/ecdsakey.py
@@ -30,10 +30,9 @@ from cryptography.hazmat.primitives.asymmetric.utils import (
decode_rfc6979_signature, encode_rfc6979_signature
)
-from paramiko.common import four_byte, one_byte
+from paramiko.common import four_byte
from paramiko.message import Message
from paramiko.pkey import PKey
-from paramiko.py3compat import byte_chr
from paramiko.ssh_exception import SSHException
from paramiko.util import deflate_long, inflate_long
@@ -183,9 +182,6 @@ class ECDSAKey(PKey):
data = self._read_private_key('EC', file_obj, password)
self._decode_key(data)
- ALLOWED_PADDINGS = [one_byte, byte_chr(2) * 2, byte_chr(3) * 3, byte_chr(4) * 4,
- byte_chr(5) * 5, byte_chr(6) * 6, byte_chr(7) * 7]
-
def _decode_key(self, data):
try:
key = serialization.load_der_private_key(