Changeset b2787106


Ignore:
Timestamp:
02/06/2024 08:48:56 PM (4 months ago)
Author:
Xi Ruoyao <xry111@…>
Branches:
12.1, ken/TL2024, lazarus, rahul/power-profiles-daemon, trunk, xry111/llvm18
Children:
7064886
Parents:
cb94e8a
git-author:
Xi Ruoyao <xry111@…> (02/05/2024 11:04:26 AM)
git-committer:
Xi Ruoyao <xry111@…> (02/06/2024 08:48:56 PM)
Message:

keyutils: Add more kernel configuration needed by the test suite, ...

and document a known failure due to the removal of SHA1 with RSA
signed certificate from the kernel.

Files:
3 edited

Legend:

Unmodified
Added
Removed
  • general/genlib/keyutils-test-kernel.xml

    rcb94e8a rb2787106  
    1010
    1111-*- <emphasis role='blue'>C</emphasis>ryptographic API ---&gt;                                              [CRYPTO]
     12  <emphasis role='blue'>P</emphasis>ublic-key cryptography ---&gt;
     13    &lt;*/M&gt; <emphasis role='blue'>R</emphasis>SA (Rivest-Shamir-Adleman)                               [CRYPTO_RSA]
     14  [*] <emphasis role='blue'>A</emphasis>symmetric (public-key cryptographic) key type ---&gt;  [ASYMMETRIC_KEY_TYPE]
     15    &lt;*&gt; <emphasis role='blue'>A</emphasis>symmetric public-key crypto algorithm subtype
     16                                            ...  [ASYMMETRIC_PUBLIC_KEY_SUBTYPE]
     17    # If not built into the kernel, [SYSTEM_TRUSTED_KEYRING] won't show up;
     18    # building as a module won't work:
     19    &lt;*&gt;   <emphasis role='blue'>X</emphasis>.509 certificate parser                     [X509_CERTIFICATE_PARSER]
    1220  <emphasis role='blue'>C</emphasis>ertificates for signature checking ---&gt;
    1321    [*] <emphasis role='blue'>P</emphasis>rovide system-wide ring of trusted keys        [SYSTEM_TRUSTED_KEYRING]
  • general/genlib/keyutils.xml

    rcb94e8a rb2787106  
    119119      If <xref linkend='lsb-tools'/> is not installed, the test suite will
    120120      output some lines complaining the <command>lsb_release</command>
    121       command not available but it won't affect the test result.
     121      command not available but it won't affect the test result.  One test
     122      named <literal>TRY ADDING ASYMMETRIC KEYS</literal> is known to fail
     123      due to the removal of the support for SHA1 with RSA signature
     124      algorithm from Linux kernel version 6.7 <!-- commit 16ab7cb5825f -->
     125      or newer.
    122126    </para>
    123127
  • kernel-config/general/genlib/keyutils-test.toml

    rcb94e8a rb2787106  
    66SECONDARY_TRUSTED_KEYRING='*'
    77SYSTEM_BLACKLIST_KEYRING='*'
     8ASYMMETRIC_KEY_TYPE='*'
     9ASYMMETRIC_PUBLIC_KEY_SUBTYPE='*'
     10CRYPTO_RSA='*M'
     11
     12[X509_CERTIFICATE_PARSER]
     13value = '*'
     14comment = [
     15  "If not built into the kernel, [SYSTEM_TRUSTED_KEYRING] won't show up;",
     16  "building as a module won't work"
     17]
    818
    919[CRYPTO_LIB_CHACHA20POLY1305]
Note: See TracChangeset for help on using the changeset viewer.