Commit Graph
472 Commits
Author SHA1 Message Date
Mat ByczkowskiandGitHub ff8636de0a Merge pull request #236 from square/mbyczkowski-patch-1
Bump Go version
list v1.12.2-rc.1
2021-07-28 10:27:15 -07:00
Mat Byczkowski c296587ca6 Bump Go version 2021-07-27 18:27:11 -07:00
Mat ByczkowskiandGitHub f28bcb2ecb Merge pull request #232 from square/dependabot/go_modules/github.com/fatih/color-1.12.0
Bump github.com/fatih/color from 1.10.0 to 1.12.0
2021-07-27 18:23:38 -07:00
dependabot[bot]andGitHub 93d5548183 Bump github.com/fatih/color from 1.10.0 to 1.12.0
Bumps [github.com/fatih/color](https://github.com/fatih/color) from 1.10.0 to 1.12.0.
- [Release notes](https://github.com/fatih/color/releases)
- [Commits](https://github.com/fatih/color/compare/v1.10.0...v1.12.0)

Signed-off-by: dependabot[bot] <support@github.com>
2021-07-28 01:19:26 +00:00
Mat ByczkowskiandGitHub 214780665e Merge pull request #235 from elyscape/fix-postgres-panic
Avoid nil deref when using Postgres StartTLS
2021-07-27 18:18:22 -07:00
Eli Young 1f83e9e088 Add missing module checksum 2021-07-15 13:10:08 -07:00
Eli Young 908eebe3d9 Avoid nil deref when using Postgres StartTLS
Fixes #234
2021-07-15 13:04:33 -07:00
Mat ByczkowskiandGitHub aea8d76741 Merge pull request #230 from square/dependabot/add-v2-config-file
Upgrade to GitHub-native Dependabot
2021-05-10 14:08:51 -07:00
dependabot-preview[bot]andGitHub c568ffefff Upgrade to GitHub-native Dependabot 2021-04-29 15:17:50 +00:00
Mat ByczkowskiandGitHub 6b5d52f4d9 Merge pull request #228 from square/dependabot/go_modules/github.com/stretchr/testify-1.7.0
Bump github.com/stretchr/testify from 1.6.1 to 1.7.0
2021-04-26 09:55:08 -07:00
dependabot-preview[bot]andGitHub f494a7a5f2 Bump github.com/stretchr/testify from 1.6.1 to 1.7.0
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify) from 1.6.1 to 1.7.0.
- [Release notes](https://github.com/stretchr/testify/releases)
- [Commits](https://github.com/stretchr/testify/compare/v1.6.1...v1.7.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-01-14 05:37:36 +00:00
Mat ByczkowskiandGitHub 27b80f54cd Merge pull request #227 from square/dependabot/go_modules/github.com/fatih/color-1.10.0
Bump github.com/fatih/color from 1.9.0 to 1.10.0
2020-11-05 21:42:31 -08:00
dependabot-preview[bot]andGitHub e8c9abe152 Bump github.com/fatih/color from 1.9.0 to 1.10.0
Bumps [github.com/fatih/color](https://github.com/fatih/color) from 1.9.0 to 1.10.0.
- [Release notes](https://github.com/fatih/color/releases)
- [Commits](https://github.com/fatih/color/compare/v1.9.0...v1.10.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-11-02 05:36:15 +00:00
Mat ByczkowskiandGitHub 3d438b5148 Merge pull request #225 from square/dependabot/go_modules/github.com/mattn/go-colorable-0.1.8
Bump github.com/mattn/go-colorable from 0.1.6 to 0.1.8
2020-10-13 10:04:33 -07:00
dependabot-preview[bot]andGitHub 899367da94 Bump github.com/mattn/go-colorable from 0.1.6 to 0.1.8
Bumps [github.com/mattn/go-colorable](https://github.com/mattn/go-colorable) from 0.1.6 to 0.1.8.
- [Release notes](https://github.com/mattn/go-colorable/releases)
- [Commits](https://github.com/mattn/go-colorable/compare/v0.1.6...v0.1.8)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-05 05:37:58 +00:00
Mat ByczkowskiandGitHub c5aa756fd2 Merge pull request #221 from square/dependabot/go_modules/github.com/stretchr/testify-1.6.1
Bump github.com/stretchr/testify from 1.6.0 to 1.6.1
2020-06-20 14:13:27 -07:00
dependabot-preview[bot]andGitHub a721f860c8 Bump github.com/stretchr/testify from 1.6.0 to 1.6.1
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify) from 1.6.0 to 1.6.1.
- [Release notes](https://github.com/stretchr/testify/releases)
- [Commits](https://github.com/stretchr/testify/compare/v1.6.0...v1.6.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-08 06:30:45 +00:00
Mat ByczkowskiandGitHub 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]andGitHub 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 ByczkowskiandGitHub 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 MenghrajaniandGitHub eb9322fbfb Merge pull request #218 from 0xflotus/patch-1
(docs): fixed small error
2020-05-17 18:48:59 -07:00
0xflotusandGitHub 549f97d50f (docs): fixed small error 2020-05-18 00:20:57 +02:00
Mat ByczkowskiandGitHub 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]andGitHub 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 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