Matthew McPherrin
f54da98127
DO NOT MERGE
...
This is a hack to log the number of iterations in a JCEKS file
2018-10-30 19:46:30 -07:00
Cedric Staub and GitHub
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 Staub and GitHub
5c1e377a1d
Update README.md
2018-10-23 14:46:04 -07:00
Cedric Staub and GitHub
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 McPherrin and GitHub
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 Staub and GitHub
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 Staub and GitHub
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 McPherrin and GitHub
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 Staub and GitHub
c079619f11
Merge pull request #162 from square/cs/ocsp
...
Add OCSP support for connect command
2018-04-03 23:11:01 -07:00
Cedric Staub and GitHub
7647f623bd
Merge branch 'master' into cs/ocsp
2018-04-03 22:32:07 -07:00
Cedric Staub
57f83216c3
Update vendored dependencies
2018-04-03 22:21:23 -07:00
Cedric Staub and GitHub
adb0b65e08
Merge pull request #161 from square/csstaub-patch-1
...
Update README.md
2018-04-03 21:51:38 -07:00
Cedric Staub
399ed9bc6e
Fix SNI handling, set server name for connect
2018-04-03 21:47:37 -07:00
Cedric Staub and GitHub
20ca52ddd6
Update README.md
2018-04-03 21:40:40 -07:00
Cedric Staub
14ff9b3f05
Add some hacky OCSP status checking code
2018-04-03 18:06:16 -07:00
Matthew McPherrin and GitHub
ed8b7bf744
Merge pull request #160 from square/mmc/long-help
...
Default to using the "long" help format
2018-04-03 12:52:32 -07:00
Matthew McPherrin
16d197a5b9
Default to using the "long" help format
...
Certigo doesn't have too many options, so the long help is a reasonble default.
2018-04-03 12:41:11 -07:00
Cedric Staub and GitHub
f901d795db
Merge pull request #159 from square/cs/err
...
Better error message for library users
2018-03-23 11:00:52 -07:00
Cedric Staub and GitHub
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 McPherrin and GitHub
04b09cbeb8
Merge pull request #158 from square/mmc/protocols
...
Improve FTP & starttls protocol handling
2018-03-14 18:12:51 -07:00
Matthew McPherrin and Matthew 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 McPherrin and Matthew 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 McPherrin and GitHub
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 Staub and GitHub
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 Staub and GitHub
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 Staub and GitHub
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 Staub and GitHub
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 Staub and GitHub
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 Staub and GitHub
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