teleport/go.mod

218 lines
11 KiB
Modula-2
Raw Normal View History

module github.com/gravitational/teleport
2021-10-18 23:42:37 +00:00
go 1.17
require (
2021-03-22 16:38:05 +00:00
cloud.google.com/go v0.60.0
cloud.google.com/go/firestore v1.2.0
cloud.google.com/go/storage v1.10.0
Add support for `tsh ssh` on Windows (#7790) * Add support for `tsh ssh` on Windows This adds Windows session support to tsh, taking advantage of ANSI terminal support and VT emulation added in recent versions Windows 10. On supported Windows versions (Windows 10 1607+), `tsh ssh` should work as expected in `cmd.exe`, PowerShell, and the new Windows Terminal app. * Address a few review comments * Remove significant chunks of unnecessary tncon code. Removes the global buffer, `GetVTSeqFromKeyStroke`, and several ancillary headers and functions that aren't needed for our (current) use-case. Also removes mouse and focus events. * Refactor OS-specific terminal handling This significantly simplifies OS-specific terminal behavior: * Move OS specific terminal code into a new `terminal` package * Remove `session_windows.go` in favor of an OS-independent `session.go`, defer to terminal package for OS specific functionality. * Remove ConPTY since it's not needed. * Always wait for the terminal and ssh session to fully close before quitting. * Refactor tncon; ensure the raw reader can be closed and reopened, remove lots of unnecessary C code. * Revert dependency changes * Use WindowsOS constant. * Fix `tsh play` on Windows This fixes `tsh play` on Windows by using the new `terminal` module to initialize the terminal for raw input in a cross-platform way. Additionally, this simplifies `terminal.New()` since in practice we never want interactive mode at init time, and fixes a broken unit test. * Use correct log library * Fix `tsh play` player controls on Windows This fixes the console player controls on Windows as well as the timestamp writer. * Clean up lints * Add missing license header * Fix broken unit test * Fix cross-compile builds on Linux/Docker We need windows.h, which is not capitalized in the mingw packages (and is case insensitive on Windows). * Address code review feedback - Rename `Terminal.InitInteractive` to `Terminal.InitRaw` - Ensure goroutines terminate on close - Fix outdated godoc comments - Ensure Terminal event subscribers are cleared (and their channels are closed) - Ensure terminal output mode is reset on error in initTerminal - Bubble up errors in Terminal.Close() - Add author notice to tncon.c re: our changes - Add go-ansiterm as a direct dependency - Run `make update-vendor` * Add constants and a small player.go TODO. * Clear linter warning
2021-09-16 21:53:08 +00:00
github.com/Azure/go-ansiterm v0.0.0-20170929234023-d6e3b3328b78
github.com/HdrHistogram/hdrhistogram-go v1.0.1
github.com/Microsoft/go-winio v0.4.16
2021-07-29 20:08:01 +00:00
github.com/ThalesIgnite/crypto11 v1.2.4
github.com/aquasecurity/libbpfgo v0.1.0
github.com/armon/go-radix v1.0.0
github.com/aws/aws-sdk-go v1.37.17
github.com/aws/aws-sdk-go-v2 v1.9.0
github.com/aws/aws-sdk-go-v2/config v1.8.0
github.com/aws/aws-sdk-go-v2/credentials v1.4.0
github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.5.0
github.com/aws/aws-sdk-go-v2/service/ec2 v1.16.0
github.com/aws/aws-sdk-go-v2/service/sts v1.7.0
github.com/beevik/etree v1.1.0
github.com/coreos/go-oidc v0.0.4
2020-10-08 00:13:18 +00:00
github.com/coreos/go-semver v0.3.0
github.com/davecgh/go-spew v1.1.1
github.com/duo-labs/webauthn v0.0.0-20210727191636-9f1b88ef44cc
github.com/dustin/go-humanize v1.0.0
2021-09-14 09:32:53 +00:00
github.com/flynn/hid v0.0.0-20190502022136-f1b9b6cc019a
github.com/flynn/u2f v0.0.0-20180613185708-15554eb68e5d
github.com/fsouza/fake-gcs-server v1.19.5
github.com/fxamacker/cbor/v2 v2.3.0
github.com/ghodss/yaml v1.0.0
github.com/gizak/termui/v3 v3.1.0
github.com/go-ldap/ldap/v3 v3.4.1
github.com/gogo/protobuf v1.3.2
github.com/gokyle/hotp v0.0.0-20160218004637-c180d57d286b
github.com/golang/protobuf v1.4.3
github.com/google/btree v1.0.0
github.com/google/go-cmp v0.5.6
github.com/google/gops v0.3.14
2021-04-09 23:20:56 +00:00
github.com/google/uuid v1.2.0
github.com/gravitational/configure v0.0.0-20180808141939-c3428bd84c23
github.com/gravitational/form v0.0.0-20151109031454-c4048f792f70
github.com/gravitational/kingpin v2.1.11-0.20190130013101-742f2714c145+incompatible
2021-07-14 20:31:03 +00:00
github.com/gravitational/license v0.0.0-20210218173955-6d8fb49b117a
github.com/gravitational/oxy v0.0.0-20210316180922-c73d80d27348
2021-07-14 20:31:03 +00:00
github.com/gravitational/reporting v0.0.0-20180907002058-ac7b85c75c4c
github.com/gravitational/roundtrip v1.0.0
github.com/gravitational/teleport/api v0.0.0
github.com/gravitational/trace v1.1.16-0.20210617142343-5335ac7a6c19
github.com/gravitational/ttlmap v0.0.0-20171116003245-91fd36b9004c
github.com/hashicorp/golang-lru v0.5.4
github.com/jackc/pgconn v1.8.0
github.com/jackc/pgerrcode v0.0.0-20201024163028-a0d42d470451
github.com/jackc/pgproto3/v2 v2.0.7
github.com/johannesboyne/gofakes3 v0.0.0-20210217223559-02ffa763be97
github.com/jonboulle/clockwork v0.2.2
2020-09-23 22:14:26 +00:00
github.com/json-iterator/go v1.1.10
github.com/julienschmidt/httprouter v1.3.0
github.com/kardianos/osext v0.0.0-20190222173326-2bc1f35cddc0
2021-01-15 02:21:38 +00:00
github.com/kr/pty v1.1.8
github.com/kylelemons/godebug v1.1.0
github.com/mailgun/lemma v0.0.0-20170619173223-4214099fb348
github.com/mailgun/timetools v0.0.0-20170619190023-f3a7b8ffff47
github.com/mailgun/ttlmap v0.0.0-20170619185759-c1c17f74874f
github.com/mattn/go-sqlite3 v1.14.6
github.com/moby/term v0.0.0-20201216013528-df9cb8a40635
github.com/pborman/uuid v1.2.1
github.com/pkg/errors v0.9.1
github.com/pquerna/otp v1.3.0
github.com/prometheus/client_golang v1.9.0
github.com/prometheus/client_model v0.2.0
github.com/prometheus/common v0.17.0
github.com/russellhaering/gosaml2 v0.6.0
github.com/russellhaering/goxmldsig v1.1.0
github.com/sethvargo/go-diceware v0.2.1
github.com/siddontang/go-mysql v1.1.0
github.com/sirupsen/logrus v1.8.1-0.20210219125412-f104497f2b21
github.com/stretchr/testify v1.7.0
github.com/tstranex/u2f v0.0.0-20160508205855-eb799ce68da4
github.com/vulcand/predicate v1.1.0
go.etcd.io/etcd v0.5.0-alpha.5.0.20201125193152-8a03d2e9614b
go.mongodb.org/mongo-driver v1.5.3
go.mozilla.org/pkcs7 v0.0.0-20210826202110-33d05740a352
go.uber.org/atomic v1.7.0
golang.org/x/crypto v0.0.0-20210220033148-5ea612d1eb83
golang.org/x/mod v0.4.2
2021-09-14 09:32:53 +00:00
golang.org/x/net v0.0.0-20210405180319-a5a99cb37ef4
2020-09-23 22:14:26 +00:00
golang.org/x/oauth2 v0.0.0-20200107190931-bf48bf16ab8d
golang.org/x/sys v0.0.0-20210514084401-e8d321eab015
golang.org/x/term v0.0.0-20210220032956-6a3ed077a48d
golang.org/x/text v0.3.5
golang.org/x/tools v0.1.5
google.golang.org/api v0.29.0
google.golang.org/genproto v0.0.0-20210223151946-22b48be4551b
google.golang.org/grpc v1.29.1
google.golang.org/protobuf v1.25.0
gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c
2021-01-15 02:21:38 +00:00
gopkg.in/ini.v1 v1.62.0
gopkg.in/square/go-jose.v2 v2.5.1
gopkg.in/yaml.v2 v2.4.0
2020-09-23 22:14:26 +00:00
k8s.io/api v0.0.0-20200821051526-051d027c14e1
k8s.io/apimachinery v0.20.4
2020-09-23 22:14:26 +00:00
k8s.io/client-go v0.0.0-20200827131824-5d33118d4742
2021-10-22 20:30:50 +00:00
)
require (
github.com/Azure/go-autorest/autorest v0.9.6 // indirect
github.com/Azure/go-autorest/autorest/adal v0.8.2 // indirect
github.com/Azure/go-autorest/autorest/date v0.2.0 // indirect
github.com/Azure/go-autorest/logger v0.1.0 // indirect
github.com/Azure/go-autorest/tracing v0.5.0 // indirect
github.com/Azure/go-ntlmssp v0.0.0-20200615164410-66371956d46c // indirect
github.com/BurntSushi/toml v0.3.1 // indirect
github.com/alecthomas/assert v0.0.0-20170929043011-405dbfeb8e38 // indirect
github.com/alecthomas/colour v0.1.0 // indirect
github.com/alecthomas/repr v0.0.0-20200325044227-4184120f674c // indirect
github.com/alecthomas/template v0.0.0-20190718012654-fb15b899a751 // indirect
github.com/alecthomas/units v0.0.0-20210208195552-ff826a37aa15 // indirect
github.com/aws/aws-sdk-go-v2/internal/ini v1.2.2 // indirect
github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.3.0 // indirect
github.com/aws/aws-sdk-go-v2/service/sso v1.4.0 // indirect
github.com/aws/smithy-go v1.8.0 // indirect
github.com/beorn7/perks v1.0.1 // indirect
github.com/boombuler/barcode v1.0.1 // indirect
github.com/cespare/xxhash/v2 v2.1.1 // indirect
github.com/cloudflare/cfssl v0.0.0-20190726000631-633726f6bcb7 // indirect
github.com/coreos/go-systemd v0.0.0-20190719114852-fd7a80b32e1f // indirect
github.com/coreos/pkg v0.0.0-20180928190104-399ea9e2e55f // indirect
github.com/creack/pty v1.1.11 // indirect
github.com/dgrijalva/jwt-go v3.2.0+incompatible // indirect
github.com/docker/spdystream v0.0.0-20170912183627-bc6354cbbc29 // indirect
github.com/felixge/httpsnoop v1.0.1 // indirect
github.com/go-asn1-ber/asn1-ber v1.5.1 // indirect
github.com/go-logr/logr v0.2.0 // indirect
github.com/go-stack/stack v1.8.0 // indirect
github.com/golang/groupcache v0.0.0-20200121045136-8c9f03a8e57e // indirect
github.com/golang/snappy v0.0.1 // indirect
github.com/google/certificate-transparency-go v1.0.21 // indirect
github.com/google/gofuzz v1.1.0 // indirect
github.com/googleapis/gax-go/v2 v2.0.5 // indirect
github.com/googleapis/gnostic v0.4.1 // indirect
github.com/gopherjs/gopherjs v0.0.0-20190430165422-3e4dfb77656c // indirect
github.com/gorilla/handlers v1.5.1 // indirect
github.com/gorilla/mux v1.8.0 // indirect
github.com/gorilla/websocket v1.4.2 // indirect
github.com/imdario/mergo v0.3.5 // indirect
github.com/jackc/chunkreader/v2 v2.0.1 // indirect
github.com/jackc/pgio v1.0.0 // indirect
github.com/jackc/pgpassfile v1.0.0 // indirect
github.com/jackc/pgservicefile v0.0.0-20200714003250-2b9c44734f2b // indirect
github.com/jmespath/go-jmespath v0.4.0 // indirect
github.com/jstemmer/go-junit-report v0.9.1 // indirect
github.com/klauspost/compress v1.9.5 // indirect
github.com/kr/pretty v0.2.1 // indirect
github.com/kr/text v0.2.0 // indirect
github.com/mailgun/metrics v0.0.0-20150124003306-2b3c4565aafd // indirect
github.com/mailgun/minheap v0.0.0-20170619185613-3dbe6c6bf55f // indirect
github.com/mattermost/xml-roundtrip-validator v0.1.0 // indirect
github.com/mattn/go-isatty v0.0.12 // indirect
github.com/mattn/go-runewidth v0.0.10 // indirect
github.com/matttproud/golang_protobuf_extensions v1.0.1 // indirect
github.com/mdp/rsc v0.0.0-20160131164516-90f07065088d // indirect
github.com/miekg/pkcs11 v1.0.3-0.20190429190417-a667d056470f // indirect
github.com/mitchellh/go-wordwrap v1.0.1 // indirect
github.com/mitchellh/mapstructure v1.1.2 // indirect
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
github.com/modern-go/reflect2 v1.0.1 // indirect
github.com/nsf/termbox-go v0.0.0-20210114135735-d04385b850e8 // indirect
github.com/pingcap/errors v0.11.0 // indirect
github.com/pmezard/go-difflib v1.0.0 // indirect
github.com/prometheus/procfs v0.2.0 // indirect
github.com/rivo/uniseg v0.2.0 // indirect
github.com/ryszard/goskiplist v0.0.0-20150312221310-2dfbae5fcf46 // indirect
github.com/satori/go.uuid v1.2.0 // indirect
github.com/sergi/go-diff v1.1.0 // indirect
github.com/shabbyrobe/gocovmerge v0.0.0-20190829150210-3e036491d500 // indirect
github.com/siddontang/go v0.0.0-20180604090527-bdc77568d726 // indirect
github.com/siddontang/go-log v0.0.0-20180807004314-8d05993dda07 // indirect
github.com/spf13/pflag v1.0.5 // indirect
github.com/thales-e-security/pool v0.0.2 // indirect
github.com/tmc/grpc-websocket-proxy v0.0.0-20190109142713-0ad062ec5ee5 // indirect
github.com/x448/float16 v0.8.4 // indirect
github.com/xdg-go/pbkdf2 v1.0.0 // indirect
github.com/xdg-go/scram v1.0.2 // indirect
github.com/xdg-go/stringprep v1.0.2 // indirect
github.com/xeipuuv/gojsonpointer v0.0.0-20180127040702-4e3ac2762d5f // indirect
github.com/xeipuuv/gojsonreference v0.0.0-20180127040603-bd5ef7bd5415 // indirect
github.com/xeipuuv/gojsonschema v1.2.0 // indirect
github.com/youmark/pkcs8 v0.0.0-20181117223130-1be2e3e5546d // indirect
go.opencensus.io v0.22.5 // indirect
go.uber.org/multierr v1.3.0 // indirect
go.uber.org/tools v0.0.0-20190618225709-2cfd321de3ee // indirect
go.uber.org/zap v1.13.0 // indirect
golang.org/x/lint v0.0.0-20201208152925-83fdc39ff7b5 // indirect
golang.org/x/sync v0.0.0-20210220032951-036812b2e83c // indirect
golang.org/x/time v0.0.0-20191024005414-555d28b269f0 // indirect
golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1 // indirect
google.golang.org/appengine v1.6.7 // indirect
gopkg.in/inf.v0 v0.9.1 // indirect
gopkg.in/mgo.v2 v2.0.0-20190816093944-a6b53ec6cb22 // indirect
gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b // indirect
honnef.co/go/tools v0.0.1-2020.1.5 // indirect
k8s.io/klog/v2 v2.4.0 // indirect
k8s.io/utils v0.0.0-20200729134348-d5654de09c73 // indirect
launchpad.net/gocheck v0.0.0-20140225173054-000000000087 // indirect
2021-10-22 20:30:50 +00:00
sigs.k8s.io/structured-merge-diff/v4 v4.0.2 // indirect
sigs.k8s.io/yaml v1.2.0 // indirect
)
replace (
github.com/coreos/go-oidc => github.com/gravitational/go-oidc v0.0.5
github.com/gogo/protobuf => github.com/gravitational/protobuf v1.3.2-0.20201123192827-2b9fcfaffcbf
github.com/gravitational/teleport/api => ./api
github.com/siddontang/go-mysql v1.1.0 => github.com/gravitational/go-mysql v1.1.1-0.20210212011549-886316308a77
github.com/sirupsen/logrus => github.com/gravitational/logrus v1.4.4-0.20210817004754-047e20245621
)