Skip to content

Add sigv3 support for IMA and EVM and all key types

Stefan Berger linux-integrity 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest8 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8Implement imaevm_create_sigv3 for creating V3 signaturessrc/imaevm.h src/libimaevm.c+72 -30 replies
2/8Implement support for IMA signatures V3 signing schemesrc/evmctl.c+67 -200 replies
3/8Implement support for EVM signatures V3 signing schemesrc/evmctl.c+31 -140 replies
4/8Support v3 IMA and EVM file signatures with --v3 option.README src/evmctl.c+14 -20 replies
5/8Use imaevm_create_sigv3 for fsverity signature creationsrc/evmctl.c+9 -150 replies
6/8tests: Add new --v3 option to sign_verify teststests/sign_verify.test+25 -60 replies
7/8Allow verification of EVM_XATTR_PORTABLE_DIGSIG with sigv3src/evmctl.c+1 -10 replies
8/8Allow hashing for sigv3 on EVM_XATTR_PORTABLE_DIGSIGsrc/libimaevm.c+2 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [ima-evm-utils: PATCH 0/8] Add sigv3 support for IMA and EVM and all key types

This series of patches adds sigv3 support for IMA and EVM for all currently supported key types (RSA, ECDSA, ECRDSA, SM2). evmctl gets a --v3 option for creating the sigv3 signatures and also a --v2 option for creating the old sigv2 signatures. --v2 is still the default.

Some test cases are duplicated to test with --v3.

Regards,
Stefan

Stefan Berger (8):
Implement imaevm_create_sigv3 for creating V3 signatures Implement support for IMA signatures V3 signing scheme Implement support for EVM signatures V3 signing scheme Support v3 IMA and EVM file signatures with --v3 option. Use imaevm_create_sigv3 for fsverity signature creation
tests: Add new --v3 option to sign_verify tests Allow verification of EVM_XATTR_PORTABLE_DIGSIG with sigv3 Allow hashing for sigv3 on EVM_XATTR_PORTABLE_DIGSIG

 README                 |   6 +-
 src/evmctl.c           | 170 ++++++++++++++++++++++++++++-------------
 src/imaevm.h           |   7 ++
 src/libimaevm.c        |  69 ++++++++++++++++-
 tests/sign_verify.test |  31 ++++++--
 5 files changed, 221 insertions(+), 62 deletions(-)
Signature · 1 line
2.53.0