From 03bc9941feb8cece67bddebce6104233093e0b51 Mon Sep 17 00:00:00 2001 From: Pudong Zheng Date: Tue, 17 May 2022 17:28:12 +0000 Subject: [PATCH 1/4] Add global analytics writer --- .../ws-proxy/pkg/analytics/analytics.go | 21 +++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 components/ws-proxy/pkg/analytics/analytics.go diff --git a/components/ws-proxy/pkg/analytics/analytics.go b/components/ws-proxy/pkg/analytics/analytics.go new file mode 100644 index 00000000000000..fe047c5473d8b1 --- /dev/null +++ b/components/ws-proxy/pkg/analytics/analytics.go @@ -0,0 +1,21 @@ +// Copyright (c) 2022 Gitpod GmbH. All rights reserved. +// Licensed under the GNU Affero General Public License (AGPL). +// See License-AGPL.txt in the project root for license information. + +package analytics + +import ( + "github.com/gitpod-io/gitpod/common-go/analytics" +) + +var writer analytics.Writer = analytics.NewFromEnvironment() + +func Identify(message analytics.IdentifyMessage) { + writer.Identify(message) +} +func Track(message analytics.TrackMessage) { + writer.Track(message) +} +func Close() error { + return writer.Close() +} From dd15d0dac3153f6aca94991e23a4a9fa8c02273b Mon Sep 17 00:00:00 2001 From: Pudong Zheng Date: Tue, 17 May 2022 17:29:43 +0000 Subject: [PATCH 2/4] Enabled analytics for ws-proxy --- install/installer/pkg/components/ws-proxy/deployment.go | 1 + 1 file changed, 1 insertion(+) diff --git a/install/installer/pkg/components/ws-proxy/deployment.go b/install/installer/pkg/components/ws-proxy/deployment.go index dc72a20acbc06a..400e540712d9e0 100644 --- a/install/installer/pkg/components/ws-proxy/deployment.go +++ b/install/installer/pkg/components/ws-proxy/deployment.go @@ -139,6 +139,7 @@ func deployment(ctx *common.RenderContext) ([]runtime.Object, error) { Env: common.MergeEnv( common.DefaultEnv(&ctx.Config), common.WorkspaceTracingEnv(ctx), + common.AnalyticsEnv(&ctx.Config), ), ReadinessProbe: &corev1.Probe{ InitialDelaySeconds: int32(2), From 0480fa5607c9e2d2ad1319aec7a5ba962613d3c7 Mon Sep 17 00:00:00 2001 From: Pudong Zheng Date: Tue, 17 May 2022 17:30:19 +0000 Subject: [PATCH 3/4] Add OwnerUserId in workspaceInfo patch --- components/ws-proxy/pkg/proxy/infoprovider.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/components/ws-proxy/pkg/proxy/infoprovider.go b/components/ws-proxy/pkg/proxy/infoprovider.go index b77e41f8c456af..c393722b55c4aa 100644 --- a/components/ws-proxy/pkg/proxy/infoprovider.go +++ b/components/ws-proxy/pkg/proxy/infoprovider.go @@ -61,6 +61,8 @@ type WorkspaceInfo struct { Auth *wsapi.WorkspaceAuthentication StartedAt time.Time + + OwnerUserId string } // RemoteWorkspaceInfoProvider provides (cached) infos about running workspaces that it queries from ws-manager. @@ -159,6 +161,7 @@ func mapPodToWorkspaceInfo(pod *corev1.Pod) *WorkspaceInfo { Ports: extractExposedPorts(pod).Ports, Auth: &wsapi.WorkspaceAuthentication{Admission: admission, OwnerToken: ownerToken}, StartedAt: pod.CreationTimestamp.Time, + OwnerUserId: pod.Labels[kubernetes.OwnerLabel], } } From 58cdd7f5f9778a10a6b97b9829bbcbf5095b430b Mon Sep 17 00:00:00 2001 From: Pudong Zheng Date: Tue, 17 May 2022 17:51:21 +0000 Subject: [PATCH 4/4] add analytics for ssh --- components/ws-proxy/go.mod | 7 ++- components/ws-proxy/go.sum | 11 ++++ components/ws-proxy/pkg/sshproxy/server.go | 71 +++++++++++++++++++--- install/installer/go.mod | 4 +- install/installer/go.sum | 7 ++- 5 files changed, 84 insertions(+), 16 deletions(-) diff --git a/components/ws-proxy/go.mod b/components/ws-proxy/go.mod index 2107ce8c37d0d4..f2315fe5beb29d 100644 --- a/components/ws-proxy/go.mod +++ b/components/ws-proxy/go.mod @@ -15,7 +15,7 @@ require ( github.com/klauspost/cpuid/v2 v2.0.9 github.com/sirupsen/logrus v1.8.1 github.com/spf13/cobra v1.2.1 - golang.org/x/crypto v0.0.0-20210817164053-32db794688a5 + golang.org/x/crypto v0.0.0-20220518034528-6f7dac969898 golang.org/x/net v0.0.0-20211209124913-491a49abca63 golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1 google.golang.org/grpc v1.45.0 @@ -58,12 +58,14 @@ require ( github.com/prometheus/client_model v0.2.0 // indirect github.com/prometheus/common v0.32.1 // indirect github.com/prometheus/procfs v0.7.3 // indirect + github.com/segmentio/backo-go v0.0.0-20200129164019-23eae7c10bd3 // indirect github.com/spf13/pflag v1.0.5 // indirect github.com/uber/jaeger-client-go v2.29.1+incompatible // indirect github.com/uber/jaeger-lib v2.4.1+incompatible // indirect + github.com/xtgo/uuid v0.0.0-20140804021211-a0b114877d4c // indirect go.uber.org/atomic v1.8.0 // indirect golang.org/x/oauth2 v0.0.0-20210819190943-2bc19b11175f // indirect - golang.org/x/sys v0.0.0-20220114195835-da31bd327af9 // indirect + golang.org/x/sys v0.0.0-20220517195934-5e4e11fc645e // indirect golang.org/x/term v0.0.0-20210615171337-6886f2dfbf5b // indirect golang.org/x/text v0.3.7 // indirect golang.org/x/time v0.0.0-20210723032227-1f47c861a9ac // indirect @@ -72,6 +74,7 @@ require ( google.golang.org/genproto v0.0.0-20210831024726-fe130286e0e2 // indirect google.golang.org/protobuf v1.28.0 // indirect gopkg.in/inf.v0 v0.9.1 // indirect + gopkg.in/segmentio/analytics-go.v3 v3.1.0 // indirect gopkg.in/yaml.v2 v2.4.0 // indirect gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b // indirect k8s.io/apiextensions-apiserver v0.23.5 // indirect diff --git a/components/ws-proxy/go.sum b/components/ws-proxy/go.sum index f7684ead52917c..01b68c26787c6f 100644 --- a/components/ws-proxy/go.sum +++ b/components/ws-proxy/go.sum @@ -76,6 +76,7 @@ github.com/bgentry/speakeasy v0.1.0/go.mod h1:+zsyZBPWlz7T6j88CTgSN5bM796AkVf0kB github.com/bketelsen/crypt v0.0.3-0.20200106085610-5cbc8cc4026c/go.mod h1:MKsuJmJgSg28kpZDP6UIiPt0e0Oz0kqKNGyRaWEPv84= github.com/bketelsen/crypt v0.0.4/go.mod h1:aI6NrJ0pMGgvZKL1iVgXLnfIFJtfV+bKCoqOes/6LfM= github.com/blang/semver v3.5.1+incompatible/go.mod h1:kRBLl5iJ+tD4TcOOxsy/0fnwebNt5EWlYSAyrTnjyyk= +github.com/bmizerany/assert v0.0.0-20160611221934-b7ed37b82869 h1:DDGfHa7BWjL4YnC6+E63dPcxHo2sUxDIu8g3QgEJdRY= github.com/bombsimon/logrusr/v2 v2.0.1 h1:1VgxVNQMCvjirZIYaT9JYn6sAVGVEcNtRE0y4mvaOAM= github.com/bombsimon/logrusr/v2 v2.0.1/go.mod h1:ByVAX+vHdLGAfdroiMg6q0zgq2FODY2lc5YJvzmOJio= github.com/census-instrumentation/opencensus-proto v0.2.1/go.mod h1:f6KPmirojxKA12rnyqOA5BBL4O983OfeGPqjHWSTneU= @@ -435,6 +436,8 @@ github.com/rogpeppe/go-internal v1.3.0/go.mod h1:M8bDsm7K2OlrFYOpmOWEs/qY81heoFR github.com/russross/blackfriday/v2 v2.0.1/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM= github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f/go.mod h1:sm1tb6uqfes/u+d4ooFouqFdy9/2g9QGwK3SQygK0Ts= github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529/go.mod h1:DxrIzT+xaE7yg65j358z/aeFdxmN0P9QXhEzd20vsDc= +github.com/segmentio/backo-go v0.0.0-20200129164019-23eae7c10bd3 h1:ZuhckGJ10ulaKkdvJtiAqsLTiPrLaXSdnVgXJKJkTxE= +github.com/segmentio/backo-go v0.0.0-20200129164019-23eae7c10bd3/go.mod h1:9/Rh6yILuLysoQnZ2oNooD2g7aBnvM7r/fNVxRNWfBc= github.com/shurcooL/sanitized_anchor_name v1.0.0/go.mod h1:1NzhyTcUVG4SuEtjjoZeVRXNmyL/1OwPU0+IJeTBvfc= github.com/sirupsen/logrus v1.2.0/go.mod h1:LxeOpSwHxABJmUn/MG1IvRgCAasNZTLOkJPxbbu5VWo= github.com/sirupsen/logrus v1.4.2/go.mod h1:tLMulIdttU9McNUspp0xgXVQah82FyeX6MwdIuYE2rE= @@ -481,6 +484,8 @@ github.com/uber/jaeger-client-go v2.29.1+incompatible/go.mod h1:WVhlPFC8FDjOFMMW github.com/uber/jaeger-lib v2.4.1+incompatible h1:td4jdvLcExb4cBISKIpHuGoVXh+dVKhn2Um6rjCsSsg= github.com/uber/jaeger-lib v2.4.1+incompatible/go.mod h1:ComeNDZlWwrWnDv8aPp0Ba6+uUTzImX/AauajbLI56U= github.com/xiang90/probing v0.0.0-20190116061207-43a291ad63a2/go.mod h1:UETIi67q53MR2AWcXfiuqkDkRtnGDLqkBTpCHuJHxtU= +github.com/xtgo/uuid v0.0.0-20140804021211-a0b114877d4c h1:3lbZUMbMiGUW/LMkfsEABsc5zNT9+b1CvsJx47JzJ8g= +github.com/xtgo/uuid v0.0.0-20140804021211-a0b114877d4c/go.mod h1:UrdRz5enIKZ63MEE3IF9l2/ebyx59GyGgPi+tICQdmM= github.com/yuin/goldmark v1.1.25/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= github.com/yuin/goldmark v1.1.27/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= github.com/yuin/goldmark v1.1.32/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= @@ -539,6 +544,8 @@ golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9/go.mod h1:LzIPMQfyMNhhGPh golang.org/x/crypto v0.0.0-20201002170205-7f63de1d35b0/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= golang.org/x/crypto v0.0.0-20210817164053-32db794688a5 h1:HWj/xjIHfjYU5nVXpTM0s39J9CbLn7Cc5a7IC5rwsMQ= golang.org/x/crypto v0.0.0-20210817164053-32db794688a5/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc= +golang.org/x/crypto v0.0.0-20220518034528-6f7dac969898 h1:SLP7Q4Di66FONjDJbCYrCRrh97focO6sLogHO7/g8F0= +golang.org/x/crypto v0.0.0-20220518034528-6f7dac969898/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4= golang.org/x/exp v0.0.0-20190121172915-509febef88a4/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= golang.org/x/exp v0.0.0-20190306152737-a1d7652674e8/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= golang.org/x/exp v0.0.0-20190510132918-efd6b22b2522/go.mod h1:ZjyILWgesfNpC6sMxTJOJm9Kp84zZh5NQWvqDGG3Qr8= @@ -715,6 +722,8 @@ golang.org/x/sys v0.0.0-20210809222454-d867a43fc93e/go.mod h1:oPkhp1MJrh7nUepCBc golang.org/x/sys v0.0.0-20210831042530-f4d43177bf5e/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20220114195835-da31bd327af9 h1:XfKQ4OlFl8okEOr5UvAqFRVj8pY/4yfcXrddB8qAbU0= golang.org/x/sys v0.0.0-20220114195835-da31bd327af9/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20220517195934-5e4e11fc645e h1:w36l2Uw3dRan1K3TyXriXvY+6T56GNmlKGcqiQUJDfM= +golang.org/x/sys v0.0.0-20220517195934-5e4e11fc645e/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo= golang.org/x/term v0.0.0-20210615171337-6886f2dfbf5b h1:9zKuko04nR4gjZ4+DNjHqRlAJqbJETHwiNKDqTfOjfE= golang.org/x/term v0.0.0-20210615171337-6886f2dfbf5b/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8= @@ -931,6 +940,8 @@ gopkg.in/ini.v1 v1.51.0/go.mod h1:pNLf8WUiyNEtQjuu5G5vTm06TEv9tsIgeAvK8hOrP4k= gopkg.in/ini.v1 v1.62.0/go.mod h1:pNLf8WUiyNEtQjuu5G5vTm06TEv9tsIgeAvK8hOrP4k= gopkg.in/natefinch/lumberjack.v2 v2.0.0/go.mod h1:l0ndWWf7gzL7RNwBG7wST/UCcT4T24xpD6X8LsfU/+k= gopkg.in/resty.v1 v1.12.0/go.mod h1:mDo4pnntr5jdWRML875a/NmxYqAlA73dVijT2AXvQQo= +gopkg.in/segmentio/analytics-go.v3 v3.1.0 h1:UzxH1uaGZRpMKDhJyBz0pexz6yUoBU3x8bJsRk/HV6U= +gopkg.in/segmentio/analytics-go.v3 v3.1.0/go.mod h1:4QqqlTlSSpVlWA9/9nDcPw+FkM2yv1NQoYjUbL9/JAw= gopkg.in/square/go-jose.v2 v2.2.2/go.mod h1:M9dMgbHiYLoDGQrXy7OpJDJWiKiU//h+vD76mk0e1AI= gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 h1:uRGJdciOHaEIrze2W8Q3AKkepLTh2hOroT7a+7czfdQ= gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7/go.mod h1:dt/ZhP58zS4L8KSrWDmTeBkI65Dw0HsyUHuEVlX15mw= diff --git a/components/ws-proxy/pkg/sshproxy/server.go b/components/ws-proxy/pkg/sshproxy/server.go index 7bdb7e9fe0e787..438789edf62199 100644 --- a/components/ws-proxy/pkg/sshproxy/server.go +++ b/components/ws-proxy/pkg/sshproxy/server.go @@ -6,13 +6,16 @@ package sshproxy import ( "context" + "errors" "fmt" "net" "strings" "time" + "github.com/gitpod-io/gitpod/common-go/analytics" "github.com/gitpod-io/gitpod/common-go/log" supervisor "github.com/gitpod-io/gitpod/supervisor/api" + tracker "github.com/gitpod-io/gitpod/ws-proxy/pkg/analytics" p "github.com/gitpod-io/gitpod/ws-proxy/pkg/proxy" "golang.org/x/crypto/ssh" "golang.org/x/xerrors" @@ -21,6 +24,10 @@ import ( const GitpodUsername = "gitpod" +var ErrWorkspaceNotFound = errors.New("not found workspace") +var ErrAuthFailed = errors.New("auth failed") +var ErrUsernameFormat = errors.New("username format is not correct") + type Session struct { Conn *ssh.ServerConn @@ -51,11 +58,26 @@ func New(signers []ssh.Signer, workspaceInfoProvider p.WorkspaceInfoProvider, he server.sshConfig = &ssh.ServerConfig{ ServerVersion: "SSH-2.0-GITPOD-GATEWAY", - PasswordCallback: func(conn ssh.ConnMetadata, password []byte) (*ssh.Permissions, error) { + PasswordCallback: func(conn ssh.ConnMetadata, password []byte) (perm *ssh.Permissions, err error) { workspaceId, ownerToken := conn.User(), string(password) - err := server.Authenticator(workspaceId, ownerToken) + wsInfo, err := server.Authenticator(workspaceId, ownerToken) + defer func() { + server.TrackSSHConnection(wsInfo, "auth", err) + }() if err != nil { - return nil, err + if err == ErrAuthFailed { + return + } + args := strings.Split(conn.User(), "#") + if len(args) != 2 { + return + } + workspaceId, ownerToken = args[0], args[1] + wsInfo, err = server.Authenticator(workspaceId, ownerToken) + if err == nil { + err = errors.New("miss private key") + } + return } return &ssh.Permissions{ Extensions: map[string]string{ @@ -67,10 +89,13 @@ func New(signers []ssh.Signer, workspaceInfoProvider p.WorkspaceInfoProvider, he args := strings.Split(conn.User(), "#") // workspaceId#ownerToken if len(args) != 2 { - return nil, fmt.Errorf("username error") + return nil, ErrUsernameFormat } workspaceId, ownerToken := args[0], args[1] - err := server.Authenticator(workspaceId, ownerToken) + wsInfo, err := server.Authenticator(workspaceId, ownerToken) + defer func() { + server.TrackSSHConnection(wsInfo, "auth", err) + }() if err != nil { return nil, err } @@ -108,6 +133,7 @@ func (s *Server) HandleConn(c net.Conn) { key, err := s.GetWorkspaceSSHKey(ctx, wsInfo.IPAddress) if err != nil { cancel() + s.TrackSSHConnection(wsInfo, "connect", err) return } cancel() @@ -121,6 +147,7 @@ func (s *Server) HandleConn(c net.Conn) { remoteAddr := wsInfo.IPAddress + ":23001" conn, err := net.Dial("tcp", remoteAddr) if err != nil { + s.TrackSSHConnection(wsInfo, "connect", err) log.WithField("instanceId", wsInfo.InstanceID).WithField("workspaceIP", wsInfo.IPAddress).WithError(err).Error("dail failed") return } @@ -137,6 +164,7 @@ func (s *Server) HandleConn(c net.Conn) { Timeout: 10 * time.Second, }) if err != nil { + s.TrackSSHConnection(wsInfo, "connect", err) log.WithField("instanceId", wsInfo.InstanceID).WithField("workspaceIP", wsInfo.IPAddress).WithError(err).Error("connect failed") return } @@ -144,6 +172,8 @@ func (s *Server) HandleConn(c net.Conn) { client := ssh.NewClient(clientConn, clientChans, clientReqs) ctx, cancel = context.WithCancel(context.Background()) + s.TrackSSHConnection(wsInfo, "connect", nil) + go func() { client.Wait() cancel() @@ -161,15 +191,38 @@ func (s *Server) HandleConn(c net.Conn) { } } -func (s *Server) Authenticator(workspaceId, ownerToken string) (err error) { +func (s *Server) Authenticator(workspaceId, ownerToken string) (*p.WorkspaceInfo, error) { wsInfo := s.workspaceInfoProvider.WorkspaceInfo(workspaceId) if wsInfo == nil { - return fmt.Errorf("not found workspace") + return nil, ErrWorkspaceNotFound } if wsInfo.Auth.OwnerToken != ownerToken { - return fmt.Errorf("auth failed") + return wsInfo, ErrAuthFailed } - return nil + return wsInfo, nil +} + +func (s *Server) TrackSSHConnection(wsInfo *p.WorkspaceInfo, phase string, err error) { + // if we didn't find an associated user, we don't want to track + if wsInfo == nil { + return + } + propertics := make(map[string]interface{}) + propertics["workspaceId"] = wsInfo.WorkspaceID + propertics["instanceId"] = wsInfo.InstanceID + propertics["state"] = "success" + propertics["phase"] = phase + + if err != nil { + propertics["state"] = "failed" + propertics["cause"] = err.Error() + } + + tracker.Track(analytics.TrackMessage{ + Identity: analytics.Identity{UserID: wsInfo.OwnerUserId}, + Event: "ssh_connection", + Properties: propertics, + }) } func (s *Server) GetWorkspaceSSHKey(ctx context.Context, workspaceIP string) (ssh.Signer, error) { diff --git a/install/installer/go.mod b/install/installer/go.mod index 29df459321a826..024129b08a3f79 100644 --- a/install/installer/go.mod +++ b/install/installer/go.mod @@ -24,7 +24,7 @@ require ( github.com/sirupsen/logrus v1.8.1 github.com/spf13/cobra v1.2.1 github.com/stretchr/testify v1.7.1 - golang.org/x/crypto v0.0.0-20220315160706-3147a52a75dd + golang.org/x/crypto v0.0.0-20220518034528-6f7dac969898 helm.sh/helm/v3 v3.7.1 k8s.io/api v0.23.5 k8s.io/apimachinery v0.23.5 @@ -248,7 +248,7 @@ require ( golang.org/x/net v0.0.0-20220412020605-290c469a71a5 // indirect golang.org/x/oauth2 v0.0.0-20220411215720-9780585627b5 // indirect golang.org/x/sync v0.0.0-20210220032951-036812b2e83c // indirect - golang.org/x/sys v0.0.0-20220412211240-33da011f77ad // indirect + golang.org/x/sys v0.0.0-20220517195934-5e4e11fc645e // indirect golang.org/x/term v0.0.0-20210927222741-03fcf44c2211 // indirect golang.org/x/text v0.3.7 // indirect golang.org/x/time v0.0.0-20220411224347-583f2d630306 // indirect diff --git a/install/installer/go.sum b/install/installer/go.sum index ea1039aae0b4eb..3153bc62d9508b 100644 --- a/install/installer/go.sum +++ b/install/installer/go.sum @@ -2051,8 +2051,8 @@ golang.org/x/crypto v0.0.0-20210322153248-0c34fe9e7dc2/go.mod h1:T9bdIzuCu7OtxOm golang.org/x/crypto v0.0.0-20210513164829-c07d793c2f9a/go.mod h1:P+XmwS30IXTQdn5tA2iutPOUgjI07+tq3H3K9MVA1s8= golang.org/x/crypto v0.0.0-20210711020723-a769d52b0f97/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc= golang.org/x/crypto v0.0.0-20210817164053-32db794688a5/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc= -golang.org/x/crypto v0.0.0-20220315160706-3147a52a75dd h1:XcWmESyNjXJMLahc3mqVQJcgSTDxFxhETVlfk9uGc38= -golang.org/x/crypto v0.0.0-20220315160706-3147a52a75dd/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4= +golang.org/x/crypto v0.0.0-20220518034528-6f7dac969898 h1:SLP7Q4Di66FONjDJbCYrCRrh97focO6sLogHO7/g8F0= +golang.org/x/crypto v0.0.0-20220518034528-6f7dac969898/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4= golang.org/x/exp v0.0.0-20190121172915-509febef88a4/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= golang.org/x/exp v0.0.0-20190306152737-a1d7652674e8/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= golang.org/x/exp v0.0.0-20190510132918-efd6b22b2522/go.mod h1:ZjyILWgesfNpC6sMxTJOJm9Kp84zZh5NQWvqDGG3Qr8= @@ -2329,8 +2329,9 @@ golang.org/x/sys v0.0.0-20220128215802-99c3d69c2c27/go.mod h1:oPkhp1MJrh7nUepCBc golang.org/x/sys v0.0.0-20220209214540-3681064d5158/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20220227234510-4e6760a101f9/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20220328115105-d36c6a25d886/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20220412211240-33da011f77ad h1:ntjMns5wyP/fN65tdBD4g8J5w8n015+iIIs9rtjXkY0= golang.org/x/sys v0.0.0-20220412211240-33da011f77ad/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20220517195934-5e4e11fc645e h1:w36l2Uw3dRan1K3TyXriXvY+6T56GNmlKGcqiQUJDfM= +golang.org/x/sys v0.0.0-20220517195934-5e4e11fc645e/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/term v0.0.0-20201117132131-f5c789dd3221/go.mod h1:Nr5EML6q2oocZ2LXRh80K7BxOlk5/8JxuGnuhpl+muw= golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo= golang.org/x/term v0.0.0-20210220032956-6a3ed077a48d/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo=