mirror of
https://github.com/romanz/amodem.git
synced 2026-04-18 12:16:00 +08:00
gpg: support ed25519 decoding
This commit is contained in:
@@ -60,7 +60,7 @@ def num2bytes(value, size):
|
||||
res.append(value & 0xFF)
|
||||
value = value >> 8
|
||||
assert value == 0
|
||||
return bytearray(list(reversed(res)))
|
||||
return bytes(bytearray(list(reversed(res))))
|
||||
|
||||
|
||||
def pack(fmt, *args):
|
||||
|
||||
Reference in New Issue
Block a user