[0/3] mtd-utils: Add UBIFS offline signing support
mbox series

Message ID 20190401143511.309-1-s.hauer@pengutronix.de
Headers show
Series
  • mtd-utils: Add UBIFS offline signing support
Related show

Message

Sascha Hauer April 1, 2019, 2:35 p.m. UTC
This series adds offline signing support for mkfs.ubifs. This is the
userspace part for creating offline signed images. It needs the kernel
part just sent out as "ubifs: support offline signed images".

Comments welcome.

Sascha

Sascha Hauer (3):
  ubifs-media: Update to Linux-5.0
  ubifs-media: Add authentication support
  mkfs.ubifs: Add authentication support

 include/mtd/ubifs-media.h           |  68 ++++-
 ubifs-utils/Makemodule.am           |   3 +-
 ubifs-utils/mkfs.ubifs/lpt.c        |  12 +
 ubifs-utils/mkfs.ubifs/mkfs.ubifs.c | 169 +++++++++---
 ubifs-utils/mkfs.ubifs/mkfs.ubifs.h |   1 +
 ubifs-utils/mkfs.ubifs/sign.c       | 405 ++++++++++++++++++++++++++++
 ubifs-utils/mkfs.ubifs/sign.h       |  80 ++++++
 ubifs-utils/mkfs.ubifs/ubifs.h      |  22 +-
 8 files changed, 716 insertions(+), 44 deletions(-)
 create mode 100644 ubifs-utils/mkfs.ubifs/sign.c
 create mode 100644 ubifs-utils/mkfs.ubifs/sign.h

Comments

Sascha Hauer May 14, 2019, 8:38 a.m. UTC | #1
On Mon, Apr 01, 2019 at 04:35:08PM +0200, Sascha Hauer wrote:
> This series adds offline signing support for mkfs.ubifs. This is the
> userspace part for creating offline signed images. It needs the kernel
> part just sent out as "ubifs: support offline signed images".

This series needs an update to struct ubifs_sig_node. I'll send an
updated series once Richard is happy with the corresponding kernel
patch.

Sascha