Commit Graph
253 Commits
Author SHA1 Message Date
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 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 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
Cedric StaubandGitHub 3df462c2c6 Merge pull request #109 from square/cs/psql-support
Add PostgreSQL StartTLS support
2017-02-16 15:33:15 -08:00
Cedric StaubandGitHub fd310b157b Update README.md 2017-02-16 15:08:20 -08:00
Cedric StaubandGitHub 5070e70a26 Merge pull request #108 from square/cs/mysql-support
Add support for MySQL StartTLS in connect
2017-02-16 14:37:23 -08:00
Cedric Staub b2fa7061a4 Support StartTLS for PostgreSQL 2017-02-16 14:31:58 -08:00
Cedric Staub 1d9575736a Add README for lib/pq fork 2017-02-16 14:11:58 -08:00
Cedric Staub 710ffa971e Implement DumpTLS in psql driver 2017-02-16 14:11:05 -08:00
Cedric Staub 29041dd976 Import copy of github.com/lib/pq 2017-02-16 14:10:34 -08:00
Cedric Staub d7cd8d5d17 Improve error messages for mysql connect 2017-02-16 14:00:31 -08:00
Cedric Staub 0136c09945 Support StartTLS for MySQL 2017-02-16 13:56:41 -08:00
Cedric Staub 414128c30d Implement DumpTLS functionality in mysql driver 2017-02-16 13:56:30 -08:00
Cedric Staub acb30c8980 Import copy of go-sql-driver/mysql 2017-02-16 13:55:44 -08:00
Matthew McPherrinandGitHub c847a4ac43 Merge pull request #107 from square/goversion
Add Go 1.8, and bump 1.7 to 1.7.5
2017-02-16 11:49:37 -08:00
Matthew McPherrinandGitHub bd6cbc1b6b Add Go 1.8, and bump 1.7 to 1.7.5 2017-02-16 11:12:57 -08:00
Matthew McPherrinandGitHub f57c1087aa Merge pull request #104 from square/mmc/no-brackets
Pull RDN printing into a seperate template with fixes
2017-02-15 12:54:58 -08:00
Matthew McPherrin aee9f5e4e8 Print full subject in JSON (instead of hardcoded list of members) 2017-02-14 21:40:46 -08:00
Matthew McPherrin 1ff7c9b20c Update OID display per review feedback 2017-02-14 21:07:17 -08:00
Matthew McPherrinandGitHub f59230bbe7 Merge pull request #105 from square/less-panic
Don't panic in the JCEKS library
2017-02-02 16:58:25 -08:00
Matthew McPherrin 92f9a2dca9 Don't panic in the JCEKS library
Returns an error instead.
2017-02-02 16:56:48 -08:00
Matthew McPherrin 8274156251 Update tests with additional subject fields
There's some reordering going too
2017-01-04 17:31:30 -08:00
Matthew McPherrin b1898291fa Add more Subject fields, especially for EV certs 2017-01-04 17:27:23 -08:00
Matthew McPherrin fd470514d7 Simplify subject printing
Note that RDNs now appear in the order they're in the pkix.Name, instead of a fixed order
2017-01-04 16:45:12 -08:00
Matthew McPherrin 65402b26f5 Make a test cert with a custom OID in the DN 2017-01-04 15:39:24 -08:00
Matthew McPherrin 8c399e4f1b Pull RDN printing into a seperate template with fixes
Print all the values that Go parses out, and print OIDs and values for the
ExtraNames Values that Go allows multiple values (everything other than CN) are
printed multiple times instead of in a square-bracket array.  Since most certs
have only a single value for each, this just avoids the square brackets.
2017-01-03 21:53:45 -08:00
Cedric StaubandGitHub 8e02295262 Merge pull request #103 from square/cs/no-print
Return error instead of printing to stderr in lib
2016-12-12 13:03:39 -08:00
Cedric Staub fe9b897448 Fix cram install in travis config 2016-12-12 12:35:45 -08:00
Cedric Staub ed15e73d08 Return error instead of printing to stderr in lib 2016-12-12 12:33:30 -08:00