BSD Ports

security/pkcs11-helper 1.29.0 MidnightBSD

Helper library for multiple PKCS#11 providers

System
MidnightBSD
Repository
mports
Maintainer
[email protected]
Last update
Commit
456aa344b1
License
bsd3, gpl2
Categories
security, devel

Description

pkcs11-helper is a library that simplifies the interaction with PKCS#11 providers for end-user applications.

pkcs11-helper allows using multiple PKCS#11 providers at the same time, enumerating available token certificates, or selecting a certificate directly by serialized id, handling card removal and card insert events, handling card re-insert to a different slot, supporting session expiration and much more all using a simple API.

pkcs11-helper is not designed to manage card content, since object attributes are usually vendor specific, and 99% of application need to access existing objects in order to perform signature and decryption.

In the other systems

SystemPortVersion
MidnightBSDsecurity/pkcs11-helper1.29.0
FreeBSDsecurity/pkcs11-helper1.31.0
OpenBSDsecurity/pkcs11-helper1.31.0
NetBSDsecurity/pkcs11-helper1.31.0nb3
DragonFlysecurity/pkcs11-helper1.29.0_3
HardenedBSDsecurity/pkcs11-helper1.31.0
GhostBSDsecurity/pkcs11-helper1.31.0
OPNsensesecurity/pkcs11-helper1.31.0

Install

Binary package:

mport install pkcs11-helper

From mports:

cd /usr/mports/security/pkcs11-helper && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	pkcs11-helper>0:security/pkcs11-helper
LIB_DEPENDS=	libpkcs11-helper.so:security/pkcs11-helper

Dependencies

No port depends on this one.

Configuration

Options name: security_pkcs11-helper

OptionDefaultDescription
DOCSoff
USES
libtool:keepla pathfix pkgconfig tar:bzip2 ssl
Service scripts
none

Files

Manual pages 1
  • pkcs11-helper-1(8)
pkg-plist 17
  • include/pkcs11-helper-1.0/pkcs11.h
  • include/pkcs11-helper-1.0/pkcs11h-certificate.h
  • include/pkcs11-helper-1.0/pkcs11h-core.h
  • include/pkcs11-helper-1.0/pkcs11h-data.h
  • include/pkcs11-helper-1.0/pkcs11h-def.h
  • include/pkcs11-helper-1.0/pkcs11h-engines.h
  • include/pkcs11-helper-1.0/pkcs11h-openssl.h
  • include/pkcs11-helper-1.0/pkcs11h-token.h
  • include/pkcs11-helper-1.0/pkcs11h-version.h
  • lib/libpkcs11-helper.a
  • lib/libpkcs11-helper.la
  • lib/libpkcs11-helper.so
  • lib/libpkcs11-helper.so.1
  • lib/libpkcs11-helper.so.1.0.0
  • libdata/pkgconfig/libpkcs11-helper-1.pc
  • share/aclocal/pkcs11-helper-1.m4
  • share/man/man8/pkcs11-helper-1.8.gz
distinfo 1
FileSizeSHA256
pkcs11-helper-1.29.0.tar.bz2422549996846a3c8395e03d8c0515111dc84d82e6e3648d44ba28cb2dbbbca2d4db7d6
Master sites 1
  • https://github.com/OpenSC/pkcs11-helper/releases/download/pkcs11-helper-1.29.0/

Commit history 1

DateCommitCreditsLog message
456aa344b1 Lucas Holt security/pkcs11-helper: fix OpenSSL 3 build
Match the OpenSSL 3 CRYPTO_EX_dup callback signature while retaining compatibility with older OpenSSL and LibreSSL. AI-Assisted-by: OpenAI Codex <[email protected]> Signed-off-by: Lucas Holt <[email protected]>