Commit Graph

144 Commits

Author SHA1 Message Date
Kyle Isom 3b215bc8b2 Start a testutils package. 2016-04-28 11:33:41 -07:00
Kyle Isom c90d9ccc39 Add assertion package. 2016-04-28 11:33:21 -07:00
Kyle Isom 1650edee19 Use goutils/die instead of kisom/die.
Also removes the "logging" package from showimp, as this is intended
primarily for server programs.
2016-04-28 11:29:58 -07:00
Kyle Isom 8055404211 Update certdump README. 2016-04-01 15:27:13 -07:00
Kyle Isom e40745db9f certdump now reliably gets certs via stdin.
There was an issue doing something like

  cfssl bundle -domain kyleisom.net | jq .bundle | certdump

which seems to have been caused by the way that newlines were
encoded inside. The input is now massaged a bit to make it
more palatable to the cert parser.
2016-04-01 15:22:38 -07:00
Kyle Isom e33e8c3ce5 Tweaks to various tools. 2016-04-01 15:09:19 -07:00
Kyle Isom d1452f54c0 logging is now compatible with klog.
See https://git.kyleisom.net/lib/libklogger
2016-04-01 15:08:55 -07:00
Kyle Isom 419f23d655 Explicit int64 for 32-bit platforms. 2016-01-28 12:26:56 -08:00
Kyle Isom fe557e2202 Make FileTime work portably. 2016-01-24 06:49:53 -08:00
Kyle 0bc7acbc68 Brain fart: it's the changed time, not created. 2016-01-21 02:09:35 -08:00
Kyle fdc1b0261b Fix type: TimeSpec -> Timespec. 2016-01-18 23:20:33 -08:00
Kyle c4cd5442e4 Add FileTime struct.
This allows retrieving a file's creation, modified, and access time
using a Unix stat(1) call.
2016-01-18 23:04:42 -08:00
Kyle Isom 7944be7139 Ad expiry/revocation checking to certverify. 2016-01-14 23:08:12 -08:00
Kyle Isom 0851b241cd Fix whitespace in README. 2016-01-14 22:09:55 -08:00
Kyle Isom f5a9762b28 Add pem2bin, a utility for dumping the contents of PEM blocks. 2016-01-14 17:45:55 -08:00
Kyle Isom 8fd2e76939 Add certverify utility. 2016-01-14 17:29:55 -08:00
Kyle Isom 215d03bdb1 golint fixes. 2015-12-23 13:28:04 -08:00
Kyle Isom 14bf511195 Certdump handles DER certificates as well now. 2015-12-23 13:24:25 -08:00
Kyle 0b493e1060 Add top-level package documentation. 2015-12-22 20:57:32 -08:00
Kyle 72211b1496 Add clustersh, update docs.
+ clustersh is a command-line utility for interacting with multiple
  servers over SSH. It can run commands or transfer files.
+ The main README was updated to include clustersh, lib, mwc, and sbuf.
+ The fragment README notes the use of the -nl flag now.
2015-12-22 20:54:59 -08:00
Kyle Isom 1535cba7a4 Add AIA display to certdump. 2015-12-07 14:34:00 -08:00
Kyle Isom ad5a7ca0be Improve SAN listing support. 2015-11-30 15:14:05 -08:00
Kyle Isom afd2f58578 fragment: add option to suppress line numbers 2015-11-25 15:01:13 -08:00
Kyle Isom 8894cbf419 Add tlskeypair utility. 2015-11-18 09:36:05 -08:00
Kyle Isom ffd7feb30a Adjust output.
* Remove extraneous debug output.
* If the start and end are swapped, print the message to standard error,
  not standard output.
2015-10-28 16:31:48 -07:00
Kyle Isom 7bd65cea87 Add jlp utility. 2015-10-26 16:37:44 -07:00
Kyle Isom 387428a49b Update docs. 2015-10-26 16:08:17 -07:00
Kyle ea6a050b92 Add Itoa. 2015-09-22 22:58:58 -07:00
Kyle 3a4509bbf6 More docs, global SetLevel. 2015-09-22 22:44:01 -07:00
Kyle Isom b933a136f3 Debugging shows file/lineno. 2015-09-22 15:14:36 -07:00
Kyle Isom ea689c7e97 Better domain handling in logging. 2015-09-22 13:26:06 -07:00
Kyle 4b3f1037b3 Add showimp to commands. 2015-09-22 11:25:54 -07:00
Kyle 27819dbf0e Logging to file. 2015-09-22 10:45:51 -07:00
Kyle 57a33bcbcc Add pembody, mwc tests. 2015-09-22 10:39:27 -07:00
Kyle 3fd30fef69 Tidying up. 2015-09-22 03:43:33 -07:00
Kyle 35ded7bc60 Example is better. 2015-09-22 03:32:44 -07:00
Kyle 938f9289fa Trying this with examples. 2015-09-22 03:30:55 -07:00
Kyle 0750c235b6 Adding logging and some common functions. 2015-09-22 03:27:14 -07:00
Kyle Isom 49444c3318 Should be better at documenting things. 2015-09-22 01:46:54 -07:00
Kyle Isom c2dca76803 Add sbuf. 2015-09-22 01:26:02 -07:00
Kyle Isom 4f2f124707 Add fragment.go 2015-09-22 01:25:10 -07:00
Kyle Isom df5100bc30 Add certdump util. 2015-08-17 23:41:06 -07:00
Kyle da9e2e7184 Adding some file access utils. 2015-09-12 03:54:43 -07:00
Kyle Isom 7391da8567 Initial import. 2015-06-10 16:32:04 -07:00