Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Apr 2017 12:44:11 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 218727] security/opensc: pkcs11-tool broken if compiled against LibreSSL
Message-ID:  <bug-218727-13@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 218727
           Summary: security/opensc: pkcs11-tool broken if compiled
                    against LibreSSL
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ale@FreeBSD.org
          Reporter: xmj@FreeBSD.org
             Flags: maintainer-feedback?(ale@FreeBSD.org)
          Assignee: ale@FreeBSD.org

Created attachment 181863
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D181863&action=
=3Dedit
conditionally remove gost support

LibreSSL removed support for GOST in the past, so calls to ENGINE_load_gost
from pkcs11-tool will fail:

-----
xmj@mx16:~fractalcells/repos/fractalcells-ports/security/opensc $ pkcs11-to=
ol
--list-slots
sc_dlopen failed: /usr/local/lib/opensc-pkcs11.so: Undefined symbol
"ENGINE_load_gost"
error: Failed to load pkcs11 module
Aborting.
-----

Stealing the voidlinux patch from [1] yields the attached patch, which works
with LibreSSL on HardenedBSD.=20

xmj@mx16:~fractalcells/repos/fractalcells-ports/security/opensc $ pkcs11-to=
ol
--list-slots
Available slots:
No slots.


[1]
https://github.com/voidlinux/void-packages/commit/4b22d402a290a6192853dd399=
4e24128023a3b7e

--=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-218727-13>