mbox series

[v2,0/2] ima_evm_utils: Add tests for ECDSA signature checking

Message ID 20210202155625.3555769-1-stefanb@linux.ibm.com (mailing list archive)
Headers show
Series ima_evm_utils: Add tests for ECDSA signature checking | expand

Message

Stefan Berger Feb. 2, 2021, 3:56 p.m. UTC
This series of patches fixes the calculation of the keyid in the
sign_verify.sh script when it runs on older distros, such as CentoOS 7
or Ubuntu Xenial, and then adds ECDSA signature checking using elliptic
curve keys.

   Stefan

Stefan Berger (2):
  ima_evm_utils: Fix calculation of keyid for older distros
  ima_evm_utils: Add testing with elliptic curves prime192v1 and 256v1

 tests/gen-keys.sh      | 20 ++++++++++++++++++++
 tests/sign_verify.test | 16 ++++++++++++++++
 2 files changed, 36 insertions(+)

Comments

Stefan Berger Feb. 2, 2021, 5:42 p.m. UTC | #1
On 2/2/21 10:56 AM, Stefan Berger wrote:
> This series of patches fixes the calculation of the keyid in the
> sign_verify.sh script when it runs on older distros, such as CentoOS 7
> or Ubuntu Xenial, and then adds ECDSA signature checking using elliptic
> curve keys.

This series passes all relevant Travis tests. Te one failure seems 
unrelated to the modifications in this series.

https://travis-ci.com/github/stefanberger/ima-evm-utils/builds/215764182


>
>     Stefan
>
> Stefan Berger (2):
>    ima_evm_utils: Fix calculation of keyid for older distros
>    ima_evm_utils: Add testing with elliptic curves prime192v1 and 256v1
>
>   tests/gen-keys.sh      | 20 ++++++++++++++++++++
>   tests/sign_verify.test | 16 ++++++++++++++++
>   2 files changed, 36 insertions(+)
>
Mimi Zohar Feb. 4, 2021, 1:08 p.m. UTC | #2
On Tue, 2021-02-02 at 12:42 -0500, Stefan Berger wrote:
> On 2/2/21 10:56 AM, Stefan Berger wrote:
> > This series of patches fixes the calculation of the keyid in the
> > sign_verify.sh script when it runs on older distros, such as CentoOS 7
> > or Ubuntu Xenial, and then adds ECDSA signature checking using elliptic
> > curve keys.
> 
> This series passes all relevant Travis tests. Te one failure seems 
> unrelated to the modifications in this series.
> 
> https://travis-ci.com/github/stefanberger/ima-evm-utils/builds/215764182

Yes, this is a known failure.  The tip of the next-testing branch
changes "eoan" to "groovy" - 056a7d284c15 ("travis: Use Ubuntu 20.10
groovy").

thanks,

Mimi