aboutsummaryrefslogtreecommitdiffstats
path: root/README.txt
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 /README.txt
parent6a5be2524f0d31a601687e8b5d09b9af92848dac (diff)
downloadtrustcache-9ef2c4a87d6fa816639b610313b67b98e983388a.tar.gz
trustcache-9ef2c4a87d6fa816639b610313b67b98e983388a.tar.zst
trustcache-9ef2c4a87d6fa816639b610313b67b98e983388a.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 'README.txt')
-rw-r--r--README.txt11
1 files changed, 6 insertions, 5 deletions
diff --git a/README.txt b/README.txt
index 12da2b3..3f81ef8 100644
--- a/README.txt
+++ b/README.txt
@@ -28,15 +28,16 @@ DESCRIPTION
Create a trustcache at outfile. 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. If uuid is specified,
- that will be used instead of a randomly generated one.
+ a FAT binary will have its hash included. Versions 0, 1, and 2
+ are supported, if not specified, 1 is assumed. If uuid is
+ specified, that will be used instead of a randomly generated one.
info [-c] [-h] [-e entrynum] file
Print information about file. The output for each hash will be
- in the format:
+ in one of these formats:
<cdhash> <flags> [<hash_type>]
+ <cdhash> <flags> [<hash_type>] [<category>]
If the -c is given, only the hashes will be printed. If -h is
given, only the header will be printed. If entrynum is
@@ -57,4 +58,4 @@ HISTORY
The trustcache utility was written by Cameron Katri
<me@cameronkatri.com>.
-FreeBSD 14.0-CURRENT May 19, 2022 FreeBSD 14.0-CURRENT
+FreeBSD 14.0-CURRENT June 16, 2022 FreeBSD 14.0-CURRENT