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: README.md
+21
Original file line number
Diff line number
Diff line change
@@ -6,12 +6,33 @@ Signing is invoked in the `sign` step of [.github/workflows/build-and-sign.yml](
6
6
7
7
See [github.com/SignPath/github-actions](https://github.com/SignPath/github-actions) for a full documentation of SignPath actions.
8
8
9
+
## Policy demonstrations
10
+
9
11
This project demonstrates the following attempts to violate SignPath policies and how they are averted on the control plane:
10
12
11
13
* This step selects the appropriate [signing policy] depending on the branch name. The actual branch must match the branch condition of the selected signing policy. The [`attempt-signing-release`] branch demonstrates how SignPath will detect incorrect attempts.
12
14
* The [`release/malicious-dll`] branch demonstrates how SignPath will detect content-level violations of the [artifact configuration].
13
15
16
+
## Configuration
17
+
18
+
To use this demo with your own SignPath subscription, you need to get access to SignPath's GitHub Actions preview. Please contact [email protected].
19
+
20
+
* Fork this repository
21
+
* In your SignPath organization, create a project with
22
+
* Slug: `Demo_Application`
23
+
* Repository URL: URL of your forked repository
24
+
* Trusted Build Systems: Link _GitHub Actions (Preview)_
25
+
* Add the following artifact configuration as default: [.signpath/artifact-configurations/default.xml](.signpath/artifact-configurations/default.xml)
26
+
* Add a `test-signing` signing policy
27
+
* Add a `release-signing` signing policy with origin verification enabled and restricted to `main` and `release/*` branches
28
+
* Create an [API token] in SignPath and add it as a GitHub Actions secret `SIGNPATH_API_TOKEN` (make sure the user is a submitter in your signing policies)
29
+
* Add your SignPath organization ID as a GitHub Actions variable `SIGNPATH_ORGANIZATION_ID`
0 commit comments