Commit Graph
447 Commits
Author SHA1 Message Date
Mat ByczkowskiandGitHub 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 McPherrinandGitHub 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 ByczkowskiandGitHub 949178094c Version bump and go mod tidy (#212) v1.12.0 2020-02-26 17:22:37 -08:00
Jason RiddleandGitHub 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 XuandGitHub f81df5c5a3 print input format guessed by certigo (#210) 2020-02-25 11:17:01 -08:00
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 ByczkowskiandGitHub 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]andGitHub 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 ByczkowskiandGitHub 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]andGitHub 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 ByczkowskiandGitHub 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]andGitHub 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 ByczkowskiandGitHub 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]andGitHub 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 McPherrinandGitHub 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 McPherrinandGitHub 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 McPherrinandGitHub 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 McPherrinandGitHub 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 ByczkowskiandGitHub 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]andGitHub 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 ByczkowskiandGitHub 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]andGitHub 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 ByczkowskiandGitHub 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]andGitHub 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 ByczkowskiandGitHub 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]andGitHub 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 ByczkowskiandGitHub 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]andGitHub 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 ByczkowskiandGitHub 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 ByczkowskiandGitHub 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 StaubandGitHub 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
Cedric Staub 79de7d2a35 Fix panic in explainCipher for TLS 1.3 ciphers 2019-06-07 12:47:52 -07:00
Cedric Staub 81ea33b668 Merge branch 'seththeriault-starttls-imap'
* seththeriault-starttls-imap:
  Mention STARTTLS IMAP support in README
  Rename dumpAuthTLSFromXXX methods
  Add support for IMAP STARTTLS
2019-05-21 11:21:30 -07:00
Cedric Staub 8a79f54775 Mention STARTTLS IMAP support in README 2019-05-21 11:21:15 -07:00
Cedric Staub 25850151d7 Rename dumpAuthTLSFromXXX methods 2019-05-21 11:20:24 -07:00
Seth Theriault 75258cfd3c Add support for IMAP STARTTLS 2019-05-21 11:57:46 -04:00
Matthew McPherrinandGitHub 9ce8f40ef6 Merge pull request #181 from cpilsworth/fix/readme-example-json
added --json flag to readme examples
2019-03-29 13:44:29 -07:00
Chris PilsworthandGitHub be87b667d4 [trivial] added --json flag to readme examples
Without the flag the human readable details would be output which fail once piped into `jq`.
2019-03-29 20:34:21 +00:00
Matthew McPherrinandGitHub e46f986c1b Merge pull request #180 from square/mmc/dc
Add DomainComponent from RFC 2247
2019-03-28 09:49:45 -07:00