summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--paramiko/kex_gss.py24
1 files changed, 6 insertions, 18 deletions
diff --git a/paramiko/kex_gss.py b/paramiko/kex_gss.py
index a4e60909..ec7285c2 100644
--- a/paramiko/kex_gss.py
+++ b/paramiko/kex_gss.py
@@ -25,6 +25,12 @@ This module provides GSS-API / SSPI Key Exchange as defined in RFC 4462.
.. note:: Credential delegation is not supported in server mode.
+.. note::
+ `RFC 4462 Section 2.2 <http://www.ietf.org/rfc/rfc4462.txt>`_ says we are
+ not required to implement GSS-API error messages. Thus, in many methods
+ within this module, if an error occurs an exception will be thrown and the
+ connection will be terminated.
+
.. seealso:: :doc:`/api/ssh_gss`
"""
@@ -49,12 +55,6 @@ class KexGSSGroup1(object):
"""
GSS-API / SSPI Authenticated Diffie-Hellman Key Exchange
as defined in `RFC 4462 Section 2 <http://www.ietf.org/rfc/rfc4462.txt>`_
-
- :note: RFC 4462 says we are not required to implement GSS-API error
- messages.
- If an error occurs an exception will be thrown and the connection
- will be terminated.
- :see: `RFC 4462 Section 2.2 <http://www.ietf.org/rfc/rfc4462.txt>`_
"""
# draft-ietf-secsh-transport-09.txt, page 17
P = 0xFFFFFFFFFFFFFFFFC90FDAA22168C234C4C6628B80DC1CD129024E088A67CC74020BBEA63B139B22514A08798E3404DDEF9519B3CD3A431B302B0A6DF25F14374FE1356D6D51C245E485B576625E7EC6F44C42E9A637ED6B0BFF5CB6F406B7EDEE386BFB5A899FA5AE9F24117C4B1FE649286651ECE65381FFFFFFFFFFFFFFFF
@@ -278,12 +278,6 @@ class KexGSSGroup14(KexGSSGroup1):
"""
GSS-API / SSPI Authenticated Diffie-Hellman Group14 Key Exchange
as defined in `RFC 4462 Section 2 <http://www.ietf.org/rfc/rfc4462.txt>`_
-
- :note: RFC 4462 says we are not required to implement GSS-API error
- messages.
- If an error occurs an exception will be thrown and the connection
- will be terminated.
- :see: `RFC 4462 Section 2.2 <http://www.ietf.org/rfc/rfc4462.txt>`_
"""
P = 0xFFFFFFFFFFFFFFFFC90FDAA22168C234C4C6628B80DC1CD129024E088A67CC74020BBEA63B139B22514A08798E3404DDEF9519B3CD3A431B302B0A6DF25F14374FE1356D6D51C245E485B576625E7EC6F44C42E9A637ED6B0BFF5CB6F406B7EDEE386BFB5A899FA5AE9F24117C4B1FE649286651ECE45B3DC2007CB8A163BF0598DA48361C55D39A69163FA8FD24CF5F83655D23DCA3AD961C62F356208552BB9ED529077096966D670C354E4ABC9804F1746C08CA18217C32905E462E36CE3BE39E772C180E86039B2783A2EC07A28FB5C55DF06F4C52C9DE2BCBF6955817183995497CEA956AE515D2261898FA051015728E5A8AACAA68FFFFFFFFFFFFFFFF
G = 2
@@ -294,12 +288,6 @@ class KexGSSGex(object):
"""
GSS-API / SSPI Authenticated Diffie-Hellman Group Exchange
as defined in `RFC 4462 Section 2 <http://www.ietf.org/rfc/rfc4462.txt>`_
-
- :note: RFC 4462 says we are not required to implement GSS-API error
- messages.
- If an error occurs an exception will be thrown and the connection
- will be terminated.
- :see: `RFC 4462 Section 2.2 <http://www.ietf.org/rfc/rfc4462.txt>`_
"""
NAME = "gss-gex-sha1-toWM5Slw5Ew8Mqkay+al2g=="
min_bits = 1024