605 Commits
Author SHA1 Message Date
Mat Byczkowski 0151c20136 Merge pull request #220 from square/dependabot/go_modules/github.com/stretchr/testify-1.6.0
Bump github.com/stretchr/testify from 1.5.1 to 1.6.0
2020-06-02 17:40:52 -07:00
dependabot-preview[bot] 8efbfba052 Bump github.com/stretchr/testify from 1.5.1 to 1.6.0
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify) from 1.5.1 to 1.6.0.
- [Release notes](https://github.com/stretchr/testify/releases)
- [Commits](https://github.com/stretchr/testify/compare/v1.5.1...v1.6.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-03 00:17:25 +00:00
Mat Byczkowski d1c3ec6fd2 Merge pull request #219 from nicktrav/nickt.version
fix: bump version in cli.go
2020-06-02 17:15:28 -07:00
Nick Travers cea08b4292 fix: bump version in cli.go
The latest released version is 1.12.1 @ f8835d9, however the version
string still reflects version 1.12.0, when run with:

```
$ certigo --version
```

Bump version string to lastest released version.

Signed-off-by: Nick Travers <n.e.travers@gmail.com>
2020-05-25 16:58:48 -07:00
Alok Menghrajani eb9322fbfb Merge pull request #218 from 0xflotus/patch-1
(docs): fixed small error
2020-05-17 18:48:59 -07:00
0xflotus 549f97d50f (docs): fixed small error 2020-05-18 00:20:57 +02:00
Mat Byczkowski 1c9f5ab5e3 Merge pull request #214 from square/dependabot/go_modules/github.com/mattn/go-colorable-0.1.6
Bump github.com/mattn/go-colorable from 0.1.4 to 0.1.6
2020-03-01 22:13:55 -08:00
dependabot-preview[bot] e33b7a8cc0 Bump github.com/mattn/go-colorable from 0.1.4 to 0.1.6
Bumps [github.com/mattn/go-colorable](https://github.com/mattn/go-colorable) from 0.1.4 to 0.1.6.
- [Release notes](https://github.com/mattn/go-colorable/releases)
- [Commits](https://github.com/mattn/go-colorable/compare/v0.1.4...v0.1.6)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-29 00:23:09 +00:00
Mat Byczkowski f8835d9603 Merge pull request #215 from square/mbyczkowski/release-key
Update OAuth token for GitHub Releases
show v1.12.1 v1.12.1-rc.1 v1.12.1-rc.2
2020-02-28 15:17:06 -08:00
Matthew McPherrin de90e8de82 Merge pull request #216 from captiosus/roy/connect
no need to print input format when connecting to server
2020-02-28 13:16:02 -08:00
Roy Xu 07965a4a02 add test for connect 2020-02-28 16:02:40 -05:00
Roy Xu f33a3ef94d no need to print input format when connecting to server 2020-02-28 15:27:48 -05:00
Mat Byczkowski 0e41966360 Update OAuth token for GitHub Releases 2020-02-28 10:21:34 -08:00
Mat Byczkowski 949178094c Version bump and go mod tidy (#212) v1.12.0 2020-02-26 17:22:37 -08:00
Jason Riddle 5cba65cd46 Add additional TLS 1.3 cipher suites (#208)
The new TLS 1.3 cipher suites do not specify the key exchange algorithm
and as a result "_WITH_" is no longer present.
2020-02-26 10:29:40 -08:00
Roy Xu f81df5c5a3 print input format guessed by certigo (#210) 2020-02-25 11:17:01 -08:00
Roy XuandMat Byczkowski 23ed60d1d5 better error handling for csrs (#211)
Error when no valid certs are found when verifying instead of accessing oob.
Warn when CSRs are found instead of silently ignoring them.

Co-authored-by: Mat Byczkowski <mbyczkowski@gmail.com>
2020-02-25 10:58:06 -08:00
Mat Byczkowski 8b60589907 Merge pull request #207 from square/dependabot/go_modules/github.com/stretchr/testify-1.5.1
Bump github.com/stretchr/testify from 1.5.0 to 1.5.1
2020-02-25 10:38:55 -08:00
dependabot-preview[bot] c2a9950535 Bump github.com/stretchr/testify from 1.5.0 to 1.5.1
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify) from 1.5.0 to 1.5.1.
- [Release notes](https://github.com/stretchr/testify/releases)
- [Commits](https://github.com/stretchr/testify/compare/v1.5.0...v1.5.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-20 06:11:39 +00:00
Mat Byczkowski facc1ea127 Merge pull request #206 from square/dependabot/go_modules/github.com/stretchr/testify-1.5.0
Bump github.com/stretchr/testify from 1.4.0 to 1.5.0
2020-02-18 22:43:22 -08:00
dependabot-preview[bot] 897c3b72bb Bump github.com/stretchr/testify from 1.4.0 to 1.5.0
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify) from 1.4.0 to 1.5.0.
- [Release notes](https://github.com/stretchr/testify/releases)
- [Commits](https://github.com/stretchr/testify/compare/v1.4.0...v1.5.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-19 06:09:27 +00:00
Mat Byczkowski 4bed1e515b Merge pull request #205 from square/dependabot/go_modules/github.com/mattn/go-isatty-0.0.12
Bump github.com/mattn/go-isatty from 0.0.11 to 0.0.12
2020-02-14 01:00:18 -05:00
dependabot-preview[bot] 1cf88df80c Bump github.com/mattn/go-isatty from 0.0.11 to 0.0.12
Bumps [github.com/mattn/go-isatty](https://github.com/mattn/go-isatty) from 0.0.11 to 0.0.12.
- [Release notes](https://github.com/mattn/go-isatty/releases)
- [Commits](https://github.com/mattn/go-isatty/compare/v0.0.11...v0.0.12)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-14 05:54:01 +00:00
Mat Byczkowski a6366fe3d0 Merge pull request #204 from square/dependabot/go_modules/github.com/stretchr/testify-1.4.0
Bump github.com/stretchr/testify from 1.2.2 to 1.4.0
2020-02-14 00:51:57 -05:00
dependabot-preview[bot] bf5a303008 Bump github.com/stretchr/testify from 1.2.2 to 1.4.0
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify) from 1.2.2 to 1.4.0.
- [Release notes](https://github.com/stretchr/testify/releases)
- [Commits](https://github.com/stretchr/testify/compare/v1.2.2...v1.4.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-07 06:08:22 +00:00
Matthew McPherrin 513c01d38b Merge pull request #201 from square/refactor
refactor certigo package main
2020-02-06 15:10:05 -08:00
Matthew McPherrin 26cd65d9bd refactor certigo package main
This splits the logic into a cli, which handles parsing command line args and
reading files, and a terminal abstraction for handling user input and ouput.

All uses of os.Exit are removed in favor of returning errors.

Overall this enables better testing and reuse of code.  Previously we had to
rely on external unit testing for CLI tests, which are harder to write tests.
2020-01-13 15:58:53 -08:00
Matthew McPherrin 80714936c4 Merge pull request #200 from square/mmc-novendor
Unvendor dependencies and bump to go 1.13 for build
2020-01-10 16:04:02 -08:00
Matthew McPherrin f203c34169 Bump to Go 1.13 2020-01-10 15:26:51 -08:00
Matthew McPherrin f0b661cdcd Unvendor dependencies
In a bold new go.mod world, we don't need to vendor.
2020-01-10 15:22:42 -08:00
Matthew McPherrin 131bf1d413 Merge pull request #199 from square/proxy-auth
HTTP Basic auth for `connect`
2020-01-09 23:00:38 -08:00
Matthew McPherrin e336bddafc Add support for proxy authentication
This only supports the simplest case: a username and password in the proxy URL,
and http basic auth.
2020-01-09 22:56:50 -08:00
Matthew McPherrin 199f2fe2a4 Merge pull request #198 from square/mmc-tidy
Go mod tidy
2020-01-09 21:24:26 -08:00
Matthew McPherrin 8f53005f8c Go mod tidy 2020-01-09 16:09:28 -08:00
Mat Byczkowski f0bf927660 Merge pull request #197 from square/dependabot/go_modules/github.com/fatih/color-1.9.0
Bump github.com/fatih/color from 1.8.0 to 1.9.0
2020-01-08 11:00:00 -08:00
dependabot-preview[bot] a1889dc291 Bump github.com/fatih/color from 1.8.0 to 1.9.0
Bumps [github.com/fatih/color](https://github.com/fatih/color) from 1.8.0 to 1.9.0.
- [Release notes](https://github.com/fatih/color/releases)
- [Commits](https://github.com/fatih/color/compare/v1.8.0...v1.9.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-08 06:16:37 +00:00
Mat Byczkowski cc5ab55207 Merge pull request #196 from square/dependabot/go_modules/github.com/mattn/go-colorable-0.1.4
Bump github.com/mattn/go-colorable from 0.0.9 to 0.1.4
2020-01-06 13:42:13 -08:00
dependabot-preview[bot] bd067a34fe Bump github.com/mattn/go-colorable from 0.0.9 to 0.1.4
Bumps [github.com/mattn/go-colorable](https://github.com/mattn/go-colorable) from 0.0.9 to 0.1.4.
- [Release notes](https://github.com/mattn/go-colorable/releases)
- [Commits](https://github.com/mattn/go-colorable/compare/v0.0.9...v0.1.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-06 06:18:57 +00:00
Mat Byczkowski 08a945154f Merge pull request #195 from square/dependabot/go_modules/github.com/fatih/color-1.8.0
Bump github.com/fatih/color from 1.7.0 to 1.8.0
2020-01-03 09:38:53 -08:00
dependabot-preview[bot] 7aed21f49c Bump github.com/fatih/color from 1.7.0 to 1.8.0
Bumps [github.com/fatih/color](https://github.com/fatih/color) from 1.7.0 to 1.8.0.
- [Release notes](https://github.com/fatih/color/releases)
- [Commits](https://github.com/fatih/color/compare/v1.7.0...v1.8.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-03 06:12:23 +00:00
Mat Byczkowski a3bd7bbdbc Merge pull request #194 from square/dependabot/go_modules/github.com/Masterminds/sprig-2.22.0+incompatible
Bump github.com/Masterminds/sprig from 2.20.0+incompatible to 2.22.0+incompatible
2019-10-04 10:01:10 -07:00
dependabot-preview[bot] 65e836c915 Bump github.com/Masterminds/sprig
Bumps [github.com/Masterminds/sprig](https://github.com/Masterminds/sprig) from 2.20.0+incompatible to 2.22.0+incompatible.
- [Release notes](https://github.com/Masterminds/sprig/releases)
- [Changelog](https://github.com/Masterminds/sprig/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Masterminds/sprig/compare/v2.20.0...v2.22.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-10-04 06:40:37 +00:00
Mat Byczkowski 4a522082fc Merge pull request #190 from square/dependabot/go_modules/github.com/Masterminds/sprig-2.20.0+incompatible
Bump github.com/Masterminds/sprig from 2.16.0+incompatible to 2.20.0+incompatible
2019-08-07 10:23:53 -07:00
dependabot-preview[bot] 995732cd32 Bump github.com/Masterminds/sprig
Bumps [github.com/Masterminds/sprig](https://github.com/Masterminds/sprig) from 2.16.0+incompatible to 2.20.0+incompatible.
- [Release notes](https://github.com/Masterminds/sprig/releases)
- [Changelog](https://github.com/Masterminds/sprig/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Masterminds/sprig/compare/v2.16.0...v2.20.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-07 06:41:17 +00:00
Mat Byczkowski b4de6e8396 Merge pull request #189 from square/mbyczkowski/verify-on-connect
Verify certificate chain in connect
2019-07-03 15:43:08 -07:00
Mat Byczkowski 08b7ec82ef Verify certificate chain in connect
Unverified chains will cause a non-zero exit code.

Fixes #188
2019-07-03 14:52:55 -07:00
Mat Byczkowski afa84ae8f6 Merge pull request #187 from square/mbyczkowski/fix-readme
Update README
2019-06-15 21:18:16 -07:00
Mat Byczkowski 2c82bd65d8 Update README
As of #185, certigo requires Go 1.12 to build.
2019-06-15 17:49:05 -07:00
Cedric Staub a19fa66b22 Merge pull request #185 from square/cs/fix-tls13-panic
Fix panic in explainCipher for TLS 1.3 ciphers
2019-06-07 15:42:02 -07:00
Cedric Staub 869c712e68 Bump Go version in Travis-CI build 2019-06-07 12:54:00 -07:00