{ "name": "softhsm2", "version": "2.7.0", "summary": "SoftHSM: a PKCS#11 token kept in files (libsofthsm2.so, softhsm2-util), for tests of token signing", "category": "library", "license": "BSD-2-Clause", "homepage": "https://www.softhsm.org/", "source": { "url": "https://github.com/softhsm/SoftHSMv2/archive/refs/tags/2.7.0.tar.gz", "sha256": "be14a5820ec457eac5154462ffae51ba5d8a643f6760514d4b4b83a77be91573" }, "watch": {"kind": "github-tag", "repo": "softhsm/SoftHSMv2", "tag_regex": "^([0-9]+(?:\\.[0-9]+)+)$"}, "deps": [ "openssl" ], "env_packages": [], "static": false, "nss": false, "check": "bin/softhsm2-util --version | has -x 2.7.0 && t=$(mktemp -d) && printf 'directories.tokendir = %s\\nobjectstore.backend = file\\nlog.level = ERROR\\n' \"$t\" >\"$t.conf\" && SOFTHSM2_CONF=\"$t.conf\" bin/softhsm2-util --init-token --free --label check --pin 123456 --so-pin 12345678 | has -F 'has been initialized' && SOFTHSM2_CONF=\"$t.conf\" bin/softhsm2-util --show-slots | has -F 'Label: check' && rm -rf \"$t\" \"$t.conf\"" }