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

Clarify what must be retained during source migrations #1079

Closed
TomHennen opened this issue Jun 17, 2024 · 4 comments
Closed

Clarify what must be retained during source migrations #1079

TomHennen opened this issue Jun 17, 2024 · 4 comments

Comments

@TomHennen
Copy link
Contributor

          verified timestamps are provided by the SCP, so when I migrate the source to a new SCP, I think this means that the org must keep the original repo around to keep the "true" timestamps. 

Or else, we may be saying that SCPs must provide a way to export the verified timestamps somehow. We should consider making that clearer here, and I'm not sure which way is better! I'm not sure SCPs would import timestamps like that.

Originally posted by @zachariahcox in #1037 (comment)

@TomHennen
Copy link
Contributor Author

See also this discussion

@zachariahcox
Copy link
Contributor

I think we are strongly leaning towards attestations being "from the perspective of a specific authority."

Migrating a repo between two servers will be inherently lossy.
If a repo moves from github to gitlab, gitlab will not trust the timestamps issued by github, but github might still verify an attestation it issued in the past.

It is not clear if gh would continue to host attestation for repos that have been taken down (almost certainly it would not under normal circumstances), but the signed attestations can be downloaded and migrated (and served) if desired by the new host.

@zachariahcox
Copy link
Contributor

I propose we add:

"SCPs are not required to export any information during repo migration. All provenance attestations are issued from the perspective of the SCP and are based on knowledge that may or may not be publicly available."

@zachariahcox zachariahcox moved this from Ready for work! to Let's close it. in SLSA Source Track Sep 30, 2024
@zachariahcox
Copy link
Contributor

we have removed most of this related text from the source-requirements doc. marking closed for now.

@github-project-automation github-project-automation bot moved this from Let's close it. to Done in SLSA Source Track Nov 18, 2024
@github-project-automation github-project-automation bot moved this from 🆕 New to ✅ Done in Issue triage Nov 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Status: Done
Development

No branches or pull requests

2 participants