diff options
author | Robey Pointer <robey@lag.net> | 2004-01-04 10:26:00 +0000 |
---|---|---|
committer | Robey Pointer <robey@lag.net> | 2004-01-04 10:26:00 +0000 |
commit | 02322f6621c40d86cf5b14020fde04a6e7abc316 (patch) | |
tree | f8afa211d2648708b7e2a43e4ae665e91b81c5bb /paramiko/kex_gex.py | |
parent | 5470b26a83ce73245bd50291519a2d76e1bf171e (diff) | |
download | paramiko-02322f6621c40d86cf5b14020fde04a6e7abc316.tar.gz |
[project @ Arch-1:robey@lag.net--2003-public%secsh--dev--1.0--patch-22]
fix MANIFEST.in, change version numbers to 0.9-doduo, fix LPGL notices
fixed MANIFEST.in to include the demo scripts, LICENSE, and ChangeLog.
upped everything to version 0.9-doduo.
fixed the copyright notice, and added the LGPL banner to the top of every
python file.
Diffstat (limited to 'paramiko/kex_gex.py')
-rw-r--r-- | paramiko/kex_gex.py | 26 |
1 files changed, 23 insertions, 3 deletions
diff --git a/paramiko/kex_gex.py b/paramiko/kex_gex.py index 3fcb8f26..faa8cb30 100644 --- a/paramiko/kex_gex.py +++ b/paramiko/kex_gex.py @@ -1,8 +1,28 @@ #!/usr/bin/python -# variant on group1 (see kex_group1.py) where the prime "p" and generator "g" -# are provided by the server. a bit more work is required on our side (and a -# LOT more on the server side). +# Copyright (C) 2003-2004 Robey Pointer <robey@lag.net> +# +# 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 distrubuted 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 Foobar; if not, write to the Free Software Foundation, Inc., +# 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. + +""" +Variant on L{KexGroup1} where the prime "p" and generator "g" are provided by +the server. A bit more work is required on the client side, and a U{lot} more +on the server side. +""" from message import Message from util import inflate_long, deflate_long, bit_length |