279 Commits
Author SHA1 Message Date
Cedric Staub 14d573b760 Bump certigo app version v1.7.0 2017-02-21 13:53:40 -08:00
Cedric Staub 10ed6bd46f Set draft: true for Travis-CI releases 2017-02-21 13:47:23 -08:00
Cedric StaubandGitHub 4a5679ee8b Merge pull request #123 from square/cs/flag-cleanup
Cleanup flag order, add short opts for flags
2017-02-21 13:33:31 -08:00
Cedric Staub d04d729103 Update README with new --help-long output 2017-02-21 13:30:15 -08:00
Cedric Staub 97cd3e7d39 Cleanup flag order, add short opts for flags 2017-02-21 13:28:45 -08:00
Matthew McPherrinandGitHub ba53dc65bc Merge pull request #119 from square/mmc/tlsinfo
Print TLS version & cipher suite when connecting
2017-02-21 13:14:52 -08:00
Matthew McPherrin b9352020ee go fmt 2017-02-21 12:20:25 -08:00
Matthew McPherrin f5c61e3ffc Add fallback for unknown TLS and cipher suites 2017-02-21 12:19:16 -08:00
Matthew McPherrin 5d84bacd4f Add quality tags
RC4 and 3DES get 0.  ECDHE and GCM or CHACHA get 2.  Everything else is a 1
2017-02-21 11:55:56 -08:00
Cedric StaubandGitHub 1cb20961cb Merge pull request #121 from square/cs/better-output
Nicer output for verified chains
2017-02-20 21:51:01 -08:00
Cedric StaubandGitHub de854d8ab6 Merge pull request #122 from square/csstaub-patch-1
Use --help-long output in readme
2017-02-20 21:50:49 -08:00
Cedric StaubandGitHub b8a37348cd Use --help-long output in readme 2017-02-20 11:20:25 -08:00
Cedric Staub c5021c0065 Nicer output for verified chains 2017-02-19 18:53:45 -08:00
Matthew McPherrin a2d32441fc Update README with TLS connect output 2017-02-19 18:06:57 -08:00
Matthew McPherrin 2a61c3e010 Update README for starttls and go 1.8
Note we support more STARTTLS protocols, and require go 1.8
2017-02-19 18:03:50 -08:00
Matthew McPherrinandMatthew McPherrin 2a02e76a19 [WIP] Print TLS version & cipher suite when connecting 2017-02-19 14:36:31 -08:00
Matthew McPherrin 7262504ad9 Require Go 1.8 for new cipher suites 2017-02-19 14:36:31 -08:00
Matthew McPherrin c368df917a Allow SSL 3.0, so we can see old and bad servers. 2017-02-19 14:36:31 -08:00
Matthew McPherrinandGitHub 521af8973e Merge pull request #115 from square/mmc/ldap
LDAP start tls
2017-02-19 12:26:04 -08:00
Matthew McPherrinandGitHub 93e123007a Merge pull request #118 from square/mmc/release
Have travis-ci upload an artifact to the github release when we tag commits
2017-02-19 12:25:46 -08:00
Matthew McPherrin 5c0832b26f ldap starttls support 2017-02-18 23:45:16 -08:00
Matthew McPherrin 84fb87afa5 Add TLSConnectionState() method to forked ldap package 2017-02-18 23:45:16 -08:00
Matthew McPherrin 2cd70c1d10 Vendor asn1-ber.v1 (ldap dependency) 2017-02-18 23:45:16 -08:00
Matthew McPherrin 65c225f0e3 Vendor starttls for forking 2017-02-18 23:45:16 -08:00
Matthew McPherrin 0e9f91f9cc Change some variable names in the starttls package
They made sense in the certigo main() context, but seem weird here.
2017-02-18 23:28:42 -08:00
Matthew McPherrin 7f32aa8a78 Move before_install stuff to install
This prevents the default `install` from running (which does `go get`), thus
ensuring we've vendored dependencies properly
2017-02-18 23:26:41 -08:00
Matthew McPherrin 52d19f4d65 Build for linux, darwin, and windows 2017-02-18 23:26:40 -08:00
Matthew McPherrinandGitHub 9eda6bacb6 Merge pull request #117 from square/mmc/colours
Add support for coloured output on windows
2017-02-18 19:21:39 -08:00
Cedric StaubandGitHub 54745742a8 Merge pull request #116 from square/cs/rm-dead-code
Remove unused tlsConfigForConnect function
2017-02-18 18:42:55 -08:00
Matthew McPherrin 436d1f48a4 Get rid of old env variable
The vendor experiment env variables isn't used on >= 1.6
2017-02-18 17:29:19 -08:00
Matthew McPherrin 35d2125a5f Have travis-ci upload an artifact to the github release when we tag commits 2017-02-18 17:24:16 -08:00
Matthew McPherrin b866e297c8 Add support for coloured output on windows 2017-02-18 16:46:00 -08:00
Cedric Staub 62a8de327f Remove unused tlsConfigForConnect function 2017-02-18 15:01:04 -08:00
Matthew McPherrinandGitHub 5d225bf975 Merge pull request #114 from square/mmc/starttls-package
Add a newline for better errors
2017-02-17 17:28:28 -08:00
Matthew McPherrin 30a551f7db Add a newline for better errors 2017-02-17 16:48:22 -08:00
Matthew McPherrinandGitHub ac1282f076 Merge pull request #113 from square/mmc/starttls-package
Add SMTP STARTTLS support
2017-02-17 16:32:33 -08:00
Matthew McPherrin bf475c2239 Update docs to include smtp 2017-02-17 15:56:35 -08:00
Matthew McPherrin 27ac287248 Panic for impossible error 2017-02-17 15:56:19 -08:00
Matthew McPherrin 4cc48a1ee6 Add SMTP support to STARTTLS 2017-02-17 15:49:03 -08:00
Matthew McPherrin 98dbc46373 Remove print and os.Exit from starttls library 2017-02-17 15:34:18 -08:00
Matthew McPherrinandGitHub 4747a4c80b Merge pull request #112 from square/mmc/starttls-package
Move StartTLS functionality into a subpackage, enabling use elsewhere
2017-02-17 15:12:42 -08:00
Matthew McPherrin 35679297a9 Move StartTLS functionality into a subpackage, enabling use elsewhere
This moves two functions out of main.go.
The only change to the functions was to make them take arguments, instead of using global variables in main.

The mysql and psql imports are moved here too.
2017-02-17 12:39:57 -08:00
Matthew McPherrinandGitHub 8c0d8c4dba Merge pull request #111 from square/csstaub-patch-1
Plaintext examples instead of SVG
2017-02-17 11:59:28 -08:00
Cedric StaubandGitHub 1ec047d552 Delete example_3.svg 2017-02-17 11:36:50 -08:00
Cedric StaubandGitHub f4433f600b Delete example_2.svg 2017-02-17 11:36:41 -08:00
Cedric StaubandGitHub 9328af477d Delete example_1.svg 2017-02-17 11:36:33 -08:00
Cedric StaubandGitHub 4ce94c6460 Plaintext examples instead of SVG 2017-02-17 11:35:25 -08:00
Cedric Staub 7bf6b39473 Bump version to 1.6.0 v1.6.0 2017-02-16 15:55:30 -08:00
Cedric StaubandGitHub 03694eeae4 Merge pull request #110 from square/csstaub-patch-1
Update README.md
2017-02-16 15:38:29 -08:00
Cedric StaubandGitHub 3418575548 Fix typo 2017-02-16 15:34:03 -08:00