Thread (11 messages) 11 messages, 3 authors, 2022-07-08

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

From: Roberto Sassu <roberto.sassu@huawei.com>
Date: 2022-06-28 12:32:14
Also in: bpf, keyrings, linux-kselftest, linux-security-module, lkml

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help