Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1303290 > unrolled thread
| Started by | Dave Young <dyoung@redhat.com> |
|---|---|
| First post | 2016-01-07 06:30 +0100 |
| Last post | 2016-01-15 09:20 +0100 |
| Articles | 2 — 1 participant |
Back to article view | Back to linux.kernel
Kexec_file_load failed with "Missing required AuthAttr" Dave Young <dyoung@redhat.com> - 2016-01-07 06:30 +0100
Re: Kexec_file_load failed with "Missing required AuthAttr" Dave Young <dyoung@redhat.com> - 2016-01-15 09:20 +0100
| From | Dave Young <dyoung@redhat.com> |
|---|---|
| Date | 2016-01-07 06:30 +0100 |
| Subject | Kexec_file_load failed with "Missing required AuthAttr" |
| Message-ID | <qObj3-3zO-1@gated-at.bofh.it> |
Hi,
I saw the warning "Missing required AuthAttr" when testing kexec, known issue?
Idea about how to fix it?
The kernel is latest linus tree plus sevral patches from Toshi to cleanup io resource structure.
in function pkcs7_sig_note_set_of_authattrs():
if (!test_bit(sinfo_has_content_type, &sinfo->aa_set) ||
!test_bit(sinfo_has_message_digest, &sinfo->aa_set) ||
(ctx->msg->data_type == OID_msIndirectData &&
!test_bit(sinfo_has_ms_opus_info, &sinfo->aa_set))) {
pr_warn("Missing required AuthAttr\n");
return -EBADMSG;
}
The third condition below is true:
(ctx->msg->data_type == OID_msIndirectData &&
!test_bit(sinfo_has_ms_opus_info, &sinfo->aa_set))
I signed the kernel with redhat test key like below:
pesign -c 'Red Hat Test Certificate' -i arch/x86/boot/bzImage -o /boot/vmlinuz-4.4.0-rc8+ -s --force
Thanks
Dave
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[toc] | [next] | [standalone]
| From | Dave Young <dyoung@redhat.com> |
|---|---|
| Date | 2016-01-15 09:20 +0100 |
| Message-ID | <qR7LX-3lR-1@gated-at.bofh.it> |
| In reply to | #1303290 |
Ccing Peter Jones for pesign possible issues.
On 01/07/16 at 01:25pm, Dave Young wrote:
> Hi,
>
> I saw the warning "Missing required AuthAttr" when testing kexec, known issue?
> Idea about how to fix it?
>
> The kernel is latest linus tree plus sevral patches from Toshi to cleanup io resource structure.
>
> in function pkcs7_sig_note_set_of_authattrs():
> if (!test_bit(sinfo_has_content_type, &sinfo->aa_set) ||
> !test_bit(sinfo_has_message_digest, &sinfo->aa_set) ||
> (ctx->msg->data_type == OID_msIndirectData &&
> !test_bit(sinfo_has_ms_opus_info, &sinfo->aa_set))) {
> pr_warn("Missing required AuthAttr\n");
> return -EBADMSG;
> }
>
> The third condition below is true:
> (ctx->msg->data_type == OID_msIndirectData &&
> !test_bit(sinfo_has_ms_opus_info, &sinfo->aa_set))
>
> I signed the kernel with redhat test key like below:
> pesign -c 'Red Hat Test Certificate' -i arch/x86/boot/bzImage -o /boot/vmlinuz-4.4.0-rc8+ -s --force
>
> Thanks
> Dave
[toc] | [prev] | [standalone]
Back to top | Article view | linux.kernel
csiph-web