int-72h / pytoast

A simple, low overhead content distribution system
BSD 3-Clause "New" or "Revised" License
8 stars 2 forks source link

memfile is hashed even if hashing and signing are disabled #6

Closed Kiwii closed 3 years ago

Kiwii commented 3 years ago

--disable-hashing doesn't disable hashing; it just ignores a mismatch. I assume by design as the signature check also uses the new hash, but it could be skipped if signing is disabled as well.

int-72h commented 3 years ago

A bit of a misleading name then, I shoud call it "don't check hash"

int-72h commented 3 years ago

should be fixed in the next unstable commit