Commit Graph
370 Commits
Author SHA1 Message Date
Cedric Staub 399ed9bc6e Fix SNI handling, set server name for connect 2018-04-03 21:47:37 -07:00
Cedric Staub 14ff9b3f05 Add some hacky OCSP status checking code 2018-04-03 18:06:16 -07:00
Cedric StaubandGitHub f901d795db Merge pull request #159 from square/cs/err
Better error message for library users
2018-03-23 11:00:52 -07:00
Cedric StaubandGitHub 68073b6b69 Merge branch 'master' into cs/err 2018-03-22 13:34:28 -07:00
Cedric Staub 796d17c565 Better error message for library users 2018-03-22 13:30:07 -07:00
Matthew McPherrinandGitHub 04b09cbeb8 Merge pull request #158 from square/mmc/protocols
Improve FTP & starttls protocol handling
2018-03-14 18:12:51 -07:00
Matthew McPherrinandMatthew McPherrin 58f10be303 Add an aliased --starttls. DRY the protocols by putting them in starttls.go
Unfortunately kingpin doesn't support natively support aliased flag names, so
you can supply both --start-tls and --starttls without an error, but that's
just "holding it wrong".
2018-03-14 18:09:03 -07:00
Matthew McPherrinandMatthew McPherrin c22acb0991 More robust parsing of FTP protocol
I found some servers don't always return a space after the three-digit code
for example,

certigo connect --start-tls ftp ftp.mirrorservice.org:21
error connecting: FTP server responded with status 220-----------------------------------------------------------------------------
, was expecting 220

Instead, we always take the first three digits and parse them as an integer, rather than
relying on the space.  Makes the code look a little cleaner too, by returning it as an int.
2018-03-14 18:08:41 -07:00
Matthew McPherrinandGitHub f9ccb1a03a Merge pull request #157 from square/mmc/default-port
Add protocol-specific default ports
2018-03-11 13:07:42 -07:00
Matthew McPherrin cbdcc47d56 Add protocol-specific default ports
If otherwise unspecified, default to port 443.
If a starttls protocol is given, use a protocol-specific default.

So now "certigo connect squareup.com" works.
2018-03-10 19:38:29 -08:00
Cedric StaubandGitHub 6a3bab913b Merge pull request #155 from square/cs/go1.10
Better short names for printing
v1.10.0
2018-02-27 17:35:26 -08:00
Cedric Staub 25f903dabf Bump app version to 1.10.0 2018-02-27 17:25:15 -08:00
Cedric Staub d920cab6f0 Print only CN for verify results 2018-02-27 17:24:48 -08:00
Cedric Staub 63a3260918 Better short names for printing 2018-02-27 17:09:50 -08:00
Cedric StaubandGitHub 4902e7daf5 Merge pull request #154 from square/cs/go1.10
Support new name constraint fields in crypto/x509
2018-02-27 17:01:57 -08:00
Cedric Staub 7c6b521735 Support new name constraint fields in crypto/x509 2018-02-27 16:50:42 -08:00
Cedric Staub e9bb4a2dcd Bump Travis-CI Go version to 1.10.x 2018-02-27 16:18:17 -08:00
Cedric StaubandGitHub ba63b127cd Merge pull request #152 from square/cs/1.9.2
Version 1.9.2
2017-11-08 11:44:21 -08:00
Cedric Staub c8199c40d1 Tag v1.9.2 v1.9.2 2017-11-08 11:41:33 -08:00
Cedric Staub 59f044afd8 Add test for dumping Mozilla trust store 2017-11-08 11:31:49 -08:00
Cedric Staub 6a549158f0 Better language for outdated signature algorithm warning 2017-11-08 11:20:57 -08:00
Cedric Staub b0d0880545 Fix template bug from moving name constraints 2017-11-08 11:20:42 -08:00
Cedric StaubandGitHub 7d4b5376b2 Merge pull request #151 from square/cs/http-connect
Add HTTP(S) CONNECT proxy support to certigo
2017-10-11 15:55:57 -07:00
Cedric Staub 15a4a957d6 Add HTTP(S) CONNECT proxy support to certigo 2017-10-11 15:53:44 -07:00
Cedric StaubandGitHub 67b2d26167 Merge pull request #150 from square/cs/ocsp-aia
Show OCSP servers and issuing certificate URL info in verbose mode
2017-09-22 14:59:55 -07:00
Cedric Staub 1929b65f41 Show OCSP servers and issuing certificate URL info in verbose mode 2017-09-22 12:56:36 -07:00
Cedric StaubandGitHub a3243b8613 Merge pull request #149 from square/cs/go1.9
Better DNS name constraint handling
2017-08-29 13:34:58 -07:00
Cedric Staub 284598d9f2 Add test for certificate with name constraints 2017-08-18 12:56:43 -07:00
Cedric Staub 892328ae85 Update README to mention Go 1.9 requirement 2017-08-18 12:53:04 -07:00
Cedric Staub 9fa238ed8e Require Go 1.9 in Travis-CI build 2017-08-18 12:52:51 -07:00
Cedric Staub 2f2e914e35 Fix DNS name constraints handling 2017-08-18 12:52:26 -07:00
Cedric StaubandGitHub 6a1c58a527 Merge pull request #147 from square/cs/stuff2
Fix bugs with URI names display, add tests
2017-08-07 17:12:40 -07:00
Cedric Staub 772a9edd2b Display SPIFFE URI names if present in certificate 2017-08-07 16:43:48 -07:00
Cedric StaubandGitHub b091a41600 Merge pull request #146 from square/cs/stuff2
Shell completion & URI names display
2017-08-07 16:01:15 -07:00
Cedric Staub 55f84d5812 Display SPIFFE URI names if present in certificate 2017-08-07 15:59:33 -07:00
Cedric Staub cd9c1f64c9 Add spiffe/go-spiffe library in vendor 2017-08-07 15:27:32 -07:00
Cedric Staub 30485a7709 Write shell completion scripts in build 2017-08-07 15:25:17 -07:00
Cedric StaubandGitHub 0eeec32867 Merge pull request #145 from square/cs/stuff
Small updates/fixes
2017-08-03 18:01:36 -07:00
Cedric Staub f25bb53761 Generate man page during build 2017-08-03 14:35:40 -07:00
Cedric Staub ba4a10eb10 Update vendored dependencies 2017-08-02 15:48:25 -07:00
Cedric Staub 563850e616 Add some extra info to README 2017-08-02 15:32:04 -07:00
Alok MenghrajaniandGitHub fab3c547af Merge pull request #144 from square/neal-typo
fixes minor typo in README
2017-06-24 16:58:56 -07:00
Neal HarrisandGitHub b68464733e fixes minor typo in README 2017-06-24 16:51:50 -07:00
Cedric Staub 1ba652071c Add GOST algorithms in signature scheme map 2017-06-16 17:31:41 -07:00
Cedric StaubandGitHub 5acf5d5da1 Merge pull request #142 from square/cs/sigs
Better strings for TLS signature schemes
2017-06-16 17:25:17 -07:00
Cedric Staub 83191051cb Better strings for TLS signature schemes 2017-06-16 17:17:07 -07:00
Cedric StaubandGitHub e8e1fe975c Merge pull request #141 from square/cs/cn-deprecate
Add warning for certs w/o subject alt names
2017-06-01 17:43:06 -07:00
Cedric Staub 897051b6a5 Add warning for certs w/o subject alt names 2017-06-01 17:36:59 -07:00
Cedric Staub 1fc809aa1d Fix app version v1.9.1 2017-05-15 21:35:28 -07:00
Cedric StaubandGitHub ddeda0065e Merge pull request #140 from square/cs/oid
Add user id OID in lib/oids
2017-05-11 14:46:18 -07:00