mcuboot/scripts/imgtool/keys
Denis Mingulov faf2dd1f6a imgtool: fixed keys/general.py to pass existing unittests
keys.KeyClass._emit is able to use 'file' parameter not as a file
but some object (not only sys.stdout but io.StringIO, like by
tests).

Fixed all explicit checks for sys.stdio usage in favor of
io.TextIOBase, also improve a single unit test to cover
also all the changed methods.

Signed-off-by: Denis Mingulov <denis@mingulov.com>
2024-05-23 14:39:17 +02:00
..
__init__.py imgtool: Add generic ECDSA TLV support 2023-04-26 13:27:44 +02:00
ecdsa.py imgtool: Fix getpriv error return with private key 2023-07-24 09:33:50 +02:00
ecdsa_test.py scripts: Add SPDX headers 2021-01-28 09:36:55 +01:00
ed25519.py imgtool: allow verify mode to use public ed25519 keys 2023-02-25 09:42:31 -03:00
ed25519_test.py scripts: Add SPDX headers 2021-01-28 09:36:55 +01:00
general.py imgtool: fixed keys/general.py to pass existing unittests 2024-05-23 14:39:17 +02:00
privatebytes.py imgtool: fix getpriv format type for keys 2023-01-10 18:03:21 -03:00
rsa.py imgtool: fix getpriv format type for keys 2023-01-10 18:03:21 -03:00
rsa_test.py imgtool: fixed keys/general.py to pass existing unittests 2024-05-23 14:39:17 +02:00
x25519.py imgtool: fix getpriv format type for keys 2023-01-10 18:03:21 -03:00