Comment 4 for bug 1979844

Revision history for this message
John Neffenger (jgneff) wrote : Re: Add SHA-512 hash code to snap package build status page

Thank you, William.

> A simple solution might be to log hashes at the end of the build log.

Yes, a hash code in the build log would solve the problem, too! I was surprised to find no hash value at the end of the log file right after the package is created:

  Snapping...
  Snapped openjdk_18.0.1.1+2_amd64.snap
  Revoking proxy token...

I could print the hash value myself, but Snapcraft doesn't provide an override hook for the 'snap' or 'pack' step of the lifecycle.

> Snaps are often referred to by (a weird encoding of) their SHA3-384 ...

Is that the revision string?

  Build status
  [FULLYBUILT] Successfully built on lcy02-amd64-010
  Revision: a7335859baa3c35d2250d29c74ae7f2d3eb194fa

I checked that string against every hash value that 'openssl' can create, and nothing matched. What is that string?