Commit Graph
363 Commits
Author SHA1 Message Date
kyle 30ffbbdbc5 config: add test data for iniconf. 2022-02-20 17:43:11 -08:00
kyle b893e99864 config: add default path, customized configs.
A customised config is an ini file with a [default] section and some
other name sections; a config file is loaded from the default section
with any keys in the named section being added in, overriding keys in
the host. This allows for, e.g. setting different paths based on the
host name or operating system.
2022-02-20 17:43:11 -08:00
kyle c7c51568d8 seekbuf lost the Clear function. v1.5.2 2022-02-05 15:40:13 -08:00
kyle 7793021260 New package: seekbuf (a seekable buffer). v1.5.1 2022-02-05 15:00:39 -08:00
kyle 692562818c clean README v1.5.0 2020-11-26 20:32:46 -08:00
kyle 9e19346fc0 add sum file 2020-11-26 20:09:46 -08:00
kyle cb827169dc switching hosting providers 2020-11-26 20:09:37 -08:00
kyle 027d0173bc logging: finish multi implementation v1.4.3 2020-11-11 21:15:02 -08:00
kyle 6f19b69bbd logging: add CREATE flag to file-based loggers. v1.4.2 2020-11-11 10:06:13 -08:00
kyle 7e118bfdb0 logging: add Multi v1.4.1 2020-11-11 09:52:07 -08:00
Kyle Isom e0868841bf Merge pull request #7 from santosh653/master 2020-11-04 07:24:04 -08:00
santosh653 c558405d11 Update .travis.yml
Excluding go version 1.9 as only go version1.13 onwards are supported.
2020-11-04 05:22:10 -05:00
kyle 619c08a13f Update travis to latest Go versions. 2020-10-31 08:06:11 -07:00
kyle 944a57bf0e Switch to go modules. 2020-10-31 07:41:31 -07:00
kyle 0857b29624 Actually support clock mocking. 2020-10-31 07:24:34 -07:00
CodeLingo Bot e95404bfc5 Fix function comments based on best practices from Effective Go
Signed-off-by: CodeLingo Bot <bot@codelingo.io>
2020-10-30 14:57:11 -07:00
ujjwalsh 924654e7c4 Added Support for Linux on Power 2020-10-30 07:50:32 -07:00
santosh653 a1eb035af7 Update .travis.yml
Adding Power support
2020-10-20 04:56:21 -04:00
kyle 5eedcff042 add rand package, utilities for math/rand. v1.4.0 2020-06-02 17:26:17 -07:00
Kyle Isom 6ac8eb04b4 Updated by OWASP Threat Dragon 2020-03-05 15:29:57 -08:00
Kyle Isom 4a4e4cd3fd Updated by OWASP Threat Dragon 2020-03-05 12:20:49 -08:00
Kyle Isom 1207093a56 Created by OWASP Threat Dragon 2020-03-05 12:19:57 -08:00
kyle 2b6ae03d1a config: add a Require message.
Also update explanation of the intended use-case for this package.
v1.3.4
2020-03-02 17:36:29 -08:00
kyle ef0f14a512 Add global config package.
This is a simple config system that I find myself wanting a lot.
v1.3.3
2020-03-02 17:11:55 -08:00
kyle 6ae393ebf2 Have to explicitly allow darwin/amd64 in the build tag. 1.3.2 2020-01-16 06:19:21 -08:00
kyle 76d88c220d Add go mod, update ftime.
+ Stat_t on Darwin amd64 now uses the same struct fields
  for file times as Lunix, not the BSD ones. I need to
  follow up on this.
1.3.1
2020-01-16 06:13:31 -08:00
Kyle Isom 40e015373f Point to goutils-pkg. 2020-01-16 06:13:18 -08:00
kyle 50c226b726 Add parts. 2019-01-08 12:46:53 -08:00
kyle 070ffb9dff Cleanup testio. v1.3.0 2018-12-17 18:16:52 -08:00
kyle 5ac05bd298 Add debug printer. 2018-12-17 18:12:51 -08:00
kyle cf1edf2d31 Add simple proxy. 2018-12-12 14:57:08 -08:00
kyle 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
kyle 06678499d4 Add missing format arg. v1.2.1 2018-09-15 16:49:46 -07:00
kyle fad17065fe Update README. 2018-09-15 15:26:42 -07:00
kyle 63e0cbeacb Update CHANGELOG for release. v1.2.0 2018-09-15 15:10:44 -07:00
kyle 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
kyle a1452cebc9 Travis requires a string for Go 1.10. 2018-04-16 13:03:16 -07:00
kyle 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