Commit Graph

283 Commits

Author SHA1 Message Date
cf1edf2d31 Add simple proxy. 2018-12-12 14:57:08 -08:00
9e0979e07f Support clock mocking.
This addresses #15.
2018-12-07 08:23:01 -08:00
Kyle Isom
03e8958dd7 Merge pull request #6 from golint-fixer/master
Fix golint import path
2018-10-31 18:31:23 -07:00
golint fixer
6cef585071 Fix golint import path 2018-10-25 09:37:10 -05:00
06678499d4 Add missing format arg. v1.2.1 2018-09-15 16:49:46 -07:00
fad17065fe Update README. 2018-09-15 15:26:42 -07:00
63e0cbeacb Update CHANGELOG for release. v1.2.0 2018-09-15 15:10:44 -07:00
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