reproducible-containers/repro-get

Embed epoch timestamp to SHA256SUMS

Opened this issue · 0 comments

epoch := st.ModTime().UTC()
if sourceDateEpoch != nil {
epoch = *sourceDateEpoch
}

ModTime() is not reliable on git repo, so it should be embedded in the hash file.

e.g.,

0000000000000000000000000000000000000000000000000000000000000000  /repro-get?epoch=1639958400