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

ENH,BLD,SEC: sigstore, SLSA #68

Closed
9 tasks
westurner opened this issue Aug 22, 2023 · 1 comment
Closed
9 tasks

ENH,BLD,SEC: sigstore, SLSA #68

westurner opened this issue Aug 22, 2023 · 1 comment

Comments

@westurner
Copy link

westurner commented Aug 22, 2023

Users can verify lineageOS-built software artifacts with sigstore (and someday, SLSA) manually and with the lineageos updater android app
(because sha256 without crytographic signatures is not good enough according to TUF, Sigstore, and SLSA)

  • https://wiki.lineageos.org/signing_builds
  • Decide whether to start with SLSA, Sigstore, or just TUF
    • SLSA supports Sigstore
    • Sigstore depends on TUF to be verified itself
    • blockcerts/cert-verifier-js is another approach (built with W3C Verfiable Credentials and W3C DID Decentralized Identifier keys instead of OIDC OpenID Connect)
  • Sign LineageOS build list json files
  • Sign LineageOS CI ROM builds
    • Upload artifact signatures to a log
  • Update lineageos-infra/updater?
  • Verify LineageOS ROM downloads with a (python?) CLI tool
    by default, and optionally
    • allow skipping tuf||sigstore verfication for UNOFFICIAL custom builds
      • display a note about unsigned UNOFFICIAL custom builds
  • Verify LineageOS ROM downloads with the LineageOS updater android app
    • sigstore-java is not considered production-ready
    • sigstore-js and tuf-js are IIUC

TUF

TUF: The Update Framework

python-tuf
tuf-js
go-tuf

Sigstore

fulcio

rekor

  • src: https://github.com/sigstore/rekor

    The Rekor project provides a restful API based server for validation and a transparency log for storage. A CLI application is available to make and verify entries, query the transparency log for inclusion proof, integrity verification of the transparency log or retrieval of entries by either public key or artifact.

cosign

sigstore-js

sigstore-java

sigstore-python

SLSA

@westurner westurner changed the title ENH,SEC: sigstore, SLSA ENH,BLD,SEC: sigstore, SLSA Aug 22, 2023
@zifnab06
Copy link
Contributor

we provide sha256. we won't be doing anything else.

@lineageos-infra lineageos-infra locked and limited conversation to collaborators Aug 22, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants