PaulHowarth/Blog/2019-12-04

Wednesday 4th December 2019

Fedora Project

  • Updated perl-MCE to 1.864 in Rawhide:

    • Bug fix to MCE::Signal - Shared manager not exiting, introduced in 1.863

    • Use monotonic clock if available in MCE->yield and MCE::Child->yield

  • Updated perl-MCE-Shared to 1.864 in Rawhide:

    • Use monotonic clock if available in MCE::Hobo->yield

    • Bumped MCE dependency to 1.864

  • Updated python-paramiko to 2.7.0 in Rawhide:

    • Implement support for OpenSSH 6.5-style private key files (typically denoted as having 'BEGIN OPENSSH PRIVATE KEY' headers instead of PEM format's 'BEGIN RSA PRIVATE KEY' or similar); if you were getting any sort of weird auth error from "modern" keys generated on newer operating system releases (such as macOS Mojave), this is the first update to try (GH#602, GH#618, GH#1313, GH#1343)

    • Token expansion in 'ssh_config' used a different method of determining the local username ('$USER' environment variable), compared to what the (much older) client connection code does ('getpass.getuser', which includes '$USER' but may check other variables first, and is generally much more comprehensive); both modules now use 'getpass.getuser'

    • A couple of outright '~paramiko.config.SSHConfig' parse errors were previously represented as vanilla 'Exception' instances; as part of recent feature work a more specific exception class, '~paramiko.ssh_exception.ConfigParseError', has been created; it is now also used in those older spots, which is naturally backwards compatible

    • Implement support for the 'Match' keyword in 'ssh_config' files; previously, this keyword was simply ignored and keywords inside such blocks were treated as if they were part of the previous block (GH#717)

    • Note: this feature adds a new optional install dependency 'Invoke' (https://www.pyinvoke.org), for managing 'Match exec' subprocesses

    • Additional installation 'extras_require' "flavors" ('ed25519', 'invoke', and 'all') have been added to our packaging metadata

    • Paramiko's use of 'subprocess' for 'ProxyCommand' support is conditionally imported to prevent issues on limited interpreter platforms like Google Compute Engine; however, any resulting 'ImportError' was lost instead of preserved for raising (in the rare cases where a user tried leveraging 'ProxyCommand' in such an environment); this has been fixed

    • Perform deduplication of 'IdentityFile' contents during 'ssh_config' parsing; previously, if your config would result in the same value being encountered more than once, 'IdentityFile' would contain that many copies of the same string

    • Implement most 'canonical hostname' 'ssh_config' functionality ('CanonicalizeHostname', 'CanonicalDomains', 'CanonicalizeFallbackLocal', and 'CanonicalizeMaxDots'; 'CanonicalizePermittedCNAMEs' has not yet been implemented) - all were previously silently ignored (GH#897)

    • Explicitly document which ssh_config features we currently support; previously users just had to guess, which is simply no good

    • Add new convenience classmethod constructors to '~paramiko.config.SSHConfig': '~paramiko.config.SSHConfig.from_text', '~paramiko.config.SSHConfig.from_file', and '~paramiko.config.SSHConfig.from_path'; no more annoying two-step process!

Local Packages

  • Updated perl-MCE to 1.864 as per the Fedora version

  • Updated perl-MCE-Shared to 1.864 as per the Fedora version


Recent