simon-git: putty (main): Simon Tatham

Commits to Tartarus hosted VCS tartarus-commits at lists.tartarus.org
Sun Nov 22 08:51:08 GMT 2020


TL;DR:
  e1059086 Support rsa-sha2-* host keys in Uppity.
  24444eb3 Expose a global list of known host key algorithms.
  fa134aff Uppity: send SSH2_MSG_EXT_INFO.
  ca73159c Support -logoverwrite and -logappend command-line flags.

Repository:     https://git.tartarus.org/simon/putty.git
On the web:     https://git.tartarus.org/?p=simon/putty.git
Branch updated: main
Committer:      Simon Tatham <anakin at pobox.com>
Date:           2020-11-22 08:51:08

commit e1059086618c051a161c87fe15a45489abcd7f0d
web diff https://git.tartarus.org/?p=simon/putty.git;a=commitdiff;h=e1059086618c051a161c87fe15a45489abcd7f0d;hp=33de96ffa96c19955a4f078a9235e0c7284670dd
Author: Simon Tatham <anakin at pobox.com>
Date:   Sun Nov 22 08:13:21 2020 +0000

    Support rsa-sha2-* host keys in Uppity.
    
    As with the userauth keys, there's a localised bodge when sending
    algorithm names, where I just write a couple of extra entries into the
    list when I notice that a key is RSA-typed. Then I arrange that the
    selection of those entries sets the new variable s->hkflags to the
    right value to pass to ssh_key_sign.

 ssh2kex-server.c |  2 +-
 ssh2transport.c  | 27 +++++++++++++++++++++++----
 ssh2transport.h  |  2 ++
 3 files changed, 26 insertions(+), 5 deletions(-)

commit 24444eb396759b24f35dc9d2382a249dd9211990
web diff https://git.tartarus.org/?p=simon/putty.git;a=commitdiff;h=24444eb396759b24f35dc9d2382a249dd9211990;hp=e1059086618c051a161c87fe15a45489abcd7f0d
Author: Simon Tatham <anakin at pobox.com>
Date:   Sun Nov 22 08:40:38 2020 +0000

    Expose a global list of known host key algorithms.
    
    The information was already centralised in find_pubkey_alg, but that
    had a query-based API that couldn't enumerate the key types. Now I
    expose an underlying array so that it's possible to iterate over them.
    
    Also, I'd forgotten to add the two new rsa-sha2-* algorithms to
    find_pubkey_alg. That's also done as part of this commit.

 ssh.h     |  2 ++
 sshpubk.c | 34 ++++++++++++++++++----------------
 2 files changed, 20 insertions(+), 16 deletions(-)

commit fa134affeb4d0d118ec7d71b256cecdac2e417f9
web diff https://git.tartarus.org/?p=simon/putty.git;a=commitdiff;h=fa134affeb4d0d118ec7d71b256cecdac2e417f9;hp=24444eb396759b24f35dc9d2382a249dd9211990
Author: Simon Tatham <anakin at pobox.com>
Date:   Sun Nov 22 08:41:49 2020 +0000

    Uppity: send SSH2_MSG_EXT_INFO.
    
    This adds the framework to be able to send it in both client _and_
    server (in the post-NEWKEYS slot); it's just that currently only the
    server has anything it wants to put in it.
    
    Uppity now announces its public key type list, which is enough by
    itself to allow it to accept RFC 8332 rsa-sha2-* signatures during
    userauth. (Because the key verification code receives an ssh-rsa host
    key and validates it against the SHA2-based key algorithm structure
    derived from the id string that was sent separately.)

 ssh2transport.c | 53 +++++++++++++++++++++++++++++++++++++++++++++++++++--
 ssh2transport.h |  1 +
 2 files changed, 52 insertions(+), 2 deletions(-)

commit ca73159c14782c4790d393ab3872c3581dc986bf
web diff https://git.tartarus.org/?p=simon/putty.git;a=commitdiff;h=ca73159c14782c4790d393ab3872c3581dc986bf;hp=fa134affeb4d0d118ec7d71b256cecdac2e417f9
Author: Simon Tatham <anakin at pobox.com>
Date:   Sun Nov 22 08:45:48 2020 +0000

    Support -logoverwrite and -logappend command-line flags.
    
    If it's worth having command-line options to _specify_ a log file,
    it's also worth having options to avoid having to answer an
    interactive prompt _about_ that log file every time.
    
    (Particularly useful when debugging, in which I often want to run a
    zillion instances of the same quite temporary command line that
    involves writing a log file.)

 cmdline.c | 14 ++++++++++++++
 1 file changed, 14 insertions(+)



More information about the tartarus-commits mailing list