Add password protection to imgtool.py

Description

imgtool.py currently requires the private key file be plaintext. Add support for password protected versions of this. Since the existing formats have weak password protection, this will probably best be done by implementing support for PKCS#8 for all of the supported key formats, and adding password protection support in the general case.

Status

Assignee

David Brown

Reporter

David Brown

Labels

None

Fix versions

Priority

Low