Open root2185 opened 2 years ago
it seems possible to integrate it, but i'm not sure it's worth to include it directly.
to be honest i'm very sorry but i've currently no time to do the integration, but i'm always open to PRs.
you could add it as an additional backup method to ask for a pw. eg. see https://github.com/gebi/keyctl_keyscript/blob/master/decrypt_keyctl#L44
To make it possible to integrate your PR:
as the upstream project osk-sdl
does not provide documentation in the repo on how to call it to get the values into the shell environment i can not help you with that, but i'm not sure how your example from above should work.
it would need a method like askpass is used, where the password is just returned, or directly written into the user keyslot would also work.
it seems possible to integrate it, but i'm not sure it's worth to include it directly.
A new passphrase caching script for osk-sdl
, can you do it if better documentation is provided?
as the upstream project osk-sdl does not provide documentation in the repo on how to call it to get the values into the shell environment i can not help you with that
Do you mean the passphrase? The man page has some info:
-k, --keyscript Enable keyscript mode. Password will be output to STDOUT for use with another program such as cryptsetup-initramfs.
@gebi
Can you make the script work also when using osk-sdl to unlock LUKS? This is the script that I set in
crypttab
from the Mobian package:Is possible to integrate it into the
keyctl_keyscript
one?