Use cryptography.hazmat.primitives.constant_time.bytes_eq
instead of allmydata.util.hashutil.timing_safe_compare
.
#336
Labels
The later looks slightly more complex, but should have the same observable behaviour. The main motivation is removing a dependency on
allmydata
.The one use is in
magic_folder.web._is_authorized
.The text was updated successfully, but these errors were encountered: