You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm proposing a PR #17 to fix this issue and much more.
The code has been reworked to align with the one from cryptsetup package (encrypt). That permit to use discard and disable workqueue for SSD as documented for encrypt in https://wiki.archlinux.org/title/Dm-crypt/Specialties
Currently
encryptssh
hook is usingpoll_device
function to poll device with encryption key: https://github.com/grazzolini/mkinitcpio-utils/blob/master/initcpio/hooks/encryptssh#L19It would be better to follow persistent block device naming: https://wiki.archlinux.org/title/Persistent_block_device_naming
similarly to encrypt encrypt hook:
https://github.com/archlinux/svntogit-packages/blob/packages/cryptsetup/trunk/hooks-encrypt#L16
I believe
resolve_device
could be just used in place ofpoll_device
for this purpose.The text was updated successfully, but these errors were encountered: