File: generate-key.rst

package info (click to toggle)
debusine 0.14.5
  • links: PTS, VCS
  • area: main
  • in suites: forky
  • size: 15,680 kB
  • sloc: python: 203,768; sh: 851; javascript: 335; makefile: 117
file content (25 lines) | stat: -rw-r--r-- 748 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
.. task:: GenerateKey

GenerateKey task
----------------

This is a :ref:`signing task <task-type-signing>` that generates a new key
on a signing worker and stores it for later use.

The ``task_data`` for this task may contain the following keys:

* ``purpose`` (required): the purpose of the key to generate: ``uefi``,
  or ``openpgp``.
* ``description`` (required): A text string with a human-readable
  description of the new key's intended purpose.

The output will be provided as a :asset:`debusine:signing-key` asset.
You can find the output asset with the debusine client:

.. code-block:: console

    $ debusine list-assets --work-request $work_request_id

.. todo::

   This will need additional parameters once we start supporting HSMs.