File: debsign.rst

package info (click to toggle)
debusine 0.14.4
  • links: PTS, VCS
  • area: main
  • in suites: forky
  • size: 15,344 kB
  • sloc: python: 198,722; sh: 850; javascript: 335; makefile: 117
file content (23 lines) | stat: -rw-r--r-- 911 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
.. task:: Debsign

Debsign task
------------

This is a :ref:`signing task <task-type-signing>` that signs a
:artifact:`debian:upload` artifact on a signing worker.  It is separate from
the :task:`Sign` task because signing uploads is a customized operation
involving signing multiple files and possibly updating checksums in the
``.changes`` file to match the signed versions of other files.

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

* ``unsigned`` (:ref:`lookup-single`, required): the
  :artifact:`debian:upload` artifact whose contents should be signed
* ``key`` (string, required): the fingerprint of the
  :asset:`debusine:signing-key` asset to sign the upload with, which must
  have purpose ``openpgp``

The output will be provided as a :artifact:`debian:upload` artifact, with
``relates-to`` relations to the unsigned artifact.

Used by the :workflow:`package_upload` workflow.