- Install Go.
- Clone this repo.
- Configure Go Modules to use the latest experimental Namecoin branches of pkcs11mod and pkcs11 (these will be submitted upstream later).
CGO_ENABLED=1 go build -buildmode c-shared -o libncp11.so
- If building for Windows or macOS, change the output filename to
ncp11.dll
orlibncp11.dylib
.
- If building for Windows or macOS, change the output filename to
- Build ncp11 from source (see above) or download binaries from Namecoin.org.
- Install Encaya and make sure that it's running. (You'll probably want to set it to launch automatically on boot.)
- Install ncp11 like any other PKCS#11 module.
SecurityDevices Enterprise Policy
Original code Copyright Namecoin Developers 2018-2022. ckibproxy
, fedorarealckbiproxy
, and testdata
directories, and loose files in root directory, are licensed under LGPLv2.1+. moz
directory is licensed under GPLv3+.
Based on:
- https://github.com/miekg/pkcs11
- BSD 3-Clause License
- https://github.com/Pkcs11Interop/pkcs11-mock
- Apache 2.0 License