forked from kenzuya/unshackle
refactor(commands): run the prd and wvd dump commands through the upstream pyplayready and pywidevine CLIs
This commit is contained in:
@@ -143,6 +143,7 @@ The `wvd` command group manages `.wvd` files.
|
||||
|
||||
`delete` removes a device (with a confirmation prompt). `dump` extracts a
|
||||
device's contents (metadata, private key, Client ID, VMP) into a folder.
|
||||
`dump` does not write into a device folder that is not empty.
|
||||
|
||||
!!! warning "v1 WVD files must be migrated"
|
||||
If loading a device fails with a message about a "v1 WVD file", it was made with
|
||||
@@ -169,8 +170,8 @@ The `prd` command group creates and maintains `.prd` files.
|
||||
$ unshackle prd new ./device_folder/
|
||||
```
|
||||
|
||||
unshackle makes a fresh leaf certificate and writes the device to the PRDs
|
||||
directory (or to `-o/--output`). Use `-e/--encryption_key` and `-s/--signing_key`
|
||||
unshackle makes a fresh leaf certificate. The device goes into the folder that
|
||||
you give, or into the PRDs directory when you give two files, or to `-o/--output`. Use `-e/--encryption_key` and `-s/--signing_key`
|
||||
to supply your own ECC keys instead of generating them.
|
||||
|
||||
=== "Reprovision"
|
||||
@@ -194,6 +195,17 @@ The `prd` command group creates and maintains `.prd` files.
|
||||
`-sl/--security-level` accepts `150`, `2000`, or `3000` (default `2000`).
|
||||
`-c/--ckt` accepts `aesctr` or `aescbc`.
|
||||
|
||||
=== "Export / inspect"
|
||||
|
||||
```console
|
||||
$ unshackle prd export ./data/PRDs/mydevice.prd -o ./out
|
||||
$ unshackle prd inspect -d ./data/PRDs/mydevice.prd
|
||||
```
|
||||
|
||||
`export` writes the group key and group certificate of a device into a folder.
|
||||
`inspect` shows each certificate in the chain of a device (`-d`) or of a chain
|
||||
file (`-c`).
|
||||
|
||||
## Selecting which device to use: the `cdm` config
|
||||
|
||||
A device on disk is not enough. You must tell unshackle which device to use
|
||||
|
||||
Reference in New Issue
Block a user