Skip to content

TypeError: can't concat str to bytes (python 3) #1

Open
@lestephane

Description

@lestephane

Any clue how to make it work in a python 3 context?

$ python mk_ed25519_key.py 
Traceback (most recent call last):
  File "mk_ed25519_key.py", line 95, in <module>
    keydata =  putEd25519Key(sk, c)
  File "mk_ed25519_key.py", line 77, in putEd25519Key
    privkey_block += chr(n & 0xFF)
TypeError: can't concat str to bytes

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions