In Python 3, feeding string objects into hash method is not supported. Hashes work on bytes, not on characters. So we use 'encode()' on the passphrase to get the bytes object. See: * https://docs.python.org/3/howto/pyporting.html#text-versus-binary-data * https://docs.python.org/3/library/hashlib.html#module-hashlib This commit fixes build failures as: Exception: TypeError: Unicode-objects must be encoded before hashing https://jira.digi.com/browse/DEL-3984 Signed-off-by: Tatiana Leon <tatiana.leon@digi.com> |
||
|---|---|---|
| .. | ||
| dey-image-installer.bbclass | ||
| dey-image.bbclass | ||
| trustfence.bbclass | ||