Skip to content
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

Sign package files #139

Merged
merged 25 commits into from
Oct 5, 2024
Merged

Sign package files #139

merged 25 commits into from
Oct 5, 2024

Conversation

shannah
Copy link
Owner

@shannah shannah commented Jul 25, 2024

No description provided.

Steve Hannah and others added 16 commits October 4, 2024 10:08
…te from the signing certificate.

Added support for certificate chains which allow more complex signing workflows involving a root certificate with a long lifespan and a signing certificate with a short lifespan.
…can be the alias for a root certificate that is used in signed bundles to verify package signatures.

The difference between this and the signing certificate, is that the root certificate does not need to have the accompanying private key on the deployment machine - it is used solely to allow the app bundle to validate the signature of packages.  The root certificate will typically have a very long lifespan (e.g. 10 years), whereas the signing certificate will have a shorter expiry.
…ilds

so that we can easily see at runtime if a version can be verified by the bundle.
the app.xml will have a fingerprint of the root certificate, and the package.json will have fingerprints for the full signing certificate chain.
if the root certificate of the bundle is in the signing certificate chain of the package, then it can be verified.
…ackage command

in this case it will use the trusted-certificates attribute
@shannah shannah merged commit c16f581 into master Oct 5, 2024
9 checks passed
@shannah shannah deleted the sign-package-files branch October 5, 2024 22:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant