Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tests: rm HSM availability assertion in tox.ini #528

Merged
merged 1 commit into from
Mar 6, 2023

Conversation

lukpueh
Copy link
Member

@lukpueh lukpueh commented Mar 6, 2023

Currently, tox asserts that PYKCS11LIB env var is set to not silently skip tests on SoftHSM (virtual HSM).

This is is unnecessary for CI, where we control the env var, and also hard to figure out locally, where we can't expect everyone to setup SoftHSM.

This patch removes the assertion and adds a note to ci.yml to point out the consequences of unsetting the env var.

Fixes #527

Currently, tox asserts that PYKCS11LIB env var is set to not
silently skip tests on SoftHSM (virtual HSM).

This is is unnecessary for CI, where we control the env var, and
also hard to figure out locally, where we can't expect everyone
to setup SoftHSM.

This patch removes the assertion and adds a note to ci.yml to point
out the consequences of unsetting the env var.

Signed-off-by: Lukas Puehringer <lukas.puehringer@nyu.edu>
@lukpueh lukpueh marked this pull request as ready for review March 6, 2023 09:36
@lukpueh lukpueh requested a review from jku March 6, 2023 09:36
Copy link
Collaborator

@jku jku left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

seems reasonable to me

@jku jku merged commit 00d221c into secure-systems-lab:main Mar 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

tests should not fail by default (PYKCS11LIB env var)
2 participants