Commit 4bd4c7cf authored by Fabio Utzig's avatar Fabio Utzig Committed by Fabio Utzig
Browse files

Allow imgtool to generated encrypted ed25519 keys

Signed-off-by: default avatarFabio Utzig <utzig@apache.org>
parent 9686e702
Loading
Loading
Loading
Loading
+1 −1
Changes for scripts/imgtool/main.py: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -42,7 +42,7 @@ def gen_ecdsa_p224(keyfile, passwd):


def gen_ed25519(keyfile, passwd):
    keys.Ed25519.generate().export_private(path=keyfile)
    keys.Ed25519.generate().export_private(path=keyfile, passwd=passwd)


valid_langs = ['c', 'rust']