Re: [integrity] What should we hash?

On 3/15/14 12:11 AM, Devdatta Akhawe wrote:
> The hash can be computed in a streaming fashion. The final "this is
> ok" can only be done after the hash has been computed on the whole
> file.

OK.  That makes sense.  ;)

>> This seems reasonable, with one caveat: I would prefer there be no optional
>> behavior here.  What the non-optional behavior should be depends on the
>> above question about streaming vs not.
>
> Given my clarification above, can you explain what should not be
> non-optional? Are you saying that the spec should require a
> "encoding=gzip" for files that will be saved to disk in a gzip'ed
> format?

Yes.

-Boris

Received on Saturday, 15 March 2014 04:14:36 UTC