Add a sign subcommand to sign an existing swu file
Fix and extend test cases for the sign feature
INgo Rah (3):
Fix integration test encrypted output files
Add a sign subcommand to sign an existing swu file
Extend test cases for sign feature
README.rst | 20 +++-
swugenerator/generator.py | 2 +-
swugenerator/main.py | 30 ++++-
swugenerator/signer.py | 43 +++++++
swugenerator/swu_file.py | 107 +++++++++++++++---
.../integration_output/output.swu.enc | Bin 5632 -> 6656 bytes
.../integration_output/signed_output.swu.enc | Bin 6144 -> 7168 bytes
tests/test_integration.py | 71 ++++++++++++
tests/test_main.py | 12 ++
9 files changed, 263 insertions(+), 22 deletions(-)
create mode 100644 swugenerator/signer.py
--
2.47.3