/opt/imh-python/lib/python3.9/site-packages/paramiko
NameSizeModeActions
__pycache__/-0755rm
agent.py158770644editdlrm
auth_handler.py429640644editdlrm
auth_handler.py.orig430060644editdlrm
auth_strategy.py114370644editdlrm
ber.py43690644editdlrm
buffered_pipe.py72250644editdlrm
channel.py492220644editdlrm
client.py344920644editdlrm
common.py77560644editdlrm
compress.py12820644editdlrm
config.py273620644editdlrm
dsskey.py82480644editdlrm
ecdsakey.py116530644editdlrm
ed25519key.py74570644editdlrm
file.py190630644editdlrm
hostkeys.py132080644editdlrm
kex_curve25519.py44360644editdlrm
kex_ecdh_nist.py50120644editdlrm
kex_gex.py103200644editdlrm
kex_group1.py57400644editdlrm
kex_group14.py18330644editdlrm
kex_group16.py22880644editdlrm
kex_gss.py245620644editdlrm
message.py93490644editdlrm
packet.py243140644editdlrm
pipe.py39020644editdlrm
pkey.py368510644editdlrm
primes.py51070644editdlrm
proxy.py46480644editdlrm
rsakey.py75460644editdlrm
server.py304570644editdlrm
sftp.py64710644editdlrm
sftp_attr.py82580644editdlrm
sftp_client.py358550644editdlrm
sftp_file.py218200644editdlrm
sftp_handle.py74240644editdlrm
sftp_server.py194920644editdlrm
sftp_si.py125440644editdlrm
ssh_exception.py74940644editdlrm
ssh_gss.py288870644editdlrm
transport.py1356320644editdlrm
util.py95500644editdlrm
win_openssh.py19180644editdlrm
win_pageant.py41770644editdlrm
_version.py800644editdlrm
_winapi.py112040644editdlrm
__init__.py44460644editdlrm
Edit: /opt/imh-python/lib/python3.9/site-packages/paramiko/kex_group16.py (2288B)
# Copyright (C) 2019 Edgar Sousa # # This file is part of paramiko. # # Paramiko is free software; you can redistribute it and/or modify it under the # terms of the GNU Lesser General Public License as published by the Free # Software Foundation; either version 2.1 of the License, or (at your option) # any later version. # # Paramiko is distributed in the hope that it will be useful, but WITHOUT ANY # WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR # A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more # details. # # You should have received a copy of the GNU Lesser General Public License # along with Paramiko; if not, write to the Free Software Foundation, Inc., # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. """ Standard SSH key exchange ("kex" if you wanna sound cool). Diffie-Hellman of 4096 bit key halves, using a known "p" prime and "g" generator. """ from paramiko.kex_group1 import KexGroup1 from hashlib import sha512 class KexGroup16SHA512(KexGroup1): name = "diffie-hellman-group16-sha512" # http://tools.ietf.org/html/rfc3526#section-5 P = 0xFFFFFFFFFFFFFFFFC90FDAA22168C234C4C6628B80DC1CD129024E088A67CC74020BBEA63B139B22514A08798E3404DDEF9519B3CD3A431B302B0A6DF25F14374FE1356D6D51C245E485B576625E7EC6F44C42E9A637ED6B0BFF5CB6F406B7EDEE386BFB5A899FA5AE9F24117C4B1FE649286651ECE45B3DC2007CB8A163BF0598DA48361C55D39A69163FA8FD24CF5F83655D23DCA3AD961C62F356208552BB9ED529077096966D670C354E4ABC9804F1746C08CA18217C32905E462E36CE3BE39E772C180E86039B2783A2EC07A28FB5C55DF06F4C52C9DE2BCBF6955817183995497CEA956AE515D2261898FA051015728E5A8AAAC42DAD33170D04507A33A85521ABDF1CBA64ECFB850458DBEF0A8AEA71575D060C7DB3970F85A6E1E4C7ABF5AE8CDB0933D71E8C94E04A25619DCEE3D2261AD2EE6BF12FFA06D98A0864D87602733EC86A64521F2B18177B200CBBE117577A615D6C770988C0BAD946E208E24FA074E5AB3143DB5BFCE0FD108E4B82D120A92108011A723C12A787E6D788719A10BDBA5B2699C327186AF4E23C1A946834B6150BDA2583E9CA2AD44CE8DBBBC2DB04DE8EF92E8EFC141FBECAA6287C59474E6BC05D99B2964FA090C3A2233BA186515BE7ED1F612970CEE2D7AFB81BDD762170481CD0069127D5B05AA993B4EA988D8FDDC186FFB7DC90A6C08F4DF435C934063199FFFFFFFFFFFFFFFF # noqa G = 2 name = "diffie-hellman-group16-sha512" hash_algo = sha512