Skip to content

Question: is legacy.so really necessary in pkcs11 Dracut setup? #560

Description

@oldium

Hi, sorry, this is more a question than an issue (for now). I am trying to get the latest version v23 built with Debian and its latest pkcs11 Dracut pin patches. That lead me to actually trying to verify if the pkcs11 pin has a chance to work (at least theoretically for me).

There was one bigger change in Debian over time for the versions I build - switch from OpenSSL v1 to v3 and addition of legacy.so. It turns out the loading of legacy.so is disabled by default in OpenSSL v3 and you need a special configuration to make it working (i.e. openssl.cnf). I do not see the configuration being created, so the actual question is whether legacy.so is really loaded. Experiments with Claude confirmed that it is not loaded and is disabled-by-default (also confirmed by OpenSSL migration guide) - both Debian and Fedora.

It is this line:

/usr/lib64/ossl-modules/legacy.so \

In other words, I think it is useless and can be removed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions