[Bug 272220] security/pam_ssh_agent_auth: fails at runtime after import of OpenSSL 3 (head only)
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 26 Jun 2023 10:12:59 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=272220 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=-DOPENSSL_API_COMPAT=0x00908000L`. This makes the compile time deprecation warnings disappear but changes nothing at runtime. Filing this so it can be tracked, and to attach it to the openssl v3 tracking bug. -- You are receiving this mail because: You are the assignee for the bug.