| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
| |
|
|
|
|
| |
Later on we can likely nuke many uses of these
|
|
|
|
|
|
|
| |
- When wrapping literals: just go away
- When wrapping variables whose values are already definitely integers (eg output of 'id()'): ditto
- When wrapping variables of unknown provenance or which are definitely
NOT integers: replaced with int()
|
|
|
|
|
| |
I feel like we should be able to just nuke byte_chr and friends at this
point, but it's not entirely obvious, so let's rock that boat later.
|
|
|
|
| |
They moved from Temple Place to Franklin Street in 2005.
|
| |
|
| |
|
|
|
|
|
|
|
| |
Choosing to skip it in some edge/corner cases where it's more harmful
than helpful. Also choosing to replace many non-%s specifiers with
regular old {} since I don't see why one would normally care. Again,
eschewing that in spots where it seems like it might matter.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Create constants for byte messages, implement asbytes so many methods can take Message and key objects directly and split get_string into get_text and get_binary. Also, change int handling to use mpint with a flag whenever the int is greater than 32 bits.
|
| |
|
|
|
|
|
| |
Conflicts:
paramiko/proxy.py
|
| |
|
|
|
|
| |
bump copyright year to 2007
|
|
|
|
| |
update copyright year
|
|
|
|
| |
fix a bunch of pychecker warnings, some of which were actual (but unlikely) bugs
|
|
|
|
| |
remove unnecessary shebangs, fix import lines to be explicit about imports from within paramiko, and a bit of whitespace cleanup
|
|
|
|
| |
a bunch of silly changes where i was trying to fix pychecker warnings before i decided it wasnt worth the effort
|
|
|
|
|
|
|
| |
even better 1.2 lapras
re-bump the version # to 1.2 (with a new date since i added more stuff).
add 2005 to the copyright date in a bunch of files.
|
|
|
|
|
|
| |
no more Foobar
fix "Foobar" to be "Paramiko" in the one place i missed it in all the gpl
headers. sigh. :)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
add dss key generation too, and fix some bugs
added the ability to generate dss keys and write private dss key files,
similar to rsa. in the process, fixed a couple of bugs with ber encoding
and writing password-encrypted key files. the key has to be padded to the
iblock size of the cipher -- it's very difficult to determine how the others
do this, so i just add random bytes to the end.
fixed the simple demo to use Transport's (host, port) constructor for
simplicity, and fixed a bug where the standard demo's DSS login wouldn't
work.
also, move the common logfile setup crap into util so all the demos can just
call that one.
|
|
|
|
|
|
|
|
|
|
|
|
| |
can now generate rsa keys (not dss yet)
added functionality to ber to create ber streams. added some common methods
to PKey to allow dumping the key to base64 (the format used by openssh for
public key files and host key lists), and a factory for creating a key from
a private key file, and a common way to save private keys. RSAKey luckily
didn't have to change that much.
also added a factory method to RSAKey to generate a new key.
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
more docs, and password-protected key files can now be read
lots more documentation, some of it moved out of the README file, which is
now much smaller and less rambling.
repr(Transport) now reports the number of bits used in the cipher.
cleaned up BER to use util functions, and throw a proper exception (the new
BERException) on error. it doesn't ever have to be a full BER decoder, but
it can at least comb its hair and tuck in its shirt.
lots of stuff added to PKey.read_private_key_file so it can try to decode
password-protected key files. right now it only understands "DES-EDE3-CBC"
format, but this is the only format i've seen openssh make so far. if the
key is password-protected, but no password was given, a new exception
(PasswordRequiredException) is raised so an outer layer can ask for a password
and try again.
|
|
move the paramiko files into a paramiko/ folder.
just moving the files into a folder. it won't build this way yet.
|