Skip to content

PKCS11-Proxy is a network proxy for a PKCS11 Library (mirror of original repository)

Notifications You must be signed in to change notification settings

kedros-as/pkcs11-proxy

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PKCS11 Proxy

This fork has the following additional features:

  • support for running in "inetd mode", useful for calling directly from stunnel
  • seccomp syscall filtering (only tested in inetd-mode)
  • getaddrinfo support for IPv6, fallback and DNS resolution
  • TLS-PSK support to optionally encrypt communication

Plus a number of important bug fixes. This version passes the SoftHSM test suite.

An ubuntu PPA that tracks this version is ppa:leifj

Build and Install for windows

I used MINGW64 cross-compiler on MAC to create 64b staticaly linked (with openssl an gcc runtime) pkcs11-proxy.dll

  • install mingw-w64 package:

    $ brew install mingw-w64
    
  • set correct compilers binaries in Toolchain-cross-mingw64.cmake file

  • set correct paths in CMAKE_FIND_ROOT_PATH variable for toolchain and openssl

  • Comment out all targets except client library (pkcs11-proxy). Only client library is currently supported for 64bit version.

  • build library:

    $ mkdir build
    $ cd build
    
    $ cmake -DCMAKE_TOOLCHAIN_FILE=../Toolchain-cross-mingw32.cmake ..
    $ make
    
  • install libpkcs11-proxy.dll

    cp libpkcs11-proxy.dll C:/path/to/application
    

About

PKCS11-Proxy is a network proxy for a PKCS11 Library (mirror of original repository)

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C 91.3%
  • Python 7.2%
  • CMake 1.4%
  • Shell 0.1%