[PATCH v6 5/5] selftests/bpf: Add test for bpf_verify_pkcs7_signature() helper

Roberto Sassu roberto.sassu at huawei.com
Tue Jun 28 12:32:09 UTC 2022


> From: Roberto Sassu
> Sent: Tuesday, June 28, 2022 2:28 PM
> Ensure that signature verification is performed successfully from an eBPF
> program, with the new bpf_verify_pkcs7_signature() helper.
> 
> Generate a testing signature key and compile sign-file from scripts/, so
> that the test is selfcontained. Also, search for the tcb_bic.ko kernel
> module, parse it in user space to extract the raw PKCS#7 signature and send
> it to the eBPF program for signature verification. If tcb_bic.ko is not
> found, the test does not fail.

Ops, tcp_bic.ko.

Roberto



More information about the Linux-security-module-archive mailing list