chainbreaker icon indicating copy to clipboard operation
chainbreaker copied to clipboard

Fix some bytes/str conversion issue

Open hexchain opened this issue 2 years ago • 0 comments

The output of the keychain password hash has been broken because using a bytes object for %s produces repr-type output. This PR fixes that.

Also, export file names were all numbers because bytes[n] is an int and str(bytes[n]) is just the integer converted to a string. Since we expect PrintNames to always be a bytes object, we should be able to use decode and ignore errors.

hexchain avatar May 19 '23 15:05 hexchain