In-toto: A framework to secure the integrity of software supply chains
1–10 of 20 posts
Re: In-toto: A framework to secure the integrity of software supply chains
#2Does Debian already provide signature on .deb files (that is, provide a manifest of their hashes and and sign each)? If so, you could potentially d/l the files from any source/mirror?
Re: In-toto: A framework to secure the integrity of software supply chains
#3Re: In-toto: A framework to secure the integrity of software supply chains
#4Looking at the Debian example: https://in-toto.io/docs/examples/debian/ Does Debian already provide signature on .deb files (that is, provide a manifest of their hashes and and sign each)? If so, you could potentially d/l the files from any source/mirror?
Which I suppose is what in-toto is at its core, but it's taken me a long time and lots of reading to get to that point, and I'm not seeing the advantages of it (except it being a standard, OK, fair enough).
I must be missing something.
Re: In-toto: A framework to secure the integrity of software supply chains
#5Looking at the Debian example: https://in-toto.io/docs/examples/debian/ Does Debian already provide signature on .deb files (that is, provide a manifest of their hashes and and sign each)? If so, you could potentially d/l the files from any source/mirror?
> Does Debian already provide signature on .deb files (that is, provide a manifest of their hashes and and sign each)?
Yes it does. If you look at https://ftp.debian.org/debian/dists/trixie/InRelease it's a PGP-signed file containing a list of files and their hashes. Each of those files (eg https://ftp.debian.org/debian/dists/trixie/main/binary-amd64...) then contains a list of .deb files along with their shasums. In other words, a Debian repo is a set of deb files, metadata files with their hashes, index files with hashes of the metadata files, and PGP signatures for the indexes, so the whole chain can be verified.
This means that anyone can set up a deb mirror by (essentially, there's some extra steps) copying that entire structure and the integrity is guaranteed because only the upstream admins can sign the metadata.
Re: In-toto: A framework to secure the integrity of software supply chains
#6Re: In-toto: A framework to secure the integrity of software supply chains
#7Looking at the Debian example: https://in-toto.io/docs/examples/debian/ Does Debian already provide signature on .deb files (that is, provide a manifest of their hashes and and sign each)? If so, you could potentially d/l the files from any source/mirror?
That's exactly where I keep getting caught. I've looked at in-toto a number of times, and each time I've been left wondering "how is this better than a signed list of hashes?". Which I suppose is what in-toto is at its core, but it's taken me a long time and lots of reading to get to that point, and I'm not seeing the advantages of it (except it being a standard, OK, fair enough). I must be missing something.
1. I guess this depend on your position. In the context of remote attestation, I think this is also even dangerous / evil.
Re: In-toto: A framework to secure the integrity of software supply chains
#8https://github.com/in-toto/specification/blob/v1.0/in-toto-s...
Re: In-toto: A framework to secure the integrity of software supply chains
#9Looking at the Debian example: https://in-toto.io/docs/examples/debian/ Does Debian already provide signature on .deb files (that is, provide a manifest of their hashes and and sign each)? If so, you could potentially d/l the files from any source/mirror?
Signing files is 90's security.
Yes, of course in 2026 it is still perfectly capable of proving a file has not been tampered with.
The problem is that is insufficient in 2026.
See the "Goals to protect against specific attacks" section[1] of TUF (The Update Framework) spec to give you an idea of modern attack vectors.
[1] https://theupdateframework.github.io/specification/v1.0.33/#...