Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 Jun 2023 10:12:59 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 272220] security/pam_ssh_agent_auth: fails at runtime after import of OpenSSL 3 (head only)
Message-ID:  <bug-272220-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D272220

            Bug ID: 272220
           Summary: security/pam_ssh_agent_auth: fails at runtime after
                    import of OpenSSL 3 (head only)
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: matthew@FreeBSD.org
          Reporter: madpilot@FreeBSD.org
             Flags: maintainer-feedback?(matthew@FreeBSD.org)
          Assignee: matthew@FreeBSD.org

Hi,

After upgrading to new head (including OpenSSL 3, recently imported)
pam_ssh_agent_auth starts to fail at runtime.

During build it causes a few deprecation warnings about RSA_generate_key(3)=
 and
DSA_generate_parameters(3).

When trying to use sudo (configured to use this pam modules), it fails with
this error:

sudo: unable to initialize PAM: No error: 0

and the following gets logged to /var/log/messages:

sudo[1154]: in try_dlopen(): /usr/local/lib/pam_ssh_agent_auth.so: (null):
Undefined symbol "RSA_generate_key"
sudo[1154]: in openpam_load_module(): no /usr/local/lib/pam_ssh_agent_auth.=
so
found


I tried compiling with `CFLAGS=3D-DOPENSSL_API_COMPAT=3D0x00908000L`. This =
makes
the compile time deprecation warnings disappear but changes nothing at runt=
ime.

Filing this so it can be tracked, and to attach it to the openssl v3 tracki=
ng
bug.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-272220-7788>