Changes between Initial Version and Version 1 of Ticket #31358, comment 9
- Timestamp:
- Mar 11, 2020, 1:24:30 PM (5 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #31358, comment 9
initial v1 12 12 ? 13 13 If so, would that first require an update to go out with the attribute set to 12? 14 15 Or would this be on a case by case basis for each hasher? If the later case would it not make sense to simply add a length check on each of the relevant hashers? 16 eg. for pbkdf2 17 {{{ 18 def must_update(self, encoded): 19 algorithm, iterations, salt, hash = encoded.split('$', 3) 20 return int(iterations) != self.iterations || len(salt) != self.salt_length 21 }}}