Commit Graph
426 Commits
Author SHA1 Message Date
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
Matthew McPherrin b6e169d63a Add DomainComponent from RFC 2247
I found TP-LINK routers submit some kind of logging to
n-devs.tplinkcloud.com:50443 and the CA that signed the certificate
for that domain had DCs in its subject

With this change we now get:
Issuer:
	DC=cn, DC=com, DC=tp-link, CN=TP-LINK CA P1
2019-03-27 22:51:22 -07:00
Mat ByczkowskiandGitHub 57dd69de7c Merge pull request #179 from CodeLingoBot/rewrite
Fix function comments based on best practices from Effective Go
2019-03-02 15:27:04 -08:00
CodeLingo Bot f328dcd6cc Fix function comments based on best practices from Effective Go
Signed-off-by: CodeLingo Bot <bot@codelingo.io>
2019-02-18 11:35:49 +00:00
Cedric Staub e1c3a71bdd Update version to 1.11.0 v1.11.0 2018-11-21 14:18:13 -08:00
Mat ByczkowskiandGitHub ba9eecbad8 Merge pull request #174 from square/mbyczkowski/docs-update
Update README and CONTRIBUTING
2018-11-10 22:04:18 -08:00
Mat Byczkowski 7cff30abc6 Update README and CONTRIBUTING
- readme: removed reference to Glide and mentioned Go modules
- contributing: language tweaks & updated link to CLA
- CI: remove glide dependency, since we don't need it and Go 1.11
  ignores vendored dirs when using `./...` argument to go tools.
2018-11-10 20:27:03 -08:00
Cedric StaubandGitHub 7b933f5ff4 Merge pull request #170 from square/cs/go.mod
Switch to using Go modules
2018-10-23 15:11:42 -07:00
Cedric Staub 57a318f5be Switch to using Go modules 2018-10-23 14:52:08 -07:00
Cedric StaubandGitHub 5c1e377a1d Update README.md 2018-10-23 14:46:04 -07:00
Cedric StaubandGitHub 029bc47dfe Merge pull request #168 from square/cs/go-1.11
Use Go 1.11, use built-in functions for URI names
2018-10-23 14:45:43 -07:00
Cedric Staub d9c0b44abc Use Go 1.11, use built-in functions for URI names 2018-10-23 14:36:44 -07:00
Matthew McPherrinandGitHub 40bd50b00b Merge pull request #167 from square/mighty-typo
Fix a tiny typo in a comment.
2018-07-06 13:59:29 -07:00
Matthew McPherrin e61c2446dc Fix a tiny typo in a comment. 2018-07-06 10:56:49 -07:00
Cedric StaubandGitHub 692209eac1 Merge pull request #165 from square/cs/ocsp3
Improve reliability of OCSP checks
2018-04-10 15:14:31 -07:00
Cedric Staub 4dba9b2f4e Improve reliability of OCSP checks 2018-04-06 13:06:05 -07:00
Cedric StaubandGitHub 0336aa7b5f Merge pull request #164 from square/cs/ocsp2
Print revocation reason & staple status
2018-04-06 12:33:15 -07:00
Cedric Staub 594b04e874 Print revocation reason & staple status 2018-04-05 16:01:17 -07:00
Matthew McPherrinandGitHub 9edb483d9b Merge pull request #163 from square/mmc/libify
Support more formats for CA trust stores.
2018-04-05 10:56:37 -07:00
Matthew McPherrin f07f7d351c Support any format certigo does for CAs.
Todo: Right now it doesn't support any truststore password other than changeit.
That's what Java ships.  A follow-up commit will add better password handling
2018-04-04 21:21:46 -07:00
Matthew McPherrin c58011aee0 Move ocsp.go and verify.go into lib
This reduces a bunch of copy-paste code.
2018-04-04 21:21:46 -07:00
Cedric StaubandGitHub c079619f11 Merge pull request #162 from square/cs/ocsp
Add OCSP support for connect command
2018-04-03 23:11:01 -07:00