-
Notifications
You must be signed in to change notification settings - Fork 2
chore: prepare SignPath code signing (policy page, gated release steps) #90
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,40 @@ | ||
| # Code signing policy | ||
|
|
||
| > **Status:** application to the SignPath Foundation open source program is pending. | ||
| > Until it is approved, releases are not signed and this policy describes how they will be. | ||
|
|
||
| Free code signing provided by [SignPath.io](https://about.signpath.io/), certificate by [SignPath Foundation](https://signpath.org/). | ||
|
|
||
| ## What gets signed | ||
|
|
||
| Only binaries built from this repository's source by the [Release workflow](../.github/workflows/release.yml) | ||
| on GitHub Actions, from a `v*` tag: | ||
|
|
||
| - `ConsoleMode-Setup-x64.exe` (installer) | ||
| - `ConsoleMode-Portable-x64.exe` (portable) | ||
|
|
||
| Nothing built on a developer machine is signed. | ||
|
|
||
| ## Team roles | ||
|
|
||
| | Role | Members | | ||
| |------|---------| | ||
| | Committers and reviewers | [Filipe Moreira (@lippdev)](https://github.com/lippdev) | | ||
| | Approvers | [Filipe Moreira (@lippdev)](https://github.com/lippdev) | | ||
|
|
||
| Pull requests from people outside this list, and from automated agents, are reviewed by a committer | ||
| before merge, and every pull request must pass the CI build. Each signing request is approved | ||
| manually by an approver. All members use multi-factor authentication on GitHub and SignPath. | ||
|
|
||
| ## Privacy | ||
|
|
||
| Console Mode does not collect or send telemetry. It connects to the internet only to: | ||
|
|
||
| - check for new versions through the public GitHub Releases API (`api.github.com`), without | ||
| sending any personal data, and download an update when the user accepts it; | ||
| - open pages in the user's browser when the user asks for it (the feedback form on GitHub, | ||
| the releases page, links to other apps). | ||
|
|
||
| Settings, the display backup and the log stay on the user's PC, in `%LOCALAPPDATA%\ConsoleMode` | ||
| (installer) or `ConsoleMode_Data` next to the executable (portable). The installer version can be | ||
| removed from Windows Settings → Apps; the portable version by deleting its file and folder. |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This condition only checks
SIGNPATH_ORGANIZATION_ID, so configuring the organization beforeSIGNPATH_PROJECT_SLUG,SIGNPATH_POLICY_SLUG, orSIGNPATH_API_TOKENmakes the subsequent SignPath action run with incomplete inputs and fail the tagged release. The PR describes signing as gated on all repository variables and the secret; gate all signing steps on the complete configuration, or fail early with a clear setup error before publishing.Technical details