Vojtech Trefny
7c76d17a9c
ssh token: Make strings in the plugin translatable
2021-07-25 18:08:22 +02:00
Vojtech Trefny
3589f9578a
ssh token: Fix -Wmissing-prototypes warnings
2021-06-29 15:11:46 +02:00
Vojtech Trefny
3dc7dff2b2
ssh token: Fix return code when adding multiple tokens
...
token_add returns ID of the added token so we can't use it as a
return code for the binary.
2021-06-29 15:11:46 +02:00
Vojtech Trefny
35793c24f0
ssh token: Allow specifying key slot when adding the token
2021-06-29 15:11:46 +02:00
Vojtech Trefny
6545523df3
ssh token: Add the token to the first keyslot with matching passphrase
...
Currently the "add" action adds the token to all keyslots, this
changes the behaviour to make sure the token is added to the first
keyslot that can be unlocked using the provided passphrase.
2021-06-29 15:11:46 +02:00
Vojtech Trefny
3e52aa820c
ssh token: Move SSH code to a separate utils file
2021-06-29 15:11:43 +02:00
Milan Broz
8f752a2bd7
Fix a Coverity warning.
2021-06-17 13:02:42 +02:00
Vojtech Trefny
52cc01c977
cryptsetup-ssh: Add debug and verbose options
2021-06-16 12:30:53 +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
bb6d522198
Mark ssh token as experimental.
2021-02-03 15:17:07 +01:00
Milan Broz
89b3105493
Add example SSH token handler.
...
Provides example of loadable token handler for activation
json validation and metadata dump.
For creating new ssh example token use special cryptsetup-ssh
binary.
2021-02-03 11:43:04 +00:00