⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 dfukeygenerate.html

📁 BlueCore supports a mechanism called Device Firmware Upgrade (DFU) to enable its software and config
💻 HTML
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

<!-- Copyright 2001, 2002 Cambridge Silicon Radio Limited -->

<html>
  <head>
    <title>CSR DFU Tools - dfukeygenerate</title>
  </head>

  <body bgcolor="white">
    <h1 align=center>CSR DFU Tools - dfukeygenerate</h1>

    The <code>dfukeygenerate</code> tool is used to create new pairs of public and private keys. See the description below for details.

    <h2><a name="ka">Generating A Pair of Keys</a></h2>

    <dl>
      <dt>Usage</dt>
      <dd>
	<code><b>dfukeygenerate</b> [-v] -o&nbsp;<i>OUTPUTBASENAME</i> [-r&nbsp;<i>RANDOMFILE</i>] [-i&nbsp;<i>INFORMATION</i>]</code>
      </dd>

      <dt>Parameters</dt>
      <dd>
	<dl>
	  <dt><code>-v</code></dt>
	  <dd>Run in verbose mode, displaying detailed information about the actions performed.</dd>

	  <dt><code>-o&nbsp;<i>OUTPUTBASENAME</i></code></dt>
	  <dd>Base name for the output file, to which <code>.private.key</code> and <code>.public.key</code> extensions are added.</dd>

	  <dt><code>-r&nbsp;<i>RANDOMFILE</i></code></dt>
	  <dd>Name of an optional file containing random data to use as a seed for the key generator. If this parameter is omitted then alternative mechanisms will be employed to generate random data.</dd>

	  <dt><code>-i&nbsp;<i>INFORMATION</i></code></dt>
	  <dd>A comment string to be included in the key files.  This comment is used to mark files on signing.</dd>
	</dl>
      </dd>

      <dt>Remarks</dt>
      <dd>
	Generate a matching pair of private and public keys. The resulting keys can be used for either the stack software and protected stack persistent store, or for the application software and protected application persistent store. The same pair of keys can be used for both these purposes, although such use is discouraged.
	<p>
	The private key is only used for the generation of signatures with <a href="dfusign.html" title="dfusign"><code>dfusign</code></a>. It should be kept secret and never supplied to a third party. The key should also be kept safe; if the key is lost it may not be possible to upgrade devices that have been programmed with the corresponding public key.
	<p>
	The public key is used to verify signatures, and is converted to suitable forms with <a href="keyinserter.html" title="dfukeyinsert"><code>dfukeyinsert</code></a>. It may be freely distributed without sacrificing security.
	<p>
	If a source of random data is specified, then the least significant two bits of the first 1024 bytes are used. This enables either text files or a continuous data stream (such as a hardware true random number generator) to be used.
      </dd>

      <dt>Example</dt>
      <dd>
	<code>dfukeygenerate -v -o&nbsp;my_stack_key -r&nbsp;/dev/random</code>
      </dd>
    </dl>

    <p align=right><font size="-1">&copy; 2001, 2002, 2003 <a href="http://www.csr.com" title="CSR" target="_blank">CSR</a></font></p>

  </body>
</html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -