spiegel_podman/vendor/github.com
Charlie Doern 280f5d8cb0 podman ssh work, using new c/common interface
implement new ssh interface into podman

this completely redesigns the entire functionality of podman image scp,
podman system connection add, and podman --remote. All references to golang.org/x/crypto/ssh
have been moved to common as have native ssh/scp execs and the new usage of the sftp package.

this PR adds a global flag, --ssh to podman which has two valid inputs `golang` and `native` where golang is the default.
Users should not notice any difference in their everyday workflows if they continue using the golang option. UNLESS they have been using an improperly verified ssh key, this will now fail. This is because podman was incorrectly using the
ssh callback method to IGNORE the ssh known hosts file which is very insecure and golang tells you not yo use this in production.

The native paths allows for immense flexibility, with a new containers.conf field `SSH_CONFIG` that specifies a specific ssh config file to be used in all operations. Else the users ~/.ssh/config file will be used.
podman --remote currently only uses the golang path, given its deep interconnection with dialing multiple clients and urls.

My goal after this PR is to go back and abstract the idea of podman --remote from golang's dialed clients, as it should not be so intrinsically connected. Overall, this is a v1 of a long process of offering native ssh, and one that covers some good ground with podman system connection add and podman image scp.

Signed-off-by: Charlie Doern <cdoern@redhat.com>
2022-08-09 14:00:58 -04:00
..
acarl005/stripansi vendor github.com/containers/image/v5@v5.2.0 2020-02-05 09:55:50 +01:00
Azure/go-ansiterm rootfs: Add support for rootfs-overlay and bump to buildah v1.22.1-0.202108 2021-09-14 13:31:39 +05:30
beorn7/perks update dependencies 2019-06-24 21:29:31 +02:00
blang/semver Switch to github.com/blang/semver/v4 2022-07-14 13:53:13 +02:00
buger/goterm Bump github.com/buger/goterm from 1.0.1 to 1.0.4 2022-02-04 12:08:41 +00:00
BurntSushi/toml Bump github.com/BurntSushi/toml from 1.1.0 to 1.2.0 2022-07-21 12:11:35 +00:00
cespare/xxhash/v2 bump cobra to 1.3.0 2021-12-16 15:28:39 +01:00
checkpoint-restore Update github.com/checkpoint-restore/checkpointctl 2022-04-20 18:52:41 +01:00
chzyer/readline short-name aliasing 2020-11-13 15:40:06 +01:00
container-orchestrated-devices/container-device-interface Bump github.com/container-orchestrated-devices/container-device-interface 2022-04-22 12:12:33 +00:00
containerd Vendor in containers/(storage,image, common, buildah) 2022-07-18 10:42:04 -04:00
containernetworking Bump github.com/containernetworking/cni from 1.1.1 to 1.1.2 2022-07-28 12:11:40 +00:00
containers podman ssh work, using new c/common interface 2022-08-09 14:00:58 -04:00
coreos Vendor in containers/(storage,image, common, buildah) 2022-07-18 10:42:04 -04:00
cyphar/filepath-securejoin Bump github.com/cyphar/filepath-securejoin from 0.2.2 to 0.2.3 2021-07-05 12:20:31 +00:00
davecgh/go-spew migrate to go-modules 2019-06-24 13:20:59 +02:00
digitalocean introduce podman machine 2021-03-25 08:43:51 -05:00
disiqueira/gotree/v3 migrate Podman to containers/common/libimage 2021-05-05 11:30:12 +02:00
docker Update vendor of containers/buildah 2022-06-13 17:54:17 -04:00
felixge/httpsnoop upgrade all dependencies 2022-01-18 16:27:00 +01:00
fsnotify/fsnotify Bump github.com/fsnotify/fsnotify from 1.5.3 to 1.5.4 2022-04-27 12:10:46 +00:00
fsouza/go-dockerclient vendor buildah@main 2022-06-10 09:42:19 +02:00
ghodss/yaml migrate to go-modules 2019-06-24 13:20:59 +02:00
go-task/slim-sprig Bump github.com/onsi/ginkgo from 1.15.2 to 1.16.0 2021-04-05 09:37:20 +00:00
godbus/dbus/v5 Vendor in containers/common@main 2022-02-28 16:23:26 -05:00
gogo/protobuf remove unneeded k8s code 2022-03-15 14:48:08 +01:00
golang Vendor in containers/(storage,image, common, buildah) 2022-07-18 10:42:04 -04:00
google Update c/common to an unreleased version 2022-07-30 17:26:08 +02:00
gorilla upgrade all dependencies 2022-01-18 16:27:00 +01:00
hashicorp Add containers-common spec and command to podman 2022-02-22 14:38:57 -05:00
imdario/mergo vendor in latests containers/image 2022-06-17 06:10:24 -04:00
inconshreveable/mousetrap Migrate to cobra CLI 2019-02-08 10:26:43 -06:00
jinzhu/copier Bump Buildah to v1.24.0 2022-01-27 07:03:56 -05:00
json-iterator/go Bump github.com/json-iterator/go from 1.1.11 to 1.1.12 2021-09-13 17:25:11 +00:00
klauspost Update c/common to an unreleased version 2022-07-30 17:26:08 +02:00
kr/fs podman ssh work, using new c/common interface 2022-08-09 14:00:58 -04:00
letsencrypt/boulder Vendor in containers/(storage,image, common, buildah) 2022-07-18 10:42:04 -04:00
manifoldco/promptui Bump github.com/containers/image/v5 from 5.16.1 to 5.17.0 2021-11-22 17:01:27 +00:00
mattn Bump github.com/containers/image/v5 from 5.16.1 to 5.17.0 2021-11-22 17:01:27 +00:00
matttproud/golang_protobuf_extensions update dependencies 2019-06-24 21:29:31 +02:00
Microsoft vendor buildah@main 2022-06-10 09:42:19 +02:00
miekg/pkcs11 build(deps): bump github.com/containers/ocicrypt from 1.1.2 to 1.1.3 2022-03-22 11:11:50 +00:00
mistifyio/go-zfs Bump github.com/containers/storage from 1.25.0 to 1.28.0 2021-03-18 20:27:25 +01:00
moby vendor buildah@main 2022-06-10 09:42:19 +02:00
modern-go Bump github.com/json-iterator/go from 1.1.11 to 1.1.12 2021-09-13 17:25:11 +00:00
morikuni/aec bump containers/image to v5.0.0, buildah to v1.11.4 2019-10-29 13:35:18 -04:00
nxadm/tail Bump github.com/onsi/ginkgo from 1.15.0 to 1.15.1 2021-03-08 06:10:15 -05:00
onsi Update c/common to an unreleased version 2022-07-30 17:26:08 +02:00
opencontainers Vendor in latests containers/storage and opencontainers/runtime-tools 2022-07-18 13:25:01 -04:00
openshift/imagebuilder Vendor in containers/(storage,image, common, buildah) 2022-07-18 10:42:04 -04:00
ostreedev/ostree-go Vendor in containers/common@main 2022-02-28 16:23:26 -05:00
pkg podman ssh work, using new c/common interface 2022-08-09 14:00:58 -04:00
pmezard/go-difflib migrate to go-modules 2019-06-24 13:20:59 +02:00
proglottis/gpgme Vendor in containers/(storage,image, common, buildah) 2022-07-18 10:42:04 -04:00
prometheus Vendor in containers/(storage,image, common, buildah) 2022-07-18 10:42:04 -04:00
rivo/uniseg Switch all builds to pull-never 2021-03-16 06:19:58 -04:00
rootless-containers/rootlesskit Bump github.com/rootless-containers/rootlesskit from 0.14.5 to 0.14.6 2021-11-19 14:26:03 -05:00
seccomp/libseccomp-golang podman cgroup enhancement 2022-06-24 15:39:15 -04:00
sigstore/sigstore Vendor in containers/(storage,image, common, buildah) 2022-07-18 10:42:04 -04:00
sirupsen/logrus podman-remote pull: fix duplicate progress outputs 2022-07-21 10:04:45 +02:00
spf13 bump github.com/spf13/cobra from 1.4.0 to 1.5.0 2022-06-21 17:17:06 +02:00
stefanberger/go-pkcs11uri Bump github.com/containers/ocicrypt from 1.0.3 to 1.1.0 2021-02-09 10:49:43 -05:00
stretchr/testify build(deps): bump github.com/stretchr/testify from 1.7.5 to 1.8.0 2022-06-29 12:09:48 +00:00
sylabs/sif/v2 vendor: bump buildah, c/image and c/storage 2022-03-14 12:26:12 +05:30
syndtr/gocapability vendor: drop replace for github.com/syndtr/gocapability 2021-03-19 15:17:12 +01:00
tchap/go-patricia update dependencies 2019-06-24 21:29:31 +02:00
theupdateframework/go-tuf Vendor in containers/(storage,image, common, buildah) 2022-07-18 10:42:04 -04:00
titanous/rocacheck Vendor in containers/(storage,image, common, buildah) 2022-07-18 10:42:04 -04:00
uber/jaeger-client-go Bump github.com/uber/jaeger-client-go 2021-12-08 12:25:53 +00:00
ulikunitz/xz Bump github.com/containers/storage from 1.28.0 to 1.28.1 2021-03-25 07:05:38 +00:00
vbatts/tar-split Bump github.com/containers/image/v5 from 5.15.2 to 5.16.0 2021-08-26 13:21:26 +00:00
vbauerster/mpb/v7 build(deps): bump github.com/vbauerster/mpb/v7 from 7.4.1 to 7.4.2 2022-05-24 12:11:43 +00:00
vishvananda upgrade all dependencies 2022-01-18 16:27:00 +01:00
VividCortex/ewma Bump github.com/vbauerster/mpb/v6 from 6.0.3 to 6.0.4 2021-05-19 06:50:18 +00:00
xeipuuv Vendor in containers/common@main 2022-02-28 16:23:26 -05:00