| cryptexctl-create(1) | General Commands Manual | cryptexctl-create(1) |
cryptexctl create —
create a cryptex from a disk image
cryptexctl create |
[--replace] --identifier
IDENTIFIER --version
VERSION --variant
VARIANT PATH-TO-DMG
|
cryptexctl create |
[--host-identity]
[--replace] --identifier
IDENTIFIER --version
VERSION PATH-TO-DMG
|
cryptexctl create |
[--identity
IDENTITY-PLIST] [--replace]
[--BORD BOARD-ID]
[--CHIP CHIP-ID]
[--SDOM SDOM]
--identifier IDENTIFIER
--version VERSION
--variant VARIANT
PATH-TO-DMG |
cryptexctl create creates a new
cryptex(5) from a disk image. The disk image must
encapsulate an HFS+ or HFSX filesystem with a hierarchy as described in
cryptex(5). The result will be a directory with a
"cxbd" file name extension. The cryptex bundle has the same
structure with a restore bundle, and has the following structure and
assets:
./Restore
./Restore/BuildManifest.plist
./Restore/Cryptex
./Restore/Cryptex/<Cryptex Name>
./Restore/Cryptex/<Cryptex Name>/c411
./Restore/Cryptex/<Cryptex Name>/pdmg
./Restore/Cryptex/<Cryptex Name>/ltrs
In most cases the device identity will be retrieved by
cryptexctl create from either the host, if the host
is running a cryptexd(8) daemon, or from a connected
device (See the --udid option on the root
cryptexctl(1) command.)
If the device cannot be connected directly the identity can be specified on the command line directly.
A list of options with their descriptions. See DEVICE IDENTIFIERS for the identity arguments.
Required:
-i |
--identifier
IDENTIFIER-v |
--version
VERSION-V |
--variant
VARIANTOptional:
-o |
--output-directory
OUTPUT-DIRECTORY-r |
--replace-H |
--host-identity-z |
--researchThese tags can be retrieved from a device with cryptexctl-identity(1) for offline personalization or retrieved automatically for the host or a connected device.
The following components comprise a host identity for cryptex creation. For more information about these tags and the personalization process, see cryptex-image4(7).
CRYPTEXCTL_UDID--udid option
is not specified and there is no cryptexd(8) daemon on
the host. See cryptexctl(1) for more information about
CRYPTEXCTL_UDID.Create a cryptex bundle using host identity:
$ cryptexctl create -i
com.apple.cryptex-http -v 0.0.1 -V CryptexHTTP -H
/path/to/cryptex-http.dmgCreate a cryptex bundle and specify build identify on command line:
$ cryptexctl create -i
com.apple.cryptex-http -v 0.0.1 -V CryptexHTTP -B 0x4 -C 0x8030 -D 0x1
/path/to/cryptex-http.dmgcryptexctl(1), cryptexctl-identity(1), cryptexctl-personalize(1), cryptexctl-install(1), cryptexctl-nonce(1), cryptex(5)
Introduced in macOS 11.0
| 2 April, 2021 | Darwin |