Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/maikebing/putty

PuTTY is a free implementation of Telnet and SSH for Windows and Unix platforms, along with an xterm terminal emulator. It is written and maintained primarily by Simon Tatham.
https://github.com/maikebing/putty

Support synchronous agent requests on Unix.

This is only intended for use in Unix Pageant; for any application
that's actually trying to get...

b4f17f26e376757b8426853b4240b6545d6a91df authored over 9 years ago by Simon Tatham <[email protected]>
Pageant: factor out cross-platform parts of add_keyfile().

I've now centralised into pageant.c all the logic about trying to load
keys of any type, with no...

2069de8c8f9b54fcdc9af71fefc55ada725ebc49 authored over 9 years ago by Simon Tatham <[email protected]>
Unix Pageant: move handling of --exec arguments.

Now --exec instantly terminates option processing, by treating
everything after it as the comman...

8228085c540edbe822529699025641a05fae383f authored over 9 years ago by Simon Tatham <[email protected]>
Const-correctness in key-loading functions.

The passphrase parameter should be a const char *.

8c4ce6d8c62a8301932d3eb0ae00f02280a68207 authored over 9 years ago by Simon Tatham <[email protected]>
Unix Pageant: -T option, tying lifetime to controlling tty.

This is intended to be a useful mode when you want to run an ssh agent
in a terminal session wit...

c59c6a8db99857b8e3aee8d620b3b4bfbe3f8fcc authored over 9 years ago by Simon Tatham <[email protected]>
Clear an extra low bit in EdDSA exponent calculation.

The source paper, and OpenSSH, agree that the lowest bit index used
from the hash of the private...

cc420507a98ed6aad8ef9260cfa70f32a45849b7 authored over 9 years ago by Simon Tatham <[email protected]>
Sort out the mess with OpenSSH key file formats.

When I implemented reading and writing of the new format a couple of
weeks ago, I kept them stri...

90af5bed04f8e4dcf7e42c464b1be6cc7056f768 authored over 9 years ago by Simon Tatham <[email protected]>
Support public keys using the "ssh-ed25519" method.

This introduces a third system of elliptic curve representation and
arithmetic, namely Edwards f...

76a4b576e58fa3b245b02f9fbb052e4651acbfa9 authored over 9 years ago by Chris Staite <[email protected]>
Support ECDH key exchange using the 'curve25519' curve.

This is the kex protocol id "[email protected]", so called
because it's over the prim...

541abf92583cd93f3952aa0e3b8f61ba9251f3fa authored over 9 years ago by Chris Staite <[email protected]>
Provide a little-endian version of bignum_from_bytes().

7d6bf4a6ca94cca24189c5a81c48d78cde407038 authored over 9 years ago by Chris Staite <[email protected]>
Vary cmdgen's default key size based on key type.

It's a bit silly to have 'puttygen -t ecdsa' immediately crash out
because the default key size ...

ba3d8fd1b96a532da1957aaea8f4924667000033 authored over 9 years ago by Simon Tatham <[email protected]>
Const-correctness in the debug functions!

I'm finding missing constifications all over the place this week.
Turns out that dmemdump() has ...

a63435f6cce3a11987c573a5e37d345f2fdd673a authored over 9 years ago by Simon Tatham <[email protected]>
Completely remove the privdata mechanism in dialog.h.

The last use of it, to store the contents of the saved session name
edit box, was removed nearly...

42c592c4ef024af30af91241f651f699d6dbff0b authored over 9 years ago by Simon Tatham <[email protected]>
Fix two small memory leaks in config mechanism.

The memory dangling off ssd->sesslist should be freed when ssd itself
goes away, and the font se...

f4956a1f9dc66973c1a9c9196ef893412b2545d7 authored over 9 years ago by Simon Tatham <[email protected]>
Remove the list of key algorithms in pageant.c.

The only reason those couldn't be replaced with a call to the
centralised find_pubkey_alg is bec...

1f4dc6faa7e371cc2c43464006c1b46fecb8987d authored over 9 years ago by Simon Tatham <[email protected]>
Clean up Unix Pageant's setup and teardown.

I've moved the listening socket setup back to before the lifetime
preparations, so in particular...

47c9a6ef0bda6bed52f1c37ff4f8ef98734d349a authored over 9 years ago by Simon Tatham <[email protected]>
Fix the inverted return values in pageant_add_ssh*_key().

This would have caused intermittent use-after-free crashes in Windows
Pageant, but only with key...

4a875b5f8b806a91c8a309d699d37d251d78b8f7 authored over 9 years ago by Simon Tatham <[email protected]>
Fix SSH-1 RSA key handling in Pageant.

The auxiliary values (the two primes and the inverse of one mod the
other) were being read into ...

5e2443ff1f07cb8cd7e6dd7d8cb044283c788478 authored over 9 years ago by Simon Tatham <[email protected]>
Put proper logging into Pageant.

Now it actually logs all its requests and responses, the fingerprints
of keys mentioned in all m...

bc4066e454f38358f17860e3d4244f63b930f994 authored over 9 years ago by Simon Tatham <[email protected]>
Remove some FIXMEs left in from initial work.

LIFE_EXEC is already dealt with, and I forgot to take out the comment
reminding me to do it, ahe...

340143cea7d65d6a340e40126e17518154bbbe78 authored over 9 years ago by Simon Tatham <[email protected]>
Provide a Unix port of Pageant.

This is much more like ssh-agent than the Windows version is - it sets
SSH_AUTH_SOCK and SSH_AGE...

c52108234b62b388efbd44447dc2e572fbd16240 authored over 9 years ago by Simon Tatham <[email protected]>
Move make_dir_and_check_ours() out into uxmisc.c.

I'm going to want to use it for a second purpose in a minute.

76e2ffe49d55f2cb805f4a5650f589e22b3d0f17 authored over 9 years ago by Simon Tatham <[email protected]>
Cross-platform support for speaking SSH agent protocol on a Socket.

The exact nature of the Socket is left up to the front end to decide,
so that we can use a Unix-...

7b6078533e71571a77a216cb069f80f3781c377d authored over 9 years ago by Simon Tatham <[email protected]>
Move half of Pageant out into a cross-platform source file.

I'm aiming for windows/winpgnt.c to only contain the parts of Windows
Pageant that are actually ...

5ba2d611f9346701b7b5b983b605cb7641fb19d7 authored over 9 years ago by Simon Tatham <[email protected]>
Const-correctness in x11_setup_display.

The 'display' parameter should have been a const char *. No call sites
affected.

a53e4e2cb6aa5b953fa0cdbef3b1702d0925f195 authored over 9 years ago by Simon Tatham <[email protected]>
Const-correctness in public-key functions.

Several of the functions in ssh2_signkey, and one or two SSH-1 key
functions too, were still tak...

bcfcb169efab1587a7cebcffff9efbf9ccac8ce8 authored over 9 years ago by Simon Tatham <[email protected]>
Use find_pubkey_alg in openssh_read_new().

This is better than listing all the algorithm names in yet another
place that will then need upd...

6b303169225f9e3ce62dd90445be61865af9b104 authored over 9 years ago by Simon Tatham <[email protected]>
Write an exporter for the new OpenSSH format.

This was a lot less work than the importer, partly because the bcrypt
primitive is already worki...

7cfa9f46270c4fa4e2b05b7a90ebd6a89d0ba460 authored over 9 years ago by Simon Tatham <[email protected]>
Completely separate old and new OpenSSH key handling code.

I thought it would be a good idea to share the loading code on the
basis that the outer header l...

67202f798a9895ad773d1114b337e512c58afc7e authored over 9 years ago by Simon Tatham <[email protected]>
Separate key-type enum values for old and new OpenSSH keys.

It's all very well for these two different formats to share a type
code as long as we're only lo...

79bbf37c9eaa8b33ddfbce1fa93580b62ba412cf authored over 9 years ago by Simon Tatham <[email protected]>
Fix enum-conflation in cmdgen.c.

I'd somehow managed to declare an enum in cmdgen.c with key types
OPENSSH and SSHCOM, and use it...

78b8bde7aff42a958f48d541ffcecf06bbde3eb1 authored over 9 years ago by Simon Tatham <[email protected]>
Teach PuTTYgen to import from OpenSSH's new key format.

This is import only, for the moment: I haven't written an exporter
yet. Also, we currently don't...

38d1db194ddd2b7499b2fcb5bc76f69aef8d9da9 authored over 9 years ago by Simon Tatham <[email protected]>
Some miscellaneous marshalling helpers.

I'm about to use these in a new piece of code, but they may come in
helpful elsewhere as well. m...

1e453d1f972821021749258fb2b393813fb4e940 authored over 9 years ago by Simon Tatham <[email protected]>
Provide a script to regenerate the Blowfish init tables.

Since I've recently published a program that can easily generate the
required digits of pi, and ...

2968563180ae5013976123d8c5106a6c394b96a6 authored over 9 years ago by Simon Tatham <[email protected]>
Implementation of OpenSSH's bcrypt.

This isn't the same as the standard bcrypt; it's OpenSSH's
modification that they use for their ...

d6375281810357b262065549592e171c01ee7c1e authored over 9 years ago by Simon Tatham <[email protected]>
Paste error in comment.

SSH2_MSG_KEX_DH_GEX_REQUEST_OLD and SSH2_MSG_KEX_DH_GEX_REQUEST were
correctly _defined_ as diff...

a8658edb17a462da32499752810bd6c989159500 authored over 9 years ago by Simon Tatham <[email protected]>
Add smemclrs of all hash states we destroy.

16c46ecdaf71e4c9dddcd933778f02d78425f6a5 authored over 9 years ago by Simon Tatham <[email protected]>
Use a timing-safe memory compare to verify MACs.

Now that we have modes in which the MAC verification happens before
any other crypto operation a...

9d5a16402168f82ba1bd695c3e95bb4812ccd0a9 authored over 9 years ago by Simon Tatham <[email protected]>
Support OpenSSH encrypt-then-MAC protocol extension.

This causes the initial length field of the SSH-2 binary packet to be
unencrypted (with the knoc...

183a9ee98b6535f8d059b4c488f198532ad84586 authored over 9 years ago by Simon Tatham <[email protected]>
Fix a few memory leaks.

Patch due to Chris Staite.

78989c97c94ef45b7081d80df1c35f2cc1edfea0 authored over 9 years ago by Simon Tatham <[email protected]>
Divide the Bugs panel in half.

It overflowed as a result of the previous commit.

84e239dd88245cd3308de987b2b0fd6637b2db34 authored over 9 years ago by Simon Tatham <[email protected]>
Support RFC 4419.

PuTTY now uses the updated version of Diffie-Hellman group exchange,
except for a few old OpenSS...

62a1bce7cb3ecb98feb57c7f1fd5d55845ce1533 authored over 9 years ago by Simon Tatham <[email protected]>
Old Dropbear servers have the ssh-close-vs-request bug.

Add automatic bug detection. (Versions verified by Matt Johnston.)

63dddfc00f4ca44f8cc0a372b419e0ff45008ea2 authored over 9 years ago by Jacob Nevins <[email protected]>
Fix a dangerous cross-thread memory access.

When a winhandl.c input thread returns EOF to the main thread, the
latter might immediately dele...

9fec2e773873e28f1409f5e1eefaf03483070050 authored almost 10 years ago by Simon Tatham <[email protected]>
Clean up a stale foreign handle in winnps.c.

I had set up an event object for signalling incoming connections to
the named pipe, and then cal...

6f241cef2c9770abf71349dd59547b3e5b4c0301 authored almost 10 years ago by Simon Tatham <[email protected]>
Don't output negative numbers in the ESC[13t report.

A minus sign is illegal at that position in a control sequence, so if
ESC[13t should report some...

2422b18a0f4d758f0660503b068dd19d92de4906 authored almost 10 years ago by Simon Tatham <[email protected]>
Stop Windows PuTTY becoming unresponsive if server floods us.

This was an old bug, fixed around 0.59, which apparently regressed
when I rewrote the main event...

7d97c2a8fdb745905fd61a9ce4abbf822e167cef authored almost 10 years ago by Simon Tatham <[email protected]>
Move kh2reg.py link from svn to git.

06d2fb5b372ff076d5e339f5baa3d919cb48870f authored almost 10 years ago by Jacob Nevins <[email protected]>
Minimal documentation for ECDSA/ECDH support.

80bd6a01aae5348c3aa826661fb497afbeb4ffa7 authored almost 10 years ago by Jacob Nevins <[email protected]>
Add a new checklist item.

I managed to build from completely the wrong commit this morning, so
make sure to double-check n...

45e89ed7ca42628d0fc85cd4f7fb3efebcd38614 authored almost 10 years ago by Simon Tatham <[email protected]>
Typo.

ac27a1468962895d64ebf6d45a74a03b2afa4050 authored almost 10 years ago by Simon Tatham <[email protected]>
Reorganise the release checklist.

Mostly I'm rearranging things because of the new workflows that git
makes available - it's now p...

8af53d1b692e6cb3aea05789d1b925fbc397453c authored almost 10 years ago by Simon Tatham <[email protected]>
New 'contrib' tool: a script for faking initial KEX.

encodelib.py is a Python library which implements some handy SSH-2
encoding primitives; sampleke...

12d5b00d62240d1875be4ac0a6c5d29240696c89 authored almost 10 years ago by Simon Tatham <[email protected]>
Merge branch 'pre-0.64'

808e414130f67aa8dd21f6f8164720390bde8746 authored almost 10 years ago by Simon Tatham <[email protected]>
Fix an erroneous length field in SSH-1 key load.

We incremented buf by a few bytes, so we must decrement the
corresponding length by the same amo...

1f757928051b6d6ff231b2265bad2d263b0fe3ea authored almost 10 years ago by Simon Tatham <[email protected]>
Enforce acceptable range for Diffie-Hellman server value.

Florent Daigniere of Matta points out that RFC 4253 actually
_requires_ us to refuse to accept o...

174476813f0ed94337aecc3e2d13a202a1dc2fa8 authored almost 10 years ago by Simon Tatham <[email protected]>
Add some missing smemclrs and sfrees.

The absence of these could have prevented sensitive private key
information from being properly ...

65f69bca7363ceceeac515ae2a82b8f8adc6404d authored almost 10 years ago by Simon Tatham <[email protected]>
Bump version number for 0.64 release.

2713396c91fa6ba00c40940450ffcc3953aba4ee authored almost 10 years ago by Simon Tatham <[email protected]>
Merge branch 'pre-0.64'

f004bcca17a789356c32527a396b68b71a773db2 authored almost 10 years ago by Jacob Nevins <[email protected]>
Refresh the Windows installer README.txt.

The most recent version of Windows it acknowledged was XP.

db9385b3ce08c211c3e2b950aa1a0f656ba3ab01 authored almost 10 years ago by Jacob Nevins <[email protected]>
Merge branch 'pre-0.64'

d89fdf65a79278eb83f335da5945e324c9b10943 authored almost 10 years ago by Jacob Nevins <[email protected]>
Make kh2reg.py compatible with modern Python.

Bare string exceptions aren't supported any more.
Patch by Will Aoki, plus a backward compatibil...

56a42d09d43e91603f3fbf01f5781bcbbc54a6bd authored almost 10 years ago by Jacob Nevins <[email protected]>
Improve comments in winhandl.c.

To understand the handle leak bug that I fixed in git commit
7549f2da40d3666f2c9527d84d9ed5468e2...

a87a14ae0fc7d4621b5b1fafdb2053b3638b4b2b authored almost 10 years ago by Simon Tatham <[email protected]>
Merge branch 'pre-0.64'

d0ca84935e7f1ea686b57f75c13d883c4093e758 authored almost 10 years ago by Simon Tatham <[email protected]>
Mark handles defunct before calling gotdata/sentdata.

If (say) a read handle returns EOF, and its gotdata function responds
by calling handle_free(), ...

087ca595f3f612f0d2de1d406b5fcc751cdd3566 authored almost 10 years ago by Simon Tatham <[email protected]>
Fix handle leak in winhandl.c.

The code for cleaning up handle structures works by the main thread
asking the per-handle subthr...

7549f2da40d3666f2c9527d84d9ed5468e231691 authored almost 10 years ago by Simon Tatham <[email protected]>
Merge branch 'pre-0.64'

ced3a46c3f993e6257ec25337395d0c6bf6dbf59 authored almost 10 years ago by Jacob Nevins <[email protected]>
Remove user-key-oriented advice from host key docs.

It would be rare to have a host keypair in .ppk format or on a client
machine to load into PuTTY...

8dedf59080d1318ede64c12b99b1a3a2c321d304 authored almost 10 years ago by Jacob Nevins <[email protected]>
Merge branch 'pre-0.64'

954df095f4ec3ca98c225e89f737f17477695785 authored almost 10 years ago by Jacob Nevins <[email protected]>
Use local username consistently in Unix Plink.

It tries to use the local username as the remote username if it has no
better ideas, but the pre...

3a9ce5074d628206ed2f625842b12722f53c5867 authored about 10 years ago by Jacob Nevins <[email protected]>
Merge branch 'pre-0.64'

5904545cc18289541702da284b00490cb25a753e authored about 10 years ago by Jacob Nevins <[email protected]>
Fix a copy-and-pasted comment.

f3685eb9482ab98e7c7ecee06970795a016834b6 authored about 10 years ago by Jacob Nevins <[email protected]>
It's a new year.

bff08a95e776d818a3f2d44f9a4694d9ad558a74 authored about 10 years ago by Jacob Nevins <[email protected]>
Merge branch 'pre-0.64'

23208779e78024a004f5e51c189874cb50c29af0 authored about 10 years ago by Simon Tatham <[email protected]>
Fix memory management in bignum_random_in_range.

We were allocating a new array in which to make up a random number
every time we went round the ...

c46da2f079cd28503f7b3fac5734bf6863858257 authored about 10 years ago by Simon Tatham <[email protected]>
Do an smemclr(bytes) in bignum_random_in_range.

It's used for sensitive data, so we shouldn't leave it lying around
after free.

ae4986a4330cb1a19689521ac3388034849da35f authored about 10 years ago by Simon Tatham <[email protected]>
Fix a handle leak in Windows PSFTP.

We were checking the return value of CreateThread for validity, but
not keeping it to free after...

02dd708116bc5a5ece8041ddbd7fdca65c3f135d authored about 10 years ago by Simon Tatham <[email protected]>
Fixes to memory management in the elliptic curve code.

There was an error-handling path testing the wrong variable; an
inappropriate call to ec_point_f...

0acc74d711638c583d67c187a1b731b36a075d9f authored about 10 years ago by Simon Tatham <[email protected]>
Add a missing freeaddrinfo() in Unix sk_newlistener.

If we use getaddrinfo to translate the source IP address into a
sockaddr, then we need to freead...

fe24f4dfba2aa2db270427bb3d1f7c6cb7f19221 authored about 10 years ago by Simon Tatham <[email protected]>
Close the remote file handle if sftp_put_file's fstat fails.

Instead of abruptly returning from sftp_put_file in that situation, we
now send an FXP_CLOSE ins...

dd0f1e5cc7c5cc52d36a7c8e2fc6434887fd165e authored about 10 years ago by Simon Tatham <[email protected]>
Merge branch 'pre-0.64'

d23c0972cd850c77871f9a314e0520d7023c8b62 authored about 10 years ago by Simon Tatham <[email protected]>
Stop referring to Plink as "PuTTY Link".

I don't think anyone has ever actually called it that, colloquially
_or_ formally, and if anyone...

8c09f85a64ff31d05f37304a041fd766507a19f0 authored about 10 years ago by Simon Tatham <[email protected]>
Another missing initialisation.

This one spotted in the old-fashioned way, by actually attempting a
Plink raw connection and won...

91645175f79944c95a4b0fa194357a2be4ee4919 authored about 10 years ago by Simon Tatham <[email protected]>
Consistently use &def for %makefile_extra pieces.

mkfiles.pl was giving a couple of annoying perl warnings, because some
makefile_extra strings we...

6903e761d5e0472b55b9fa7c15153fd0be0c1505 authored about 10 years ago by Simon Tatham <[email protected]>
Move echo/edit state change functionality out of ldisc_send.

I'm not actually sure why we've always had back ends notify ldisc of
changes to echo/edit settin...

c269dd0135a927d4d22a334cfefb09361f311fcd authored about 10 years ago by Simon Tatham <[email protected]>
Merge branch 'pre-0.64'

d870b5650e48eb04529e8f8d8e9f73ca9923b3a1 authored about 10 years ago by Simon Tatham <[email protected]>
Don't reject _and_ accept X forwarding requests!

If a sharing downstream asks for an auth method we don't understand,
we should send them CHANNEL...

69d50b2877ea6cb2a23a75e563dbca7548dacd38 authored about 10 years ago by Simon Tatham <[email protected]>
Add some missing initialisations.

Spotted by valgrind, after I was testing all the Coverity bug fixes :-)

f45423544437d117d103a3406550dcd535c614b9 authored about 10 years ago by Simon Tatham <[email protected]>
Fix assorted memory leaks.

All spotted by Coverity.

90dcef3d9e60f7f81193e433771bcb11e057cf11 authored about 10 years ago by Simon Tatham <[email protected]>
Fix uninitialised variable in two Windows event loops.

If (Msg)WaitForMultipleObjects returns WAIT_TIMEOUT, we expect 'next'
to have been initialised. ...

b6c2346173ee1a8b8cd6ec045bb80243e47400f2 authored about 10 years ago by Simon Tatham <[email protected]>
Clarify when ldisc->term may be NULL.

Namely, any ldisc that you send actual data through should have a
terminal attached, because the...

068b67d2f6e9b186b3107ebcb1e88a141b7b5ebc authored about 10 years ago by Simon Tatham <[email protected]>
Fix typo in validate_manual_hostkey().

'p += strcspn' returns p always non-NULL and sometimes pointing at \0,
as opposed to 'p = strchr...

2ef23bb8128503feefa36ca90a85c74e4dd62a9b authored about 10 years ago by Simon Tatham <[email protected]>
Merge connection-sharing shutdown fix from pre-0.64.

a918c97dc9a383fc4afd24cce8eaa57d653d7c97 authored about 10 years ago by Simon Tatham <[email protected]>
Shut down connshare upstream along with the SSH connection.

This ought to happen in ssh_do_close alongside the code that shuts
down other local listening th...

063c438fec892a5d03e0853baa6aa0cf963e7a50 authored about 10 years ago by Simon Tatham <[email protected]>
Merge branch 'pre-0.64'.

286cd5a1d8685a44625cd6423c1a8eb93cfa4223 authored about 10 years ago by Jacob Nevins <[email protected]>
Free copied Conf in log_free().

Thanks to Corey Stup for pointing it out.

5429effd8e611c267e3ab117586821c051b2719a authored about 10 years ago by Jacob Nevins <[email protected]>
Merge reconfig fixes from branch 'pre-0.64'.

0ab2e03ef2dba047c5e2bd5faf346b42b445fb70 authored about 10 years ago by Jacob Nevins <[email protected]>
Disable some mid-session configs for downstreams.

Compression, encryption, and key exchange settings are all meaningless
to reconfigure in connect...

f662ff790c5bd2d133b8da8c1152c994499ab4f7 authored about 10 years ago by Jacob Nevins <[email protected]>
Disable manual host key config in mid-session.

Changing it can't have any useful effect, since we have strictly
enforced that the host key used...

cda67c7c44bd1b1aef29fa9dc27118aa5ba35e2c authored about 10 years ago by Jacob Nevins <[email protected]>
Merge another docs fix from 'pre-0.64'.

8ab1433caaefef02a19e8e5ea74e5259fa719eae authored about 10 years ago by Jacob Nevins <[email protected]>