github GitoxideLabs/gitoxide gix-transport-v0.46.0
gix-transport v0.46.0

one day ago

Changed

  • don’t send plaintext credentials even with debug_assertions
    This should hopefully not be a breaking change, as the same code could
    produce the same behaviour if compiled with different flags. However,
    it’s possible some downstream test suites could be affected and
    will need to opt in to the feature.

Bug Fixes

  • Honor disallow_shell in SSH client feature check
    When running an SSH client, the disallow_shell option determines
    whether the client command, before arguments, is to be run directly
    or if it is to be run by a shell.

    (One example of when it is run directly is if it comes from the
    GIT_SSH environment variable, while one example of when it is run
    by a shell is if it comes from the GIT_SSH_COMMAND environment
    variable.)

    When invoking the client in the most central and common case of
    actually attempting to connect to a remote server, disallow_shell
    was already followed. However, in some cases we are not sure what
    kind of SSH client program we have, and so to find that out (so we
    know how to run it to connect to a server), we run a test command,
    to see if it recognizes -G as OpenSSH clients do. Often we can
    tell what kind of client program we have without needing to do
    that. But if we do need to do it, we pre-run the client to check.
    In this use, the disallow_shell option was not followed, and
    instead the use of a shell was unconditionally treated as allowed.

    This fixes that by setting prepare.use_shell = false on a
    constructed gix_command::Prepare instance, which seems to be the
    prevailing style for achieving this elsewhere in gix-transport.

Commit Statistics

  • 18 commits contributed to the release.
  • 2 commits were understood as conventional.
  • 0 issues like '(#ID)' were seen in commit messages

Thanks Clippy

Clippy helped 1 time to make code idiomatic.

Commit Details

view details
  • Uncategorized
    • Release gix-sec v0.10.12, gix-config v0.44.0, gix-prompt v0.10.0, gix-url v0.30.0, gix-credentials v0.28.0, gix-discover v0.39.0, gix-dir v0.13.0, gix-mailmap v0.26.0, gix-revision v0.33.0, gix-merge v0.4.0, gix-negotiate v0.19.0, gix-pack v0.58.0, gix-odb v0.68.0, gix-refspec v0.29.0, gix-shallow v0.3.0, gix-packetline v0.18.4, gix-transport v0.46.0, gix-protocol v0.49.0, gix-status v0.18.0, gix-submodule v0.18.0, gix-worktree-state v0.18.0, gix v0.71.0, gix-fsck v0.10.0, gitoxide-core v0.46.0, gitoxide v0.42.0 (ada5a94)
    • Release gix-date v0.9.4, gix-utils v0.2.0, gix-actor v0.34.0, gix-features v0.41.0, gix-hash v0.17.0, gix-hashtable v0.8.0, gix-path v0.10.15, gix-validate v0.9.4, gix-object v0.48.0, gix-glob v0.19.0, gix-quote v0.5.0, gix-attributes v0.25.0, gix-command v0.5.0, gix-packetline-blocking v0.18.3, gix-filter v0.18.0, gix-fs v0.14.0, gix-commitgraph v0.27.0, gix-revwalk v0.19.0, gix-traverse v0.45.0, gix-worktree-stream v0.20.0, gix-archive v0.20.0, gix-tempfile v17.0.0, gix-lock v17.0.0, gix-index v0.39.0, gix-config-value v0.14.12, gix-pathspec v0.10.0, gix-ignore v0.14.0, gix-worktree v0.40.0, gix-diff v0.51.0, gix-blame v0.1.0, gix-ref v0.51.0, gix-config v0.44.0, gix-prompt v0.10.0, gix-url v0.30.0, gix-credentials v0.28.0, gix-discover v0.39.0, gix-dir v0.13.0, gix-mailmap v0.26.0, gix-revision v0.33.0, gix-merge v0.4.0, gix-negotiate v0.19.0, gix-pack v0.58.0, gix-odb v0.68.0, gix-refspec v0.29.0, gix-shallow v0.3.0, gix-packetline v0.18.4, gix-transport v0.46.0, gix-protocol v0.49.0, gix-status v0.18.0, gix-submodule v0.18.0, gix-worktree-state v0.18.0, gix v0.71.0, gix-fsck v0.10.0, gitoxide-core v0.46.0, gitoxide v0.42.0, safety bump 48 crates (b41312b)
    • Update changelogs prior to release (38dff41)
    • Merge pull request #1907 from EliahKagan/run-ci/raw (7b17da6)
    • Drop trailing , just before ) on same line in function calls (66a5ae1)
    • Use raw literals for more strings with backslashes (01bd76d)
    • Merge pull request #1882 from emilazy/push-ylwwuwymlmwt (10e41ee)
    • Don’t send plaintext credentials even with debug_assertions (cc76085)
    • Merge pull request #1854 from GitoxideLabs/montly-report (16a248b)
    • Thanks clippy (8e96ed3)
    • Merge pull request #1814 from EliahKagan/run-ci/ssh-kind (99c2706)
    • Thanks clippy (c0cbc19)
    • Allow result_large_err on connect's helpers (1dd0230)
    • Factor client feature check from connect to helpers (9255ccc)
    • Honor disallow_shell in SSH client feature check (a445b72)
    • Merge pull request #1800 from GitoxideLabs/improvements (cc7b614)
    • Adapt to changes in gix-command (28f712e)
    • Merge pull request #1778 from GitoxideLabs/new-release (8df0db2)

Don't miss a new gitoxide release

NewReleases is sending notifications on new releases.