From bad6b717fb1247c426613b6ded83a5e473430359 Mon Sep 17 00:00:00 2001 From: Aidan Steele Date: Fri, 28 Jun 2019 19:24:29 +1000 Subject: [PATCH] tests --- go.mod | 6 +- go.sum | 16 ++- pkg/ec2connect/authorize_test.go | 164 ++++++++++++++++++++++++------- pkg/ec2connect/testdata/id_rsa | 27 +++++ 4 files changed, 177 insertions(+), 36 deletions(-) create mode 100644 pkg/ec2connect/testdata/id_rsa diff --git a/go.mod b/go.mod index 7c3def5..bb5da3e 100644 --- a/go.mod +++ b/go.mod @@ -8,6 +8,8 @@ require ( github.com/pkg/errors v0.8.1 github.com/spf13/cobra v0.0.5 github.com/spf13/viper v1.3.2 - github.com/stretchr/testify v1.2.2 - golang.org/x/crypto v0.0.0-20181203042331-505ab145d0a9 + github.com/stretchr/objx v0.2.0 // indirect + github.com/stretchr/testify v1.3.0 + golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2 + golang.org/x/net v0.0.0-20190620200207-3b0461eec859 // indirect ) diff --git a/go.sum b/go.sum index f913005..ba23551 100644 --- a/go.sum +++ b/go.sum @@ -1,3 +1,4 @@ +github.com/BurntSushi/toml v0.3.1 h1:WXkYYl6Yr3qBf1K79EBnL4mak0OimBfB0XUf9Vl28OQ= github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU= github.com/armon/consul-api v0.0.0-20180202201655-eb2c6b5be1b6/go.mod h1:grANhF5doyWs3UAsr3K4I6qtAmlQcZDesFNEHPZAzj8= github.com/aws/aws-sdk-go v1.20.11 h1:xDc2f/8KmwPW7WkuB0kDUCEP4jpx1PIMMMZkav6cbU4= @@ -6,12 +7,14 @@ github.com/coreos/etcd v3.3.10+incompatible/go.mod h1:uF7uidLiAD3TWHmW31ZFd/JWoc github.com/coreos/go-etcd v2.0.0+incompatible/go.mod h1:Jez6KQU2B/sWsbdaef3ED8NzMklzPG4d5KIOhIy30Tk= github.com/coreos/go-semver v0.2.0/go.mod h1:nnelYz7RCh+5ahJtPPxZlU+153eP4D4r3EedlOD2RNk= github.com/cpuguy83/go-md2man v1.0.10/go.mod h1:SmD6nW6nTyfqj6ABTjUi3V3JVMnlJmwcJI5acqYI6dE= +github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/fsnotify/fsnotify v1.4.7 h1:IXs+QLmnXW2CcXuY+8Mzv/fWEsPGWxqefPtCP5CnV9I= github.com/fsnotify/fsnotify v1.4.7/go.mod h1:jwhsz4b93w/PPRr/qN1Yymfu8t87LnFCMoQvtojpjFo= github.com/hashicorp/hcl v1.0.0 h1:0Anlzjpi4vEasTeNFn2mLJgTSwt0+6sfsiTG8qcWGx4= github.com/hashicorp/hcl v1.0.0/go.mod h1:E5yfLk+7swimpb2L/Alb/PJmXilQ/rhwaUYs4T20WEQ= +github.com/inconshreveable/mousetrap v1.0.0 h1:Z8tu5sraLXCXIcARxBp/8cbvlwVa7Z1NHg9XEKhtSvM= github.com/inconshreveable/mousetrap v1.0.0/go.mod h1:PxqpIevigyE2G7u3NXJIT2ANytuPF1OarO4DADm73n8= github.com/jmespath/go-jmespath v0.0.0-20180206201540-c2b33e8439af h1:pmfjZENx5imkbgOkpRUYLnmbU7UEFbjtDA2hxJ1ichM= github.com/jmespath/go-jmespath v0.0.0-20180206201540-c2b33e8439af/go.mod h1:Nht3zPeWKUH0NzdCt2Blrr5ys8VGpn0CEB0cQHVjt7k= @@ -40,16 +43,27 @@ github.com/spf13/pflag v1.0.3 h1:zPAT6CGy6wXeQ7NtTnaTerfKOsV6V6F8agHXFiazDkg= github.com/spf13/pflag v1.0.3/go.mod h1:DYY7MBk1bdzusC3SYhjObp+wFpr4gzcvqqNjLnInEg4= github.com/spf13/viper v1.3.2 h1:VUFqw5KcqRf7i70GOzW7N+Q7+gxVBkSSqiXB12+JQ4M= github.com/spf13/viper v1.3.2/go.mod h1:ZiWeW+zYFKm7srdB9IoDzzZXaJaI5eL9QjNiN/DMA2s= -github.com/stretchr/testify v1.2.2 h1:bSDNvY7ZPG5RlJ8otE/7V6gMiyenm9RtJ7IUVIAoJ1w= +github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= +github.com/stretchr/objx v0.2.0 h1:Hbg2NidpLE8veEBkEZTL3CvlkUIVzuU9jDplZO54c48= +github.com/stretchr/objx v0.2.0/go.mod h1:qt09Ya8vawLte6SNmTgCsAVtYtaKzEcn8ATUoHMkEqE= github.com/stretchr/testify v1.2.2/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs= +github.com/stretchr/testify v1.3.0 h1:TivCn/peBQ7UY8ooIcPgZFpTNSz0Q2U6UrFlUfqbe0Q= +github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI= github.com/ugorji/go/codec v0.0.0-20181204163529-d75b2dcb6bc8/go.mod h1:VFNgLljTbGfSG7qAOspJ7OScBnGdDN/yBr0sguwnwf0= github.com/xordataexchange/crypt v0.0.3-0.20170626215501-b2862e3d0a77/go.mod h1:aYKd//L2LvnjZzWKhF00oedf4jCCReLcmhLdhm1A27Q= golang.org/x/crypto v0.0.0-20181203042331-505ab145d0a9 h1:mKdxBk7AujPs8kU4m80U72y/zjbZ3UcXC7dClwKbUI0= golang.org/x/crypto v0.0.0-20181203042331-505ab145d0a9/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4= +golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2 h1:VklqNMn3ovrHsnt90PveolxSbWFaJdECFbxSq0Mqo2M= +golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= +golang.org/x/net v0.0.0-20190620200207-3b0461eec859 h1:R/3boaszxrf1GEUWTVDzSKVwLmSJpwZ1yqXm8j0v2QI= +golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= golang.org/x/sys v0.0.0-20181205085412-a5c9d58dba9a h1:1n5lsVfiQW3yfsRGu98756EH1YthsFqr/5mxHduZW2A= golang.org/x/sys v0.0.0-20181205085412-a5c9d58dba9a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= +golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a h1:1BGLXjeY4akVXGgbC9HugT3Jv3hCI0z56oJR5vAMgBU= +golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/text v0.3.0 h1:g61tztE5qeGQ89tm6NTjjM9VPIm088od1l6aSorWRWg= golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= +gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.2 h1:ZCJp+EgiOT7lHqUV2J862kp8Qj64Jo6az82+3Td9dZw= gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/pkg/ec2connect/authorize_test.go b/pkg/ec2connect/authorize_test.go index db14b20..c626f68 100644 --- a/pkg/ec2connect/authorize_test.go +++ b/pkg/ec2connect/authorize_test.go @@ -1,43 +1,141 @@ package ec2connect import ( + "context" + "errors" + "github.com/aws/aws-sdk-go/aws" + "github.com/aws/aws-sdk-go/aws/request" + "github.com/aws/aws-sdk-go/service/ec2" + "github.com/aws/aws-sdk-go/service/ec2/ec2iface" + "github.com/aws/aws-sdk-go/service/ec2instanceconnect" + "github.com/aws/aws-sdk-go/service/ec2instanceconnect/ec2instanceconnectiface" "github.com/stretchr/testify/assert" + "github.com/stretchr/testify/mock" + "io/ioutil" "strings" "testing" ) func TestNormalizeKey(t *testing.T) { - key := `-----BEGIN OPENSSH PRIVATE KEY----- -b3BlbnNzaC1rZXktdjEAAAAABG5vbmUAAAAEbm9uZQAAAAAAAAABAAABFwAAAAdzc2gtcn -NhAAAAAwEAAQAAAQEA6h0I+mglxqIfgn8h4cJigVBZdmLDHu8848c6Tpf+byGTeLvs6iKX -GqIpdFFKlSIO0qIP42p1x8jkCnjuftMzmKyE4f3Kl1DBH0J4SKgtCUhOVh68rsV2QDHPD7 -XG8elRQwNgz4rNpPVGVwEA1Kcdxf8mgzXc1rn1HooS2iMVjVCGzqnVl5yd3khnmX8YtZFJ -D9tTI58db2yeskNBv6M8S08BMf04h8xg21uEnAahSFVrCdH3l07qV/5MCHbIBgeF6KEgPH -tti8Afz2yBHN2oOyvJRcv48unCXOprsDoYYhj88mDO3IXlI8Ec6YsYyFSHlZF8jN8K+U2h -y4XipfQiXQAAA9jmSXbk5kl25AAAAAdzc2gtcnNhAAABAQDqHQj6aCXGoh+CfyHhwmKBUF -l2YsMe7zzjxzpOl/5vIZN4u+zqIpcaoil0UUqVIg7Sog/janXHyOQKeO5+0zOYrITh/cqX -UMEfQnhIqC0JSE5WHryuxXZAMc8Ptcbx6VFDA2DPis2k9UZXAQDUpx3F/yaDNdzWufUeih -LaIxWNUIbOqdWXnJ3eSGeZfxi1kUkP21Mjnx1vbJ6yQ0G/ozxLTwEx/TiH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2AQIDBAU= ------END OPENSSH PRIVATE KEY----- -` - normal, err := NormalizeKey(key) - assert.NoError(t, err) - - expected := `ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDqHQj6aCXGoh+CfyHhwmKBUFl2YsMe7zzjxzpOl/5vIZN4u+zqIpcaoil0UUqVIg7Sog/janXHyOQKeO5+0zOYrITh/cqXUMEfQnhIqC0JSE5WHryuxXZAMc8Ptcbx6VFDA2DPis2k9UZXAQDUpx3F/yaDNdzWufUeihLaIxWNUIbOqdWXnJ3eSGeZfxi1kUkP21Mjnx1vbJ6yQ0G/ozxLTwEx/TiHzGDbW4ScBqFIVWsJ0feXTupX/kwIdsgGB4XooSA8e22LwB/PbIEc3ag7K8lFy/jy6cJc6muwOhhiGPzyYM7cheUjwRzpixjIVIeVkXyM3wr5TaHLheKl9CJd` - assert.Equal(t, expected, strings.TrimSpace(normal)) + t.Run("valid", func(t *testing.T) { + key, err := ioutil.ReadFile("testdata/id_rsa") + assert.NoError(t, err) + + normal, err := NormalizeKey(string(key)) + assert.NoError(t, err) + + expected := `ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDqHQj6aCXGoh+CfyHhwmKBUFl2YsMe7zzjxzpOl/5vIZN4u+zqIpcaoil0UUqVIg7Sog/janXHyOQKeO5+0zOYrITh/cqXUMEfQnhIqC0JSE5WHryuxXZAMc8Ptcbx6VFDA2DPis2k9UZXAQDUpx3F/yaDNdzWufUeihLaIxWNUIbOqdWXnJ3eSGeZfxi1kUkP21Mjnx1vbJ6yQ0G/ozxLTwEx/TiHzGDbW4ScBqFIVWsJ0feXTupX/kwIdsgGB4XooSA8e22LwB/PbIEc3ag7K8lFy/jy6cJc6muwOhhiGPzyYM7cheUjwRzpixjIVIeVkXyM3wr5TaHLheKl9CJd` + assert.Equal(t, expected, strings.TrimSpace(normal)) + }) + + t.Run("invalid", func(t *testing.T) { + _, err := NormalizeKey("abc") + assert.Error(t, err) + }) +} + +func TestAuthorizer_Authorize(t *testing.T) { + t.Run("err describing", func(t *testing.T) { + connApi := &mockConnect{} + ec2Api := &mockEc2{} + ec2Api. + On("DescribeInstancesWithContext", mock.Anything, mock.AnythingOfType("*ec2.DescribeInstancesInput"), mock.AnythingOfType("[]request.Option")). + Return(nil, errors.New("err")) + + auth := &Authorizer{Ec2Api: ec2Api, ConnectApi: connApi} + _, err := auth.Authorize(context.Background(), "i-012abc", "", "") + assert.Error(t, err) + }) + + t.Run("no instances", func(t *testing.T) { + connApi := &mockConnect{} + ec2Api := &mockEc2{} + ec2Api. + On("DescribeInstancesWithContext", mock.Anything, mock.AnythingOfType("*ec2.DescribeInstancesInput"), mock.AnythingOfType("[]request.Option")). + Return(&ec2.DescribeInstancesOutput{}, nil) + + auth := &Authorizer{Ec2Api: ec2Api, ConnectApi: connApi} + _, err := auth.Authorize(context.Background(), "i-012abc", "", "") + assert.Error(t, err) + }) + + t.Run("err sending ssh key", func(t *testing.T) { + ec2Api := &mockEc2{} + ec2Api. + On("DescribeInstancesWithContext", mock.Anything, mock.AnythingOfType("*ec2.DescribeInstancesInput"), mock.AnythingOfType("[]request.Option")). + Return(&ec2.DescribeInstancesOutput{ + Reservations: []*ec2.Reservation{ + { + Instances: []*ec2.Instance{ + { + Placement: &ec2.Placement{ + AvailabilityZone: aws.String("ap-southeast-2b"), + }, + }, + }, + }, + }, + }, nil) + + connApi := &mockConnect{} + connApi. + On("SendSSHPublicKeyWithContext", mock.Anything, mock.AnythingOfType("*ec2instanceconnect.SendSSHPublicKeyInput"), mock.AnythingOfType("[]request.Option")). + Return(nil, errors.New("err")) + + auth := &Authorizer{Ec2Api: ec2Api, ConnectApi: connApi} + _, err := auth.Authorize(context.Background(), "i-012abc", "", "") + assert.Error(t, err) + }) + + t.Run("unsuccessful send ssh key", func(t *testing.T) { + ec2Api := &mockEc2{} + ec2Api. + On("DescribeInstancesWithContext", mock.Anything, mock.AnythingOfType("*ec2.DescribeInstancesInput"), mock.AnythingOfType("[]request.Option")). + Return(&ec2.DescribeInstancesOutput{ + Reservations: []*ec2.Reservation{ + { + Instances: []*ec2.Instance{ + { + Placement: &ec2.Placement{ + AvailabilityZone: aws.String("ap-southeast-2b"), + }, + }, + }, + }, + }, + }, nil) + + connApi := &mockConnect{} + connApi. + On("SendSSHPublicKeyWithContext", mock.Anything, mock.AnythingOfType("*ec2instanceconnect.SendSSHPublicKeyInput"), mock.AnythingOfType("[]request.Option")). + Return(&ec2instanceconnect.SendSSHPublicKeyOutput{ + Success: aws.Bool(false), + }, nil) + + auth := &Authorizer{Ec2Api: ec2Api, ConnectApi: connApi} + _, err := auth.Authorize(context.Background(), "i-012abc", "", "") + assert.Error(t, err) + }) +} + +type mockEc2 struct { + mock.Mock + ec2iface.EC2API +} + +func (m *mockEc2) DescribeInstancesWithContext(ctx aws.Context, input *ec2.DescribeInstancesInput, opts ...request.Option) (*ec2.DescribeInstancesOutput, error) { + f := m.Called(ctx, input, opts) + output, _ := f.Get(0).(*ec2.DescribeInstancesOutput) + return output, f.Error(1) +} + +type mockConnect struct { + mock.Mock + ec2instanceconnectiface.EC2InstanceConnectAPI +} + +func (m *mockConnect) SendSSHPublicKeyWithContext(ctx aws.Context, input *ec2instanceconnect.SendSSHPublicKeyInput, opts ...request.Option) (*ec2instanceconnect.SendSSHPublicKeyOutput, error) { + f := m.Called(ctx, input, opts) + output, _ := f.Get(0).(*ec2instanceconnect.SendSSHPublicKeyOutput) + return output, f.Error(1) } diff --git a/pkg/ec2connect/testdata/id_rsa b/pkg/ec2connect/testdata/id_rsa new file mode 100644 index 0000000..e8decbb --- /dev/null +++ b/pkg/ec2connect/testdata/id_rsa @@ -0,0 +1,27 @@ +-----BEGIN OPENSSH PRIVATE KEY----- +b3BlbnNzaC1rZXktdjEAAAAABG5vbmUAAAAEbm9uZQAAAAAAAAABAAABFwAAAAdzc2gtcn +NhAAAAAwEAAQAAAQEA6h0I+mglxqIfgn8h4cJigVBZdmLDHu8848c6Tpf+byGTeLvs6iKX +GqIpdFFKlSIO0qIP42p1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