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?
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... 18.0.1. 1+2_amd64. snap
Snapped openjdk_
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 d2250d29c74ae7f 2d3eb194fa
[FULLYBUILT] Successfully built on lcy02-amd64-010
Revision: a7335859baa3c35
I checked that string against every hash value that 'openssl' can create, and nothing matched. What is that string?