[Bug Report] The command rsautl was deprecated in version 3.0. Use 'pkeyutl' instead.

From: WangYuli
Date: Mon Feb 10 2025 - 02:46:29 EST


Hi all,

When compiling kernel on Debian sid, getting these warnings:

    # SIGN    debian/linux-image-6.14.0-rc2-00008-g0e7332da3d16/lib/modules/6.14.0-rc2-00008-g0e7332da3d16/kernel/net/vm
    w_vsock/vsock_loopback.ko - due to target missing
     ./scripts/sign-file sha512 "certs/signing_key.pem" ./certs/signing_key.x509 debian/linux-image-6.14.0-rc2-00008-g0
    e7332da3d16/lib/modules/6.14.0-rc2-00008-g0e7332da3d16/kernel/net/vmw_vsock/vsock_loopback.ko  
    The command rsautl was deprecated in version 3.0.The command rsautl was deprecated in version 3.0. Use 'pkeyutl' ins
    tead. Use 'pkeyutl' instead.
   
    The command rsautl was deprecated in version 3.0. Use 'pkeyutl' instead.
    The command rsautl was deprecated in version 3.0. Use 'pkeyutl' instead.
    The command rsautl was deprecated in version 3.0. Use 'pkeyutl' instead.
    The command rsautl was deprecated in version 3.0. Use 'pkeyutl' instead.
    The command rsautl was deprecated in version 3.0. Use 'pkeyutl' instead.
    The command rsautl was deprecated in version 3.0. Use 'pkeyutl' instead.
    The command rsautl was deprecated in version 3.0. Use 'pkeyutl' instead.
    # SIGN    debian/linux-image-6.14.0-rc2-00008-g0e7332da3d16/lib/modules/6.14.0-rc2-00008-g0e7332da3d16/kernel/net/hs
    r/hsr.ko - due to target missing
     ./scripts/sign-file sha512 "certs/signing_key.pem" ./certs/signing_key.x509 debian/linux-image-6.14.0-rc2-00008-g0
    e7332da3d16/lib/modules/6.14.0-rc2-00008-g0e7332da3d16/kernel/net/hsr/hsr.ko  
    The command rsautl was deprecated in version 3.0. Use 'pkeyutl' instead.
    The command rsautl was deprecated in version 3.0.The command rsautl was deprecated in version 3.0. Use 'pkeyutl' ins
    tead. Use 'pkeyutl' instead.

    The command rsautl was deprecated in version 3.0. Use 'pkeyutl' instead.

I can't find direct openssl-rsautl calls in kernel code. Not sure if it's implicitly called in kernel or from build tools causing the warning. Reporting as minor bug just in case.

Thanks,

--
WangYuli

Attachment: OpenPGP_0xC5DA1F3046F40BEE.asc
Description: OpenPGP public key

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature