395 Star 1.4K Fork 1.3K

GVPopenEuler / kernel

 / 详情

docker 中无法使用命令 sha512hmac(4.19 内核)

已完成
任务 成员
创建于  
2021-04-13 15:03

针对 openEuler 版本 openEuler 20.03 LTS、openEuler 20.09

现象: docker 容器中执行命令 sha512hmac 报错:

bash-5.0# sha512hmac
libkcapi - Error: Netlink error: sendmsg failed
libkcapi - Error: Netlink error: sendmsg failed
libkcapi - Error: NETLINK_CRYPTO: cannot obtain cipher information for hmac(sha512) (is required crypto_user.c patch missing? see documentation)
Allocation of hmac(sha512) cipher failed (ret=-111)

上游补丁: https://lore.kernel.org/linux-crypto/CAFqZXNs2XysEWVzmfXSczH-+oX5iwwRC3+9fL3tWYEfDRbqLig@mail.gmail.com/T/

该补丁在 Linux Kernel 5.4 中。Linux kernel 4.19 stable 分支认为这个补丁属于 new feature,所以不会合并在 4.19 stable 分支上。另外该补丁需要针对 Linux kernel 4.19 做修改,修改后适用于 4.19 的补丁见附件。

参考:

评论 (2)

woqidaideshi 创建了任务
woqidaideshi 关联仓库设置为openEuler/kernel
展开全部操作日志

Hey woqidaideshi, Welcome to openEuler Community.
All of the projects in openEuler Community are maintained by @openeuler-ci-bot.
That means the developers can comment below every pull request or issue to trigger Bot Commands.
Please follow instructions at https://gitee.com/openeuler/community/blob/master/en/sig-infrastructure/command.md to find the details.

woqidaideshi 上传了附件0001-crypto-user-backport-make-NETLINK_CRYPTO-work-inside.patch
woqidaideshi 修改了描述
woqidaideshi 修改了标题
woqidaideshi 修改了标题
sanglipeng 负责人设置为sanglipeng

此commit最终没有被upstream接受,关闭此issue。
commit 91b05a7e7d8033a90a64f5fc0e3808db423e420a
Author: Ondrej Mosnacek omosnace@redhat.com
Date: Tue, 9 Jul 2019 13:11:24 +0200

Currently, NETLINK_CRYPTO works only in the init network namespace. It
doesn't make much sense to cut it out of the other network namespaces,
so do the minor plumbing work necessary to make it work in any network
namespace. Code inspired by net/core/sock_diag.c.
sanglipeng 任务状态待办的 修改为已完成
sanglipeng 添加了
 
issue_wontfix
标签
sanglipeng 关联分支设置为openEuler-22.09
sanglipeng 关联分支openEuler-22.09 修改为openEuler-20.09

登录 后才可以发表评论

状态
负责人
项目
里程碑
Pull Requests
关联的 Pull Requests 被合并后可能会关闭此 issue
分支
开始日期   -   截止日期
-
置顶选项
优先级
预计工期 (小时)
参与者(3)
5329419 openeuler ci bot 1632792936
C
1
https://gitee.com/openeuler/kernel.git
git@gitee.com:openeuler/kernel.git
openeuler
kernel
kernel

搜索帮助