9 Commits
Author SHA1 Message Date
Mat Byczkowski be49d2dc37 Read --version from Go build info 2026-09-28 12:05:06 -07:00
Nik Unger 68183f4853 Add and enforce copyright headers via linter
This commit normalizes copyright headers across the codebase.
2025-07-28 13:05:13 -04:00
John Wood 44210f297c Remove ioutil (#289) 2022-08-11 10:59:59 -07:00
John Wood 7ef0417bde Allow any ciphersuite in TestConnect (#268) 2022-06-06 08:47:20 -07:00
John Wood 5332ac7ca2 Fix TestConnect on macOS (#265)
@bdd did an excellent writeup of the issue in #264. To fix this, stop relying on stable error messages between platforms and Go versions by performing a successful certigo connect in the test rather than a failed one.

I generated new ECDSA certificates for localhost using https://github.com/square/certstrap.
2022-06-01 10:20:03 -07:00
John Wood 9e92473320 Set certs explicitly (#259) 2022-02-23 13:02:49 -08:00
Roy Xu 07965a4a02 add test for connect 2020-02-28 16:02:40 -05:00
Roy Xu f81df5c5a3 print input format guessed by certigo (#210) 2020-02-25 11:17:01 -08:00
Matthew McPherrin 26cd65d9bd refactor certigo package main
This splits the logic into a cli, which handles parsing command line args and
reading files, and a terminal abstraction for handling user input and ouput.

All uses of os.Exit are removed in favor of returning errors.

Overall this enables better testing and reuse of code.  Previously we had to
rely on external unit testing for CLI tests, which are harder to write tests.
2020-01-13 15:58:53 -08:00