Back to discussionComment by gtsteve[-]gtsteve7 years ago3 replies#It uses SHA-256 right? My understanding is that there isn't yet a workable collision attack on the SHA-2 family.Regardless, I think it's certainly an excellent hardening step.[-]blattimwind7 years ago2 replies#Infosec in 2019: The server I download code from telling me the hash of said code is "certainly an excellent hardening step".[-]ithkuil7 years ago1 reply#Can't the hash be verified by the client too?subway7 years ago1 reply#Sure, but who tells the client what the correct hash is?Continue this thread — 1 replygtsteve7 years ago#Well I was approaching it from the point of view that you verify the image is correct and then you guarantee you'll always use that image and not some other version given that tags are mutable.darkarmani7 years ago#Why do you need a collision? If you control the build, you control the sha-256 hash. But you can't sign it with a key that you don't have.[-]kbirkeland7 years ago1 reply#A hash only provides integrity. A signature provides integirty and authentication.[-]jjeaff7 years ago1 reply#Integrity is all you need as long as you have verified the original image that you have saved the hash for.kbirkeland7 years ago2 replies#Is your argument that you only need integrity if you verified the authenticity out of band?Continue this thread — 2 replies
gtsteve7 years ago3 replies#It uses SHA-256 right? My understanding is that there isn't yet a workable collision attack on the SHA-2 family.Regardless, I think it's certainly an excellent hardening step.
blattimwind7 years ago2 replies#Infosec in 2019: The server I download code from telling me the hash of said code is "certainly an excellent hardening step".
gtsteve7 years ago#Well I was approaching it from the point of view that you verify the image is correct and then you guarantee you'll always use that image and not some other version given that tags are mutable.
darkarmani7 years ago#Why do you need a collision? If you control the build, you control the sha-256 hash. But you can't sign it with a key that you don't have.
kbirkeland7 years ago1 reply#A hash only provides integrity. A signature provides integirty and authentication.
jjeaff7 years ago1 reply#Integrity is all you need as long as you have verified the original image that you have saved the hash for.
kbirkeland7 years ago2 replies#Is your argument that you only need integrity if you verified the authenticity out of band?
Regardless, I think it's certainly an excellent hardening step.
Continue this thread — 1 reply
Continue this thread — 2 replies