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/_data/changelog.yml
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@
4
4
version: 1.212.1
5
5
new_features:
6
6
- text: |-
7
-
New [`<jsf-sign>`](/artifact-configuration/reference#jsf-sign) directive to sign JSON files (e.g. CycloneDX 1.x SBOMs) using JSF (JSON Signature Format).
7
+
New [`<jsf-sign>`](/artifact-configuration/reference#jsf-sign) directive to sign JSON files using JSON Signature Format (JSF).
8
8
issues: [SIGN-8481, SIGN-8483]
9
9
bug_fixes:
10
10
- text: |-
@@ -17,7 +17,7 @@
17
17
version: 1.212.1
18
18
improvements:
19
19
- text: |-
20
-
Now, similar to `signpath-application` chart Pods, also `signpath-signservice-<type>` Helm chart Pods are automatically restarted on Helm chart upgrades. In both charts this can be opted-out via `chartSettings.disableDeploymentRestartOnHelmUpgrade`.
20
+
`signpath-signservice-<type>` Helm chart Pods are automatically restarted on Helm chart upgrades (as previously implemented for `signpath-application` chart Pods.) This can be optedout via `chartSettings.disableDeploymentRestartOnHelmUpgrade` for both charts.
Copy file name to clipboardExpand all lines: docs/_data/tables/artifact-configuration.yml
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -106,12 +106,12 @@ signing-file-elements:
106
106
isComposite: "No"
107
107
directive: "[`<xml-sign>`](#xml-sign)"
108
108
extensions: ".xml"
109
-
description: "Use this directive to sign XML files using [XMLDSIG](https://www.w3.org/TR/xmldsig-core1/) (available for Advanced Code Signing). File size limit: 2 MB."
109
+
description: "Sign XML files using [XMLDSIG](https://www.w3.org/TR/xmldsig-core1/) (available for Advanced Code Signing). File size limit: 2 MB."
110
110
- element: "`<json-file>`"
111
111
isComposite: "No"
112
112
directive: "[`<jsf-sign>`](#jsf-sign)"
113
113
extensions: ".json"
114
-
description: "Use this directive to sign JSON files (e.g. CycloneDX 1.x SBOMs) using JSF (JSON Signature Format)."
114
+
description: "Sign JSON files using [JSON Signature Format (JSF)](https://cyberphone.github.io/doc/security/jsf.html?)."
Copy file name to clipboardExpand all lines: docs/artifact-configuration/reference.md
+25-15Lines changed: 25 additions & 15 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -37,7 +37,7 @@ Signing directives are available for several code signing methods. There are thr
37
37
38
38
These signing methods add signatures to existing files. Several platforms including Windows, Apple, and Java provide a variety of file formats that support embedded signatures.
39
39
40
-
Since the file's format does not change, the unsigned files are not needed anymore. SignPath will only return the signed files in Signing Requests.
40
+
Since the file's format does not change, the unsigned files are not needed anymore. SignPath only returns the signed files in Signing Requests.
41
41
42
42
#### Supported embedded formats
43
43
@@ -193,7 +193,7 @@ Note that not all OPC-based formats use OPC signatures:
193
193
194
194
##### Verification {#jar-sign-verification}
195
195
196
-
***Java** always verifies signatures for client components. For server components, you will need to create a policy. Please consult the documentation of your application server or [Oracle's documentation](https://docs.oracle.com/javase/tutorial/security/toolsign/receiver.html).
196
+
***Java** always verifies signatures for client components. For server components, you need to create a policy. Please consult the documentation of your application server or [Oracle's documentation](https://docs.oracle.com/javase/tutorial/security/toolsign/receiver.html).
197
197
***Android** always verifies App signatures, but current Android versions require signing schemes v2 or v3.
198
198
* If you sign **ZIP files**, the receiver needs to manually check the signature before unpacking the file.
199
199
@@ -307,11 +307,19 @@ The `dpkg` command internally uses [`debsig-verify`]. You can also use this tool
307
307
308
308
{% include editions.md feature="file_based_signing.xml" %}
309
309
310
+
{:.panel.tip}
311
+
> XMLDSIG can be used to sign CycloneDX XML SBOMs.
Sign XML files with [XMLDSIG](https://www.w3.org/TR/xmldsig-core1/).
313
316
314
-
This will create an _enveloped signature_ for the entire document.
317
+
This creates an _XMLDSIG enveloped signature_ for the entire document: a `<ds:Signature>` element is added to the existing root element.
318
+
319
+
{:.panel.info}
320
+
> **Terminology**
321
+
>
322
+
> XMLDSIG terminology names this method [_enveloped signature_](https://www.w3.org/TR/xmldsig-core1/#def-SignatureEnveloped) although it does not create an envelope. Since it preserves the existing XML document and structure, it can be treated as an _embedded signature_ for most purpuses. However, the new element might break the root element's schema if signing is not expected by the target schema.
315
323
316
324
The result is a `Signature` element added to the root element (after all existing children) with the following properties:
317
325
@@ -340,11 +348,14 @@ See also:
340
348
341
349
{% include editions.md feature="file_based_signing.jsf" %}
342
350
351
+
{:.panel.tip}
352
+
> JSF can be used to sign CycloneDX v1.x JSON SBOMs.
Sign JSON files (e.g. CycloneDX v1.x SBOMs) with the [JSF (JSON Signature Format)](https://cyberphone.github.io/doc/security/jsf.html).
356
+
Sign JSON files with [JSON Signature Format (JSF))](https://cyberphone.github.io/doc/security/jsf.html).
346
357
347
-
This will create an _embedded signature_ for the entire document. The result is a `signature` property added on root level. Note that on root level an JSON object is expected, JSON arrays are not supported.
358
+
This creates signature of the whole document: a `signature` property is added at the root level. Note that a JSON object is expected, JSON arrays are not supported at the root level.
348
359
349
360
**Supported options:**
350
361
@@ -359,7 +370,7 @@ Sign container images using [Notation (Notary)](/signing-containers#notary).
This will place the signature at the right place within the OCI layout and add relevant references.
399
+
This places the signature at the right place within the OCI layout and add relevant references.
389
400
390
401
**Supported options:**
391
402
@@ -409,7 +420,7 @@ _Note: You can create both [Notary](#notation-sign) and Cosign signatures for th
409
420
410
421
These signing methods create new files that contain both the original file and the signature. Enveloped signatures are available for all file types using the `<file>` element. Since the signed file is _added_, this `<file>` element must be contained in a `<zip-file>` element.
411
422
412
-
While the original file is still available, it often needs to be extracted from the enveloped file in order to be used, ideally after sucessful signature verification. SignPath will preserve the original files in Signing Requests.
423
+
While the original file is still available, it often needs to be extracted from the enveloped file in order to be used, ideally after sucessful signature verification. SignPath preserves the original files in Signing Requests.
413
424
414
425
#### Supported enveloped formats
415
426
@@ -459,8 +470,7 @@ This example signs SLSA Verification Summary Attestations using DSSE:
459
470
</artifact-configuration>
460
471
~~~
461
472
462
-
The resulting artifact will contain both the original file `slsa-vsa.json` and the enveloped signature`slsa-vsa.dsse`.
463
-
473
+
The resulting artifact contains both the original file `slsa-vsa.json` and the enveloped signature`slsa-vsa.dsse`.
These signing methods create new files that contain the signature and a cryptographic hash code of the original file. Detached signatures are available for all file types using the `<file>` element. Since the signature file is _added_, this `<file>` element must be contained in a `<zip-file>` element.
525
535
526
-
For signature verification, both the original file and the detached signature must be present. SignPath will preserve the original files in Signing Requests.
536
+
For signature verification, both the original file and the detached signature must be present. SignPath preserves the original files in Signing Requests.
527
537
528
538
#### Supported detached formats
529
539
@@ -570,7 +580,7 @@ The `create-cms-signature` directive supports the following parameters:
570
580
</artifact-configuration>
571
581
~~~
572
582
573
-
The resulting artifact will contain both the original file `myfile.bin` and the detached signature in `myfile.bin.cms.pem`.
583
+
The resulting artifact contains both the original file `myfile.bin` and the detached signature in `myfile.bin.cms.pem`.
574
584
575
585
##### CMS signature verification
576
586
@@ -610,7 +620,7 @@ The `create-gpg-signature` directive supports the following parameters:
610
620
| `output-file-name` | (mandatory) | | Name of the output file containing the signature. Use `${file.name}` to reference the source file name.
611
621
| `output-encoding` | `ascii-armored` | `ascii-armored`, `binary` | The encoding of the output file containing the signature. Either [ASCII armored, i.e. text-only](https://datatracker.ietf.org/doc/html/rfc4880#section-6.2) (default) or the binary OpenPGP packet format.
612
622
| `hash-algorithm` | `sha256` | `sha256`, `sha384`, `sha512` | Hash algorithm used to create the signature.
613
-
| `version` | `4` | `4` | Specifies the [signature version](https://datatracker.ietf.org/doc/html/rfc4880#section-5.2). Currently only `4` is supported, the attribute is intended to allow to fixate the version in case the default version will be changed in the future.
623
+
| `version` | `4` | `4` | Specifies the [signature version](https://datatracker.ietf.org/doc/html/rfc4880#section-5.2). Currently only `4` is supported, the attribute is intended to allow pinning the version in case the default version changeds in the future.
614
624
615
625
##### Example
616
626
@@ -624,7 +634,7 @@ The `create-gpg-signature` directive supports the following parameters:
624
634
</artifact-configuration>
625
635
~~~
626
636
627
-
The resulting artifact will contain both the original file `myfile.bin` and the detached signature in `myfile.bin.asc`.
637
+
The resulting artifact contains both the original file `myfile.bin` and the detached signature in `myfile.bin.asc`.
628
638
629
639
##### GPG signature verification
630
640
@@ -676,7 +686,7 @@ The `create-raw-signature` directive supports the following parameters:
676
686
</artifact-configuration>
677
687
~~~
678
688
679
-
The resulting artifact will contain both the original file `myfile.bin` and the detached signature in `myfile.bin.sig`.
689
+
The resulting artifact contains both the original file `myfile.bin` and the detached signature in `myfile.bin.sig`.
0 commit comments