Skip to content

Commit 4bd4c7c

Browse files
committed
Allow imgtool to generated encrypted ed25519 keys
Signed-off-by: Fabio Utzig <[email protected]>
1 parent 9686e70 commit 4bd4c7c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/imgtool/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ def gen_ecdsa_p224(keyfile, passwd):
4242

4343

4444
def gen_ed25519(keyfile, passwd):
45-
keys.Ed25519.generate().export_private(path=keyfile)
45+
keys.Ed25519.generate().export_private(path=keyfile, passwd=passwd)
4646

4747

4848
valid_langs = ['c', 'rust']

0 commit comments

Comments
 (0)