491 Commits
Author SHA1 Message Date
klyubinandGitHub 1081a17c66 Add missing flags in usage in README.md (#253)
This is a follow-up to ba10cd1db7
where I forgot to update the usage in README. This commit adds
not only the new flag introduced in ba10cd1db7
but also the missing flags from older changes.
v1.14.0
2022-01-11 10:32:01 -08:00
klyubinandGitHub ba10cd1db7 Add support for verifying server certs against SPIFFE IDs (#252)
Add support for verifying server certs against SPIFFE IDs

This adds support to "certigo connect" to verify that the
server presented a certificate for a specific hostname or
SPIFFE ID. This name can now be unrelated to the hostname
to connect to and the Server Name Indication (SNI) to send
to the server during the TLS handshake.

Prior to this commit, the name expected in the certificate
could only be a hostname, specified either via --name (SNI)
or the hostname to connect to. SPIFFE IDs -- URLs with
"spiffe" as the scheme -- are not useful as hostnames or
SNIs. As a result, this commit adds a new --expected-name
switch to certigo connect. This override provides full
control over what name to expect in the server certificate
presented during the TLS handshake. For example, this name
can now be different from the hostname connected to and the
name specified in Server Name Indication (SNI). Moreover,
if --expected-name is a URL with "spiffe" scheme, it is
only matched against Subject Alternative Names of type URI,
as per the SPIFFE spec.
v1.14.0-test.1
2022-01-10 15:57:47 -08:00
Benjamin KaneandGitHub 2b1f74f2cb Allow certigo -h (#251) 2021-12-04 12:06:09 -08:00
John WoodandGitHub 4032ab142c Add the Ed25519 algo to the list of known algo names (#250) 2021-11-30 15:19:09 -08:00
Mat ByczkowskiandGitHub 44a8bce78f Merge pull request #249 from square/mbyczkowski-patch-1
Bump version to 1.13.0
v1.13.0 v1.13.0-rc.1
2021-11-29 12:09:31 -08:00
Mat ByczkowskiandGitHub 3eead6f4d1 Bump version to 1.13.0 2021-11-29 12:01:35 -08:00
Mat ByczkowskiandGitHub beea3f9bc3 Merge pull request #248 from square/add-release-action
Add automatic draft releases on tagged builds
2021-11-29 11:59:46 -08:00
Mat Byczkowski 2d7ca581c2 Add automatic draft releases on tagged builds
We had these on for Travis CI builds, so this should bring that
functionatliy back to GH Actions builds.
v1.13.0-test.2
2021-11-29 11:54:24 -08:00
Mat ByczkowskiandGitHub 23e3e9c790 Merge pull request #247 from square/dependabot/go_modules/github.com/mattn/go-colorable-0.1.12
Bump github.com/mattn/go-colorable from 0.1.11 to 0.1.12
2021-11-29 11:27:01 -08:00
dependabot[bot]andGitHub 6de98ab57c Bump github.com/mattn/go-colorable from 0.1.11 to 0.1.12
Bumps [github.com/mattn/go-colorable](https://github.com/mattn/go-colorable) from 0.1.11 to 0.1.12.
- [Release notes](https://github.com/mattn/go-colorable/releases)
- [Commits](https://github.com/mattn/go-colorable/compare/v0.1.11...v0.1.12)

---
updated-dependencies:
- dependency-name: github.com/mattn/go-colorable
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-11-24 02:13:21 +00:00
Mat ByczkowskiandGitHub eb0d9f461b Merge pull request #245 from square/mbyczkowski/add-gha
Configure GH Actions
2021-10-11 16:17:39 -07:00
Mat ByczkowskiandGitHub 620ecc63da Merge pull request #246 from square/mbyczkowski-patch-1
Add CODEOWNERS file
2021-10-11 16:17:28 -07:00
Mat ByczkowskiandGitHub 2da7d3a554 Add CODEOWNERS file 2021-10-11 15:56:57 -07:00
Mat Byczkowski dd20d54fbb Set-up GH Actions for CI 2021-10-11 15:54:54 -07:00
Mat Byczkowski c0f8ce4c9c Remove Travis CI 2021-10-11 15:54:54 -07:00
Mat ByczkowskiandGitHub 58f1537bd2 Merge pull request #244 from square/dependabot/go_modules/github.com/mattn/go-colorable-0.1.11
Bump github.com/mattn/go-colorable from 0.1.8 to 0.1.11
2021-10-11 15:19:06 -07:00
dependabot[bot]andGitHub 93f7a5986c Bump github.com/mattn/go-colorable from 0.1.8 to 0.1.11
Bumps [github.com/mattn/go-colorable](https://github.com/mattn/go-colorable) from 0.1.8 to 0.1.11.
- [Release notes](https://github.com/mattn/go-colorable/releases)
- [Commits](https://github.com/mattn/go-colorable/compare/v0.1.8...v0.1.11)

---
updated-dependencies:
- dependency-name: github.com/mattn/go-colorable
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-10-11 22:16:12 +00:00
Mat ByczkowskiandGitHub 67d1e70e65 Merge pull request #242 from square/dependabot/go_modules/github.com/fatih/color-1.13.0
Bump github.com/fatih/color from 1.12.0 to 1.13.0
2021-10-11 15:15:01 -07:00
dependabot[bot]andGitHub 1e9d95be5b Bump github.com/fatih/color from 1.12.0 to 1.13.0
Bumps [github.com/fatih/color](https://github.com/fatih/color) from 1.12.0 to 1.13.0.
- [Release notes](https://github.com/fatih/color/releases)
- [Commits](https://github.com/fatih/color/compare/v1.12.0...v1.13.0)

---
updated-dependencies:
- dependency-name: github.com/fatih/color
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-22 02:10:55 +00:00
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