From 387428a49ba1279d4abe62138d270e0a095a31d2 Mon Sep 17 00:00:00 2001 From: Kyle Isom Date: Mon, 26 Oct 2015 16:08:17 -0700 Subject: [PATCH] Update docs. --- README.md | 29 ++++++++++++++++------------- cmd/pembody/README | 13 +++++++++++++ 2 files changed, 29 insertions(+), 13 deletions(-) create mode 100644 cmd/pembody/README diff --git a/README.md b/README.md index c295016..e3d41a7 100644 --- a/README.md +++ b/README.md @@ -6,19 +6,22 @@ of these in superfluous repositories of their own, I'm putting them here. Contents: - die/ Death of a program. - cmd/ - certchain/ Display the certificate chain from a - TLS connection. - certdump/ Dump certificate information. - csrpubdump/ Dump the public key from an X.509 - certificate request. - fragment/ Print a fragment of a file. - readchain/ Print the common name for the certificates - in a bundle. - stealchain/ Dump the verified chain from a TLS - connection. - + die/ Death of a program. + cmd/ + certchain/ Display the certificate chain from a + TLS connection. + certdump/ Dump certificate information. + csrpubdump/ Dump the public key from an X.509 + certificate request. + fragment/ Print a fragment of a file. + pembody/ Print the body of a PEM certificate. + 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. + stealchain/ Dump the verified chain from a TLS + connection. + Each program should have a small README in the directory with more information. All code here is licensed under the MIT license. diff --git a/cmd/pembody/README b/cmd/pembody/README new file mode 100644 index 0000000..90a686e --- /dev/null +++ b/cmd/pembody/README @@ -0,0 +1,13 @@ +pembody + +This is a utility for decoding PEM-encoded files and spewing their +contents to standard output. No trailing newline is appended. + +Example: + $ cat file.pem + -----BEGIN TEST DATA----- + c2FtcGxlIGJpbmFyeSBkYXRh + -----END TEST DATA----- + $ pembody file.pem + sample binary data$ + \ No newline at end of file