Are modules in private repos impacted by this in any way? Would they show-up in the index somehow?
Are modules in private repos impacted by this in any way? Would they show-up in the index somehow?
If you _depend on_ private modules, you need to follow these instructions: https://tip.golang.org/cmd/go/#hdr-Module_configuration_for_...
In any case, private modules never show up in the index, mirror, or checksum database.
[1]: https://tip.golang.org/cmd/go/#hdr-Module_configuration_for_...
That just seems wasteful and clutterish. If too much of that occurs, the index could be littered with it. Sort of like old PGP keys that never go away.
More seriously, if the hashes turn out to have serious security flaws, someone may be able to reconstruct the file someday.
Unlikely. The pidgeon-hole principle applies here, there are many equally likely Go source files that hash to the same thing (regardless of hash function).
It would seems like it will cause a lot of drama as this actually rolls out.