-
Notifications
You must be signed in to change notification settings - Fork 44
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The NSSDB backend is now super-slow so I am bumping the timeout to 60s/test. The kryoptic build is also adjusted to include this non-default feature. Signed-off-by: Jakub Jelen <[email protected]>
- Loading branch information
Showing
5 changed files
with
56 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
#!/bin/bash -ex | ||
# Copyright (C) 2024 Jakub Jelen <[email protected]> | ||
# SPDX-License-Identifier: Apache-2.0 | ||
# | ||
|
||
export KRYOPTIC_CONF="${TMPPDIR}/kryoptic.conf" | ||
cat >"${KRYOPTIC_CONF}" <<_EOF | ||
[[slots]] | ||
slot = 42 | ||
dbtype = "nssdb" | ||
dbargs = "configDir='${TOKDIR}' flags='passwordRequired'" | ||
description = "Kryoptic Soft Token" | ||
_EOF | ||
|
||
# this overrides what we define in the generic init | ||
# the NSS DB can not store custom labels | ||
export TOKENLABEL="Kryoptic Soft Token" | ||
export TOKENLABELURI="Kryoptic%20Soft%20Token" | ||
|
||
# the rest is the same | ||
source "${TESTSSRCDIR}/kryoptic-init.sh" | ||
|
||
export TOKENCONFIGVARS="export KRYOPTIC_CONF=${TMPPDIR}/kryoptic.conf" | ||
export TOKENOPTIONS="pkcs11-module-quirks = no-allowed-mechanisms" | ||
export TESTPORT="35000" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters