Skip to content

tests should not fail by default (PYKCS11LIB env var) #527

@jku

Description

@jku

Currently if you install securesystemslib and run the tests as instructed (tox or tox -e py), you get:

Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/usr/lib/python3.10/os.py", line 680, in __getitem__
    raise KeyError(key) from None
KeyError: 'PYKCS11LIB'

This is wrong and likely really hard to figure out for a new developer

  • CI should keep running with HSM tests enabled
  • By default developer testing must not include HSM tests if the testing setup can't be made fool proof (AFAICT it can't)

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions