Re: [PATCH v4 00/28] Hash-independent tests
- From
brian m. carlson <sandals@crustytoothpaste.net>
- Date
- May 21, 2018, 23:08 UTC
- Message-ID
- <20180521230845.GG652292@genre.crustytoothpaste.net>
- In-Reply-To
- <63adc6e2-19c6-72c9-1c56-47503e128231@gmail.com>
On Mon, May 21, 2018 at 09:17:39AM -0400, Ben Peart wrote:
> Do you plan to update those tests that hard code the SHA of the index file > itself? For example, t1700-split-index.sh has hard coded values for the SHA > and currently only supports different hard coded values for V4 indexes vs > others.
I have some additional test changes that use the SHA1 prerequisite, plus some that fix issues due to the use of a different hash algorithm or a longer hash algorithm.
Ultimately, I plan to discard the SHA1 prerequisite and update those tests to use a translation table to look up the correct values depending on the hash algorithm in use. However, we haven't decided on the actual algorithm that NewHash will be yet, so I can't write those translation tables at this point.
I plan to start a discussion about the choice of algorithm soon, since we'll soon need to make a decision in order to progress, but I need to do some research and testing in order to have sufficient facts to present to the list.
-- brian m. carlson: Houston, Texas, US OpenPGP: https://keybase.io/bk2204