[swugenerator] [PATCH 0/3] Add sign subcommand

12 views
Skip to first unread message

INgo...@gmx.net

unread,
Oct 22, 2025, 10:55:48 AM (8 days ago) Oct 22
to swupdate
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

Stefano Babic

unread,
Oct 27, 2025, 11:09:40 AM (3 days ago) Oct 27
to INgo...@gmx.net, swupdate
Hi Ingo,
I have general problems with this patchset, it looks like it was
copy&paste and it was malformed by your mailer. If I try to apply one
patch, I get:

patching file README.rst
patch: **** malformed patch at line 254: SYNOPSIS

Could you take a look ?

Best regards,
Stefano Babic
Reply all
Reply to author
Forward
0 new messages