hook zipfile.ZipExtFile to check secure hash sums

Aug. 29, 2012
11:08 a.m.
I am checking the sha256 sums of all the files in a zip archive as it is being extracted by overriding ZipExtFile._update_crc, but it is inconvenient. It would be nice to have a hook, for example the ZipExtFile constructor could be a property of ZipFile and conveniently replaced with a ZipExtFile subclass.
4583
Age (days ago)
4585
Last active (days ago)
4 comments
3 participants
participants (3)
-
Daniel Holth
-
Guido van Rossum
-
Serhiy Storchaka