Changes between Initial Version and Version 1 of Ticket #31358, comment 9


Ignore:
Timestamp:
Mar 11, 2020, 1:24:30 PM (5 years ago)
Author:
Jon Moroney

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #31358, comment 9

    initial v1  
    1212?
    1313If so, would that first require an update to go out with the attribute set to 12?
     14
     15Or 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?
     16eg. 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}}}
Back to Top