]> git.cameronkatri.com Git - trustcache.git/blob - README.txt
Initial import
[trustcache.git] / README.txt
1 TC(1) General Commands Manual TC(1)
2
3 NAME
4 tc – Create and interact with trustcaches
5
6 SYNOPSIS
7 tc append [-u uuid | 0] infile file ...
8 tc create [-u uuid] [-v version] outfile file ...
9 tc info [-c] [-h] [-e entrynum] file
10
11 DESCRIPTION
12 The tc utility is used to get info about and modify Apple trustcaches.
13
14 The following commands are supported by tc:
15
16 append [-u uuid | 0] infile file ...
17 Modify the trustcache at infile to include each signed Mach-O in
18 the specified path. uuid is used to specify a custom uuid to be
19 used. If it is 0, the uuid will be left the same, otherwise, it
20 will be regenerated.
21
22 create [-u uuid] [-v version] outfile file ...
23 Create a trustcache at outfile. Each Mach-O found in the
24 specified inputs will be scanned for a code signature and hashed.
25 Any malformed or unsigned Mach-O will be ignored. Each slice of
26 a FAT binary will have its hash included. Versions 0 and 1 are
27 supported, if not specified, 1 is assumed. If uuid is specified,
28 that will be used instead of a randomly generated one.
29
30 info [-c] [-h] [-e entrynum] file
31 Print information about file. The output for each hash will be
32 in the format:
33
34 <cdhash> <flags> [<hash_type>]
35
36 If the -c is given, only the hashes will be printed. If -h is
37 given, only the header will be printed. If entrynum is
38 specified, only that entry will be printed.
39
40 EXIT STATUS
41 The tc utility exits 0 on success, and >0 if an error occurs.
42
43 SEE ALSO
44 cryptex-dump-trust-cache(1), cryptex-generate-trust-cache(1)
45
46 HISTORY
47 The tc utility was written by Cameron Katri <me@cameronkatri.com>.
48
49 FreeBSD 14.0-CURRENT May 19, 2022 FreeBSD 14.0-CURRENT