goutils/README.md

70 lines
3.3 KiB
Markdown
Raw Normal View History

2015-06-10 23:29:52 +00:00
GOUTILS
This is a collection of small utility code I've written in Go; the `cmd/`
directory has a number of command-line utilities. Rather than keep all
of these in superfluous repositories of their own, I'm putting them here.
2018-09-15 22:26:42 +00:00
Note that for packaging purposes, the goutils-pkg repo should be used: it
pins the library versions to working copies and vendors all depdencies. See
https://github.com/kisom/goutils-pkg for more details.
2015-06-10 23:29:52 +00:00
2016-06-16 06:24:51 +00:00
The goutils-pkg repo [1] has stable versions of the command line
utilities here, along with a vendored snapshot of any dependencies.
2015-06-10 23:29:52 +00:00
Contents:
ahash/ Provides hashes from string algorithm specifiers.
2016-04-28 21:16:37 +00:00
assert/ Error handling, assertion-style.
2015-10-26 23:08:17 +00:00
cmd/
atping/ Automated TCP ping, meant for putting in cronjobs.
2015-10-26 23:08:17 +00:00
certchain/ Display the certificate chain from a
TLS connection.
certdump/ Dump certificate information.
2017-01-06 05:02:28 +00:00
certexpiry/ Print a list of certificate subjects and expiry times
or warn about certificates expiring within a certain
window.
certverify/ Verify a TLS X.509 certificate, optionally printing
2016-04-28 21:16:37 +00:00
the time to expiry and checking for revocations.
2016-01-15 06:09:55 +00:00
clustersh/ Run commands or transfer files across multiple
servers via SSH.
2017-11-15 19:27:38 +00:00
cruntar/ Untar an archive with hard links, copying instead of
linking.
2016-04-28 21:16:37 +00:00
csrpubdump/ Dump the public key from an X.509 certificate request.
2015-10-26 23:08:17 +00:00
fragment/ Print a fragment of a file.
2015-10-26 23:37:44 +00:00
jlp/ JSON linter/prettifier.
2018-09-15 22:08:37 +00:00
kgz/ Custom gzip compressor / decompressor that handles 99%
of my use cases.
2016-01-15 06:09:55 +00:00
pem2bin/ Dump the binary body of a PEM-encoded block.
2015-10-26 23:08:17 +00:00
pembody/ Print the body of a PEM certificate.
2017-01-06 05:02:28 +00:00
pemit/ Dump data to a PEM file.
2015-10-26 23:08:17 +00:00
showimp/ List the external (e.g. non-stdlib and outside the
current working directory) imports for a Go file.
readchain/ Print the common name for the certificates
in a bundle.
renfnv/ Rename a file to base32-encoded 64-bit FNV-1a hash.
rhash/ Compute the digest of remote files.
2017-01-06 05:02:28 +00:00
showimp Display the external imports in a package.
2017-09-26 23:01:36 +00:00
ski Display the SKI for PEM-encoded TLS material.
2015-10-26 23:08:17 +00:00
stealchain/ Dump the verified chain from a TLS
connection.
2017-10-20 19:38:41 +00:00
subjhash/ Print or match subject info from a certificate.
2015-11-18 17:36:05 +00:00
tlskeypair/ Check whether a TLS certificate and key file match.
2017-01-06 05:02:28 +00:00
utc/ Convert times to UTC.
yamll/ A small YAML linter.
2016-04-28 21:16:37 +00:00
die/ Death of a program.
2017-11-16 16:23:12 +00:00
fileutil/ Common file functions.
lib/ Commonly-useful functions for writing Go programs.
logging/ A logging library.
mwc/ MultiwriteCloser implementation.
sbuf/ A byte buffer that can be wiped.
2017-11-16 16:23:12 +00:00
tee/ Emulate tee(1)'s functionality in io.Writers.
testio/ Various I/O utilities useful during testing.
testutil/ Various utility functions useful during testing.
2017-11-15 19:27:38 +00:00
2016-04-28 21:21:44 +00:00
Each program should have a small README in the directory with more
information.
2015-06-10 23:29:52 +00:00
All code here is licensed under the MIT license.
2016-06-16 06:24:51 +00:00
[1] https://github.com/kisom/goutils-pkg/