build tools: Fix TypeError when signing builds with Python3
Python2 treats strings as bytes and therefore they are already encoded. Python3 uses unicode and therefore .encode() must be run on the string before hashing it. This fixes it for Python3 but does not affect Python2 Change-Id: I0a111ec23b0e0517075432d58e564595ab0bac67
Loading
Please register or sign in to comment