Commit Graph

276 Commits

Author SHA1 Message Date
231b98dd68 Add kgz, a gzip tool. 2018-09-15 15:08:37 -07:00
Kyle Isom
160a42ec26 travis: drop go 1.8 2018-04-24 10:47:35 -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
Aaron Bieber
bbc82ff8de Pad non-padded secrets. This lets us continue building on <= go1.8.
- Add tests for secrets using various padding methods.
- Add a new method/test to append padding to non-padded secrets.
2018-04-18 13:39:21 -07:00
Aaron Bieber
5fd928f69a Decode using WithPadding as pointed out by @gl-sergei.
This makes us print the same 6 digits as oathtool for non-padded
secrets like "a6mryljlbufszudtjdt42nh5by".
2018-04-18 13:39:21 -07:00
Aaron Bieber
acefe4a3b9 Don't assume our secret is base32 encoded.
According to https://en.wikipedia.org/wiki/Time-based_One-time_Password_algorithm
secrets are only base32 encoded in gauthenticator and gauth friendly providers.
2018-04-16 13:14:03 -07:00
a1452cebc9 Travis requires a string for Go 1.10. 2018-04-16 13:03:16 -07:00
6e9812e6f5 Vendor dependencies and add more tests. 2018-04-16 13:03:16 -07:00
Aaron Bieber
8c34415c34 add readme 2018-04-16 12:52:39 -07:00
Paul TREHIOU
2cf2c15def Case insensitive algorithm match 2018-04-16 12:43:27 -07:00
Kyle Isom
411907c0ad Merge pull request #5 from cbroglie/master
Make key and extended usages output stable
2017-11-22 16:24:57 -08:00
Christopher Broglie
06c7f8f42f Make key and extended usages output stable 2017-11-21 15:14:51 -08:00
Kyle Isom
8b638065d1 Fix ahash test Sprintf's. 2017-11-21 13:00:20 -08:00
Kyle Isom
9ac378eaa5 go lint → golint 2017-11-21 12:55:51 -08:00
Kyle Isom
eaaaabe439 go vet → golint 2017-11-21 12:52:26 -08:00
Kyle Isom
4122f01644 Fix travis errors. 2017-11-21 12:42:53 -08:00
Kyle Isom
263a5d3973 Add travis config. 2017-11-21 12:30:06 -08:00
Kyle Isom
afef3eea62 Fix Logger interface. 2017-11-21 12:19:38 -08:00
d6c5360a06 Start a change log. v1.1.0 2017-11-16 08:34:46 -08:00
0ab21e12f3 Reformat cmd/utc/main.go. 2017-11-16 08:32:42 -08:00
832475db56 gofmt cleanups. 2017-11-16 08:32:33 -08:00
cb16cfa183 golint cleanups. 2017-11-16 08:32:05 -08:00
d083a39a7d Fix README formatting. 2017-11-16 08:24:35 -08:00
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
41df73d7a8 Add ahash package. 2017-11-16 07:52:36 -08:00
0dc478746a Add rsha256 - remote sha256 utility. 2017-11-15 17:40:38 -08:00
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
4fa6e4ab0e Update README. 2017-09-26 16:01:36 -07:00
Kyle Isom
a3ead16faf Add ski utility. 2017-09-26 15:59:39 -07:00
Aaron Bieber
eaad1884d4 Make sure our secret is always uppercase
Non-uppercase secrets that are base32 encoded will fial to decode
unless we upper them.
2017-09-17 18:19:23 -07:00
c8f839de73 Cleanups and improvements. 2017-09-12 03:38:47 -07:00
0c56a477bc Add tee. 2017-09-12 03:25:12 -07:00
Kyle Isom
763dbec310 Merge pull request #3 from joshlf/stealchain-server
cmd/stealchain-server: Present server cert, request client cert
2017-08-29 12:47:16 -07:00
Joshua Liebow-Feeser
0e6b60a2c4 cmd/stealchain-server: Present server cert, request client cert 2017-08-29 12:42:19 -07:00
Kyle Isom
be34ad263d Merge pull request #2 from joshlf/stealchain-server
cmd/stealchain-server: Explicitly perform TLS handshake.
2017-08-29 10:55:49 -07:00
Joshua Liebow-Feeser
48b03c908d cmd/stealchain-server: Explicitly perform TLS handshake. 2017-08-29 09:53:51 -07:00
Kyle Isom
70d7ff505b Merge pull request #1 from joshlf/stealchain-server
Add stealchain-server utility
2017-08-28 17:39:30 -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
eba03a2f4a Update README.
Adds atpoing, renfnv, and yamll to list of programs.
2017-05-03 11:01:01 -07:00
5d57d844d4 Add license (MIT). 2017-04-13 10:02:20 -07:00
Kyle Isom
31b9d175dd Add travis config. 2017-03-20 14:20:49 -07:00
Aaron Bieber
79e106da2e point to new qr location 2017-03-20 13:18:56 -07:00
Kyle Isom
9b18cc18d3 Add certexpiry. v1.0.0 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