debian-forge-composer/internal/store
Brian C. Lane 642b90c977 Switch blueprint commit to use a random SHA-1
Generating a SHA-1 based on time is not safe. A collision can easily be
generated, and if parallel operations are used they will eventually
collide. This reads random bytes and uses them for the SHA-1 hash. It
will return an error if the rand.Read() fails.
2020-02-04 09:10:38 +01:00
..
store.go Switch blueprint commit to use a random SHA-1 2020-02-04 09:10:38 +01:00
store_test.go Switch blueprint commit to use a random SHA-1 2020-02-04 09:10:38 +01:00