aboutsummaryrefslogtreecommitdiffstats
path: root/trustcache.1
diff options
context:
space:
mode:
authorCameron Katri <me@cameronkatri.com>2022-06-16 10:17:00 -0400
committerCameron Katri <me@cameronkatri.com>2022-06-16 10:21:50 -0400
commit9ef2c4a87d6fa816639b610313b67b98e983388a (patch)
treef3c5d259a3e0b87c5301ddf23b3185b4de9fbe9f /trustcache.1
parent6a5be2524f0d31a601687e8b5d09b9af92848dac (diff)
downloadtrustcache-main.tar.gz
trustcache-main.tar.zst
trustcache-main.zip
Add support for new version 2 trustcachesHEADmain
Thanks to Linus Henze for reversing the new format https://gist.github.com/LinusHenze/4cd5d7ef057a144cda7234e2c247c056
Diffstat (limited to 'trustcache.1')
-rw-r--r--trustcache.17
1 files changed, 4 insertions, 3 deletions
diff --git a/trustcache.1 b/trustcache.1
index 68ec6e5..f5aaf5f 100644
--- a/trustcache.1
+++ b/trustcache.1
@@ -22,7 +22,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.Dd May 19, 2022
+.Dd June 16, 2022
.Dt TRUSTCACHE 1
.Os
.Sh NAME
@@ -95,7 +95,7 @@ Each Mach-O found in the specified inputs will be scanned for
a code signature and hashed.
Any malformed or unsigned Mach-O will be ignored.
Each slice of a FAT binary will have its hash included.
-Versions 0 and 1 are supported, if not specified, 1 is assumed.
+Versions 0, 1, and 2 are supported, if not specified, 1 is assumed.
If
.Ar uuid
is specified, that will be used instead of a randomly generated one.
@@ -108,9 +108,10 @@ is specified, that will be used instead of a randomly generated one.
.Xc
Print information about
.Ar file .
-The output for each hash will be in the format:
+The output for each hash will be in one of these formats:
.Pp
.Dl <cdhash> <flags> [<hash_type>]
+.Dl <cdhash> <flags> [<hash_type>] [<category>]
.Pp
If the
.Fl c