Commit Graph

60 Commits

Author SHA1 Message Date
Kyle Isom cf1edf2d31 Add simple proxy. 2018-12-12 14:57:08 -08:00
Kyle Isom 06678499d4 Add missing format arg. 2018-09-15 16:49:46 -07:00
Kyle Isom 231b98dd68 Add kgz, a gzip tool. 2018-09-15 15:08:37 -07:00
Kyle Isom b6b33e00c8 cmd/showimp: support ignoring directories. 2018-04-24 09:44:45 -07:00
Kyle Isom 9e1aed257b rhash: use io.Copy to avoid reading the full file. 2018-04-24 09:44:45 -07:00
Christopher Broglie 06c7f8f42f Make key and extended usages output stable 2017-11-21 15:14:51 -08:00
Kyle Isom 4122f01644 Fix travis errors. 2017-11-21 12:42:53 -08:00
Kyle Isom 0ab21e12f3 Reformat cmd/utc/main.go. 2017-11-16 08:32:42 -08:00
Kyle Isom 832475db56 gofmt cleanups. 2017-11-16 08:32:33 -08:00
Kyle Isom cb16cfa183 golint cleanups. 2017-11-16 08:32:05 -08:00
Kyle Isom fc77225740 Add rhash for hashing remote files.
This was originally rsha256, but it's been updated to support multiple
algorithms.
2017-11-16 08:24:13 -08:00
Kyle Isom 0dc478746a Add rsha256 - remote sha256 utility. 2017-11-15 17:40:38 -08:00
Kyle Isom f44bbc9eca Add cruntar - untar for ChromeOS. 2017-11-15 17:37:54 -08:00
Kyle Isom 1df0350fc7 Cleanups and docs. 2017-10-20 12:38:41 -07:00
Kyle Isom d42c1fa1c5 Add subjhash tool. Minor cleanups. 2017-10-20 12:18:56 -07:00
Kyle Isom a3ead16faf Add ski utility. 2017-09-26 15:59:39 -07:00
Joshua Liebow-Feeser 0e6b60a2c4 cmd/stealchain-server: Present server cert, request client cert 2017-08-29 12:42:19 -07:00
Joshua Liebow-Feeser 48b03c908d cmd/stealchain-server: Explicitly perform TLS handshake. 2017-08-29 09:53:51 -07:00
Joshua Liebow-Feeser 68e5822176 cmd/stealchain-server: Initial commit. 2017-08-28 17:05:34 -07:00
Kyle Isom 54dd461733 Add option to print the SHA256 hash of a certificate.
This hash isn't the SKI --- it's a SHA256 hash of the raw certificate
contents.
2017-05-03 11:01:33 -07:00
Kyle Isom 9b18cc18d3 Add certexpiry. 2017-01-05 21:02:28 -08:00
Kyle Isom 858c9cb4e8 Add atping: a tcp ping tool 2016-11-01 07:55:14 -07:00
Kyle Isom 89bddc74bb certdump: only close connection if Dial succeeds. 2016-10-14 09:54:04 -07:00
Kyle Isom c8b627565f jlp: support reading JSON from stdin. 2016-10-14 09:51:29 -07:00
Kyle Isom b9deec27f0 Allow fetching certificates from servers. 2016-10-14 09:50:22 -07:00
Kyle Isom e8045e0b1f Add renfnv tool.
This is a tool I use for renaming files when doing photographic work.

This change also renames the functions in fileutil to not be P
functions.
2016-08-23 12:59:34 -07:00
Kyle Isom f710b82899 certdump - show OCSP servers 2016-07-11 17:38:09 -07:00
Kyle Isom 4720196aaa yamll: support reading from stdin. 2016-07-05 15:54:13 -07:00
Kyle Isom c8cdd70a08 Add no-write option to jlp. 2016-07-01 15:56:52 -07:00
Kyle Isom ce9604b4e1 Add support for Unix timestamps. 2016-06-15 22:05:58 -07:00
Kyle Isom 58e8465947 Usability fixes.
+ Show timezones in output to better distingush times.
+ Update README/usage examples.
+ The -h flag only prints the shorter usage message (which is
  more likely to fit on a single page).
+ A new 'help' argument displays the full help message.
2016-06-15 18:24:41 -07:00
Kyle Isom c3909b92f1 Improved time zone check.
Previously, the zone check compared time.Local and time.UTC. However,
when this was tested on a machine that uses UTC locally, it became
apparent that the two pointers can differ while having the same time
zone. A more useful check is to look up the offsets for the time zones
and compare those --- they'll return the same times.
2016-06-14 16:47:05 -07:00
Kyle Isom 57e31bfcf4 Updating docs, add a few new features to utc. 2016-06-14 15:22:38 -07:00
Kyle Isom a0e48cd55b Add utc for time -> UTC conversions. 2016-06-14 15:04:51 -07:00
Kyle Isom cd6c00a203 Add YAML linter. 2016-05-27 16:50:40 -07:00
Kyle Isom 25bafdac15 Add pemit to convert data to PEM. 2016-04-28 14:16:22 -07:00
Kyle Isom 4b9da3632a Support reading from standard input in pembody. 2016-04-28 14:15:35 -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 7944be7139 Ad expiry/revocation checking to certverify. 2016-01-14 23:08:12 -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 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