Deployed 59586e60 with MkDocs version: 1.6.1

This commit is contained in:
2026-11-29 19:16:52 +00:00
parent 86aa6132c2
commit 2ea99e27f1
5 changed files with 188 additions and 194 deletions
+57 -6
View File
@@ -1147,6 +1147,28 @@
</span>
</a>
</li>
<li class="md-nav__item">
<a href="#prd-export-prd_path" class="md-nav__link">
<span class="md-ellipsis">
prd export PRD_PATH
</span>
</a>
</li>
<li class="md-nav__item">
<a href="#prd-inspect" class="md-nav__link">
<span class="md-ellipsis">
prd inspect
</span>
</a>
</li>
</ul>
@@ -2826,6 +2848,28 @@
</span>
</a>
</li>
<li class="md-nav__item">
<a href="#prd-export-prd_path" class="md-nav__link">
<span class="md-ellipsis">
prd export PRD_PATH
</span>
</a>
</li>
<li class="md-nav__item">
<a href="#prd-inspect" class="md-nav__link">
<span class="md-ellipsis">
prd inspect
</span>
</a>
</li>
</ul>
@@ -3885,7 +3929,7 @@ through the tunnel. It stops at the first step that fails.</p>
</tr>
<tr>
<td><code>wvd dump WVD_PATHS... OUT_DIR</code></td>
<td>Extract a device's contents (metadata, private key, client ID, VMP) into <code>OUT_DIR/&lt;name&gt;/</code>. With no paths, dumps every WVD in the WVDs directory.</td>
<td>Extract a device's contents (metadata, private key, client ID, VMP) into <code>OUT_DIR/&lt;name&gt;/</code>. With no paths, dumps every WVD in the WVDs directory. <code>dump</code> skips a device whose <code>OUT_DIR/&lt;name&gt;/</code> folder is not empty.</td>
</tr>
<tr>
<td><code>wvd new NAME PRIVATE_KEY CLIENT_ID [FILE_HASHES]</code></td>
@@ -3930,11 +3974,11 @@ through the tunnel. It stops at the first step that fails.</p>
</div>
<hr />
<h2 id="prd"><code>prd</code><a class="headerlink" href="#prd" title="Permanent link">&para;</a></h2>
<p>Manage PlayReady Device (<code>.prd</code>) files. Devices live in the configured PRDs directory. Built on <code>pyplayready</code>.</p>
<p>Manage PlayReady Device (<code>.prd</code>) files. Devices live in the configured PRDs directory. Each command runs the matching <code>pyplayready</code> command.</p>
<div class="language-text highlight"><pre><span></span><code><span id="__span-21-1"><a id="__codelineno-21-1" name="__codelineno-21-1" href="#__codelineno-21-1"></a>unshackle prd COMMAND [ARGS]...
</span></code></pre></div>
<h3 id="prd-new-paths"><code>prd new PATHS...</code><a class="headerlink" href="#prd-new-paths" title="Permanent link">&para;</a></h3>
<p>Make a new <code>.prd</code>. Give either a single folder that contains <code>zgpriv.dat</code> (group key) and <code>bgroupcert.dat</code> (group certificate), or two file paths (group key, then group certificate).</p>
<p>Make a new <code>.prd</code>. Give either a single folder that contains <code>zgpriv.dat</code> (group key) and <code>bgroupcert.dat</code> (group certificate), or two file paths (group key, then group certificate). <code>prd new</code> refuses a certificate chain that has a device certificate already or that has expired.</p>
<table>
<thead>
<tr>
@@ -3953,13 +3997,13 @@ through the tunnel. It stops at the first step that fails.</p>
</tr>
<tr>
<td><code>-o</code>, <code>--output</code></td>
<td>Output directory or <code>.prd</code> file path.</td>
<td>Output directory or <code>.prd</code> file path. The default is the folder that you give, else the PRDs directory.</td>
</tr>
</tbody>
</table>
<p><code>prd new</code> will not overwrite an existing file.</p>
<p><code>prd new</code> does not overwrite an existing file.</p>
<h3 id="prd-reprovision-prd_path"><code>prd reprovision PRD_PATH</code><a class="headerlink" href="#prd-reprovision-prd_path" title="Permanent link">&para;</a></h3>
<p>Reprovision an existing device by replacing its leaf certificate and keys. Only a device of version 3 or higher can do reprovisioning. Accepts the same <code>-e</code> / <code>-s</code> / <code>-o</code> options. By default it overwrites the device in place.</p>
<p>Reprovision an existing device by replacing its leaf certificate and keys. Only a provisioned device of version 3 or higher can do reprovisioning. Accepts the same <code>-e</code> / <code>-s</code> / <code>-o</code> options. By default it overwrites the device in place.</p>
<h3 id="prd-test-device"><code>prd test DEVICE</code><a class="headerlink" href="#prd-test-device" title="Permanent link">&para;</a></h3>
<p>Do a test of a device against the Microsoft PlayReady demo server and print the returned content keys.</p>
<table>
@@ -3983,12 +4027,19 @@ through the tunnel. It stops at the first step that fails.</p>
</tr>
</tbody>
</table>
<p>If the server refuses the licence, <code>prd test</code> logs the server reply and exits with code 0.</p>
<h3 id="prd-export-prd_path"><code>prd export PRD_PATH</code><a class="headerlink" href="#prd-export-prd_path" title="Permanent link">&para;</a></h3>
<p>Write the group key (<code>zgpriv.dat</code>) and the group certificate (<code>bgroupcert.dat</code>) of a device into <code>OUT_DIR/&lt;name&gt;/</code>. <code>-o</code> sets <code>OUT_DIR</code>; the default is the current directory. A version 2 device has no group key, so <code>export</code> writes only the certificate. If the folder is not empty, <code>export</code> writes nothing.</p>
<h3 id="prd-inspect"><code>prd inspect</code><a class="headerlink" href="#prd-inspect" title="Permanent link">&para;</a></h3>
<p>Show each certificate of a certificate chain: type, security level, expiry date, name, features and keys. Give <code>-d</code> with a <code>.prd</code> file, or <code>-c</code> with a chain file such as <code>bgroupcert.dat</code>.</p>
<div class="admonition example">
<p class="admonition-title">Example</p>
<div class="language-shell highlight"><pre><span></span><code><span id="__span-22-1"><a id="__codelineno-22-1" name="__codelineno-22-1" href="#__codelineno-22-1"></a>unshackle<span class="w"> </span>prd<span class="w"> </span>new<span class="w"> </span>./device_folder/
</span><span id="__span-22-2"><a id="__codelineno-22-2" name="__codelineno-22-2" href="#__codelineno-22-2"></a>unshackle<span class="w"> </span>prd<span class="w"> </span>new<span class="w"> </span>zgpriv.dat<span class="w"> </span>bgroupcert.dat<span class="w"> </span>-o<span class="w"> </span>/out/dir
</span><span id="__span-22-3"><a id="__codelineno-22-3" name="__codelineno-22-3" href="#__codelineno-22-3"></a>unshackle<span class="w"> </span>prd<span class="w"> </span>reprovision<span class="w"> </span>mydevice.prd
</span><span id="__span-22-4"><a id="__codelineno-22-4" name="__codelineno-22-4" href="#__codelineno-22-4"></a>unshackle<span class="w"> </span>prd<span class="w"> </span><span class="nb">test</span><span class="w"> </span>mydevice.prd<span class="w"> </span>-sl<span class="w"> </span><span class="m">3000</span><span class="w"> </span>-c<span class="w"> </span>aescbc
</span><span id="__span-22-5"><a id="__codelineno-22-5" name="__codelineno-22-5" href="#__codelineno-22-5"></a>unshackle<span class="w"> </span>prd<span class="w"> </span><span class="nb">export</span><span class="w"> </span>mydevice.prd<span class="w"> </span>-o<span class="w"> </span>./out_dir
</span><span id="__span-22-6"><a id="__codelineno-22-6" name="__codelineno-22-6" href="#__codelineno-22-6"></a>unshackle<span class="w"> </span>prd<span class="w"> </span>inspect<span class="w"> </span>-d<span class="w"> </span>mydevice.prd
</span></code></pre></div>
</div>
<hr />