crypttab_find_entry command not found
OS info
- OS: Linux Mint 19.3 Cinnamon (Cinnamon v4.4.8)
- Kernel: 5.0.0-37-generic
Issue
When executing the provided script, script exits with following error:
./smartcard-key-luks: 23: ./smartcard-key-luks: crypttab_find_entry: not found
No valid root device found! Aborting!
Expected behavior
Script executes without error, modifying appropriate files to allow Librem Key to unlock LUKS-encrypted device
Steps to reproduce
- Download
smartcard-key-luks
script from this repo - Export GPG public key corresponding to private key stored on Librem Key to local filesystem
- Set execute permissions on
smartcard-key-luks
script:$ sudo chmod +x path/to/script/smartcard-key-luks
- Execute script:
$ path/to/script/smartcard-key-luks path/to/public_key/pubkey.asc
- Script exits with error shown above
Please let me know what other information would be relevant to provide for this issue.