Skip to content

Commit 2ee97f9

Browse files
Merge branch 'upstream' into upstream-merge
2 parents 386d2da + 37d8632 commit 2ee97f9

File tree

5 files changed

+12
-8
lines changed

5 files changed

+12
-8
lines changed

.circleci/config.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,7 @@ workflows:
139139
# never publish from a branch event
140140
branches:
141141
ignore: /.*/
142+
# disabled (temporarily?) due to https://github.com/segmentio/aws-okta/issues/301
142143
# release only on tag push events like vX[.Y.Z...][-whatever]
143-
tags:
144-
only: /v[0-9]+(\.[0-9]+)*(-[a-zA-Z0-9-]+)?/
144+
# tags:
145+
# only: /v[0-9]+(\.[0-9]+)*(-[a-zA-Z0-9-]+)?/

Makefile.release

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,8 @@ PACKAGECLOUD_DEB_DISTROS := \
2323
ubuntu/xenial \
2424
ubuntu/bionic \
2525
ubuntu/disco \
26-
ubuntu/eoan
26+
ubuntu/eoan \
27+
ubuntu/focal
2728

2829
PACKAGECLOUD_RPM_DISTROS := \
2930
fedora/27 \

cmd/cred-process.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,8 +109,7 @@ func credProcessRun(cmd *cobra.Command, args []string) error {
109109
AccessKeyID: creds.AccessKeyID,
110110
SecretAccessKey: creds.SecretAccessKey,
111111
SessionToken: creds.SessionToken,
112-
// reuse the provided session duration
113-
Expiration: time.Now().Add(p.SessionDuration).Format(time.RFC3339),
112+
Expiration: p.GetExpiration().Format(time.RFC3339),
114113
}
115114

116115
var output []byte

go.mod

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@ replace github.com/keybase/go-keychain => github.com/99designs/go-keychain v0.0.
77
require (
88
github.com/99designs/keyring v1.0.0
99
github.com/alessio/shellescape v0.0.0-20190409004728-b115ca0f9053
10-
github.com/aws/aws-sdk-go v1.25.25
10+
github.com/aws/aws-sdk-go v1.25.35
11+
github.com/bmizerany/assert v0.0.0-20160611221934-b7ed37b82869 // indirect
1112
github.com/inconshreveable/mousetrap v1.0.0 // indirect
1213
github.com/karalabe/hid v1.0.0 // indirect
1314
github.com/marshallbrekka/go-u2fhost v0.0.0-20200114212649-cc764c209ee9

go.sum

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,10 @@ github.com/99designs/keyring v1.0.0 h1:O2nCc8QRO2yeO7ncdR7bd17cdofhM8AXug42ahzEs
44
github.com/99designs/keyring v1.0.0/go.mod h1:qVCfjMddwdzjgy848stNe9eTPmovvxF1lhJvOD6LUEo=
55
github.com/alessio/shellescape v0.0.0-20190409004728-b115ca0f9053 h1:H/GMMKYPkEIC3DF/JWQz8Pdd+Feifov2EIgGfNpeogI=
66
github.com/alessio/shellescape v0.0.0-20190409004728-b115ca0f9053/go.mod h1:xW8sBma2LE3QxFSzCnH9qe6gAE2yO9GvQaWwX89HxbE=
7-
github.com/aws/aws-sdk-go v1.25.25 h1:j3HLOqcDWjNox1DyvJRs+kVQF42Ghtv6oL6cVBfXS3U=
8-
github.com/aws/aws-sdk-go v1.25.25/go.mod h1:KmX6BPdI08NWTb3/sm4ZGu5ShLoqVDhKgpiN924inxo=
7+
github.com/aws/aws-sdk-go v1.25.35 h1:fe2tJnqty/v/50pyngKdNk/NP8PFphYDA1Z7N3EiiiE=
8+
github.com/aws/aws-sdk-go v1.25.35/go.mod h1:KmX6BPdI08NWTb3/sm4ZGu5ShLoqVDhKgpiN924inxo=
9+
github.com/bmizerany/assert v0.0.0-20160611221934-b7ed37b82869 h1:DDGfHa7BWjL4YnC6+E63dPcxHo2sUxDIu8g3QgEJdRY=
10+
github.com/bmizerany/assert v0.0.0-20160611221934-b7ed37b82869/go.mod h1:Ekp36dRnpXw/yCqJaO+ZrUyxD+3VXMFFr56k5XYrpB4=
911
github.com/danieljoos/wincred v1.0.2 h1:zf4bhty2iLuwgjgpraD2E9UbvO+fe54XXGJbOwe23fU=
1012
github.com/danieljoos/wincred v1.0.2/go.mod h1:SnuYRW9lp1oJrZX/dXJqr0cPK5gYXqx3EJbmjhLdK9U=
1113
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=

0 commit comments

Comments
 (0)