Rework SecretKey API to facilitate async (#371)

* Rework `SecretKey` API to facilitate async

* Remove left-over constraints
This commit is contained in:
daxpedda
2025-04-22 00:08:17 -07:00
committed by GitHub
parent 6b69e93dc9
commit d324584d79
20 changed files with 952 additions and 382 deletions
+11
View File
@@ -25,6 +25,10 @@ jobs:
- stable
- 1.83.0
name: test
env:
PKCS11_MODULE: /usr/lib/softhsm/libsofthsm2.so
SOFTHSM2_CONF: /tmp/softhsm2.conf
RUSTFLAGS: --cfg test_hsm
steps:
- name: Checkout sources
uses: actions/checkout@main
@@ -36,6 +40,13 @@ jobs:
toolchain: ${{ matrix.toolchain }}
override: true
- name: Install SoftHSM
run: |
sudo apt-get update -y -qq &&
sudo apt-get install -y -qq libsofthsm2 &&
mkdir /tmp/tokens
echo "directories.tokendir = /tmp/tokens" > /tmp/softhsm2.conf
- name: Run cargo test
uses: actions-rs/cargo@v1
with: