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

possible bug ? #6

Open
commandline-be opened this issue Jan 17, 2024 · 0 comments
Open

possible bug ? #6

commandline-be opened this issue Jan 17, 2024 · 0 comments

Comments

@commandline-be
Copy link

Thanks for the great tool, here to report a possible bug.

$ find . -name libpkcs11.so
/usr/lib/x86_64-linux-gnu/engines-3/libpkcs11.so

$hsmwiz checkengine
Traceback (most recent call last):
File "/usr/bin/hsmwiz", line 33, in
sys.exit(load_entry_point('hsmwiz==0.0.2', 'console_scripts', 'hsmwiz')())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/hsmwiz/main.py", line 149, in main
mc.run(sys.argv[1:])
File "/usr/lib/python3/dist-packages/hsmwiz/MultiCommand.py", line 120, in run
parseresult.cmd.action(parseresult.cmd.name, parseresult.args)
File "/usr/lib/python3/dist-packages/hsmwiz/ActionCheckEngine.py", line 29, in init
hsm.check_engine()
File "/usr/lib/python3/dist-packages/hsmwiz/HardwareSecurityModule.py", line 175, in check_engine
cmd += [ "-pre", "SO_PATH:%s" % (self._shared_obj("libpkcs11.so")) ]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/hsmwiz/HardwareSecurityModule.py", line 60, in _shared_obj
raise Exception("Could not find shared object '%s' anywhere in SO-searchpath '%s'." % (soname, self.__sopath))
Exception: Could not find shared object 'libpkcs11.so' anywhere in SO-searchpath '/usr/lib:/usr/lib/x86_64-linux-gnu:/usr/lib/i386-linux-gnu'.

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

No branches or pull requests

1 participant