All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v3 ima-evm-utils 0/2] make default hash algorithm dynamic
@ 2021-08-20 22:49 Bruno Meneguele
  2021-08-20 22:49 ` [PATCH v3 ima-evm-utils 1/2] set default hash algorithm in configuration time Bruno Meneguele
  2021-08-20 22:49 ` [PATCH v3 ima-evm-utils 2/2] make SHA-256 the default hash algorithm Bruno Meneguele
  0 siblings, 2 replies; 4+ messages in thread
From: Bruno Meneguele @ 2021-08-20 22:49 UTC (permalink / raw)
  To: zohar, Simon.THOBY, kgold; +Cc: linux-integrity, Bruno Meneguele

In order to allow the distros and users to set their own security policies,
this patch enable a option in configuration time to set the default hash
algorithm to be used. Today, only SHA1 and SHA256 is supported by
ima-evm-utils, but it'll change some day, enabling this dynamic mechanism
facilitates distro maintainers' lives.

At the same time, move from SHA1 to SHA256 default hash algorithm, following
the general movement of dropping SHA1 support in the major distros due to
its weaknesses.

Changelog:
v2: add a config time option for setting DEFAULT_HASH_ALGO.

Bruno Meneguele (2):
  set default hash algorithm in configuration time
  make SHA-256 the default hash algorithm

 README                  |  2 +-
 configure.ac            |  1 +
 m4/default-hash-algo.m4 | 48 +++++++++++++++++++++++++++++++++++++++++
 src/evmctl.c            |  4 ++--
 src/imaevm.h            |  4 ++++
 src/libimaevm.c         |  2 +-
 6 files changed, 57 insertions(+), 4 deletions(-)
 create mode 100644 m4/default-hash-algo.m4

-- 
2.31.1


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-08-20 22:55 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-20 22:49 [PATCH v3 ima-evm-utils 0/2] make default hash algorithm dynamic Bruno Meneguele
2021-08-20 22:49 ` [PATCH v3 ima-evm-utils 1/2] set default hash algorithm in configuration time Bruno Meneguele
2021-08-20 22:55   ` Bruno Meneguele
2021-08-20 22:49 ` [PATCH v3 ima-evm-utils 2/2] make SHA-256 the default hash algorithm Bruno Meneguele

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.