You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/user/guides/signing_service.md
+70-3Lines changed: 70 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,8 +1,10 @@
1
1
# Signing Service Creation
2
2
3
+
## Metadata
4
+
3
5
To sign your APT release files on your `pulp_deb` publications, you will first need to create a signing service of type `AptReleaseSigningService`.
4
6
5
-
## Prerequisites
7
+
###Prerequisites
6
8
7
9
Creating a singing service requires the following:
8
10
@@ -26,7 +28,7 @@ Creating a singing service requires the following:
26
28
}
27
29
```
28
30
29
-
## Example Signing Script
31
+
### Example Signing Script
30
32
31
33
The following example signing service script is used as part of the `pulp_deb` test suite:
32
34
@@ -66,7 +68,7 @@ echo { \
66
68
67
69
It assumes that both public and secret key for `GPG_KEY_ID="Pulp QE"` is present in the GPG home of the Pulp user and that the secret key is not protecteded by a password.
68
70
69
-
## Creation Steps
71
+
###Creation Steps
70
72
71
73
1. Add the public key to your pulp users GPG home, for example, if pulp workers are running as the `pulp` user:
72
74
```bash
@@ -84,3 +86,68 @@ It assumes that both public and secret key for `GPG_KEY_ID="Pulp QE"` is present
84
86
pulp signing-service show --name=PulpQE | jq -r .pulp_href
85
87
```
86
88
5. Start [using the signing service to sign metadata](https://staging-docs.pulpproject.org/pulp_deb/docs/user/guides/publish/#metadata-signing).
89
+
90
+
91
+
## Packages
92
+
93
+
!!! tip "New in 3.9.0 (Tech Preview)"
94
+
95
+
Package signing is available as a tech preview beginning with pulp_deb 3.9.0. Unlike metadata
96
+
signing, package signing modifies the `.deb` file directly, so it uses the
97
+
`deb:AptPackageSigningService` class.
98
+
99
+
### Prerequisites
100
+
101
+
- Install `debsigs` and ensure it can access the private key you want to use.
102
+
- Familiarize yourself with the general signing instructions in
0 commit comments