Ondrej Kozina
057af1e20a
Fix ssh-plugin-test.
...
Test needs to work also in build environment
before installation takes place. For it we overload
crypt_token_external_path symbol from libcryptsetup
so that it can look for plugins in build environment.
[simplified by mbroz]
2021-06-26 23:13:34 +02:00
Vojtech Trefny
b8d2218720
cryptsetup-ssh: Better argument parsing and help for the options
2021-06-16 12:30:49 +02:00
Milan Broz
df5e54545e
Add API and CLI option to disable token plugins.
...
This could be useful for debugging external plugins
or ot intentionally disable loading of a token library.
2021-06-13 23:22:44 +02:00
Vojtech Trefny
f79ef935a7
ssh-plugin-test: Do not use systemctl to check for SSH server
...
netcat should be also available on non-systemd systems.
2021-06-09 10:26:09 +02:00
Vojtech Trefny
c0b2f99b04
Add test for example SSH token handler.
...
Activation test needs ssh server running on the machine. The test
creates a new user "sshtest" and uses it to test activation using
the plugin.
2021-02-03 11:43:04 +00:00