{ "name": "libp11", "version": "0.4.21", "summary": "PKCS#11 wrapper library with the OpenSSL engine pkcs11 and the provider pkcs11prov (keys on tokens and HSMs)", "category": "library", "license": "LGPL-2.1-or-later", "homepage": "https://github.com/OpenSC/libp11", "source": { "url": "https://github.com/OpenSC/libp11/releases/download/libp11-0.4.21/libp11-0.4.21.tar.gz", "sha256": "efdb523aef8613d447e6a2d38227d4b389866f4bcf4b503130acd7f759490847" }, "watch": {"kind": "github-release", "repo": "OpenSC/libp11", "tag_regex": "^libp11-([0-9]+(?:\\.[0-9]+)+)$"}, "deps": [ "openssl" ], "env_packages": [], "static": false, "nss": false, "check": "test -f lib/engines-3/pkcs11.so && test -f lib/ossl-modules/pkcs11prov.so && OPENSSL_ENGINES=\"$PREFIX/lib/engines-3\" bin/openssl engine pkcs11 -t | has -F '[ available ]' && check_lib libp11 libp11.h 'PKCS11_CTX *c = PKCS11_CTX_new(); if (!c) return 1; printf(\"libp11 %d.%d.%d: a context\\n\", LIBP11_VERSION_MAJOR, LIBP11_VERSION_MINOR, LIBP11_VERSION_FIX); PKCS11_CTX_free(c); return 0'" }