mcuboot/scripts
Fabio Utzig 8f289ba5f9 imgtool: fix getpriv format type for keys
A previous change was added to allow the `getpriv` command to dump ec256
keys in both openssl and pkcs8. That PR did not touch other key file
types which resulted in errors using that command with RSA, X25519, etc.

This commit generalizes the passing of the `format` parameter, so each
key type can decide which format it allows a dump to be produced in,
and what default to use.

Fixes #1529

Signed-off-by: Fabio Utzig <utzig@apache.org>
2023-01-10 18:03:21 -03:00
..
imgtool imgtool: fix getpriv format type for keys 2023-01-10 18:03:21 -03:00
assemble.py assemble.py: don't read BOARD.dts.pre.tmp 2021-12-08 14:18:18 -07:00
flash.sh scripts: Add SPDX headers 2021-01-28 09:36:55 +01:00
gdb-boot.sh scripts: Add SPDX headers 2021-01-28 09:36:55 +01:00
imgtool.nix imgtool: prefer cbor2 over cbor 2021-11-03 14:19:31 +01:00
imgtool.py scripts: Add SPDX headers 2021-01-28 09:36:55 +01:00
jgdb.sh scripts: Add SPDX headers 2021-01-28 09:36:55 +01:00
jl.sh scripts: Add SPDX headers 2021-01-28 09:36:55 +01:00
mcubin.bt sim: Add debugging ptable to image dumps 2019-08-15 14:23:37 -05:00
requirements.txt imgtool: prefer cbor2 over cbor 2021-11-03 14:19:31 +01:00
setup.py imgtool: prefer cbor2 over cbor 2021-11-03 14:19:31 +01:00