Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- echo password | encfs -S /crypted /uncrypted
- #!/bin/bash
- ENCFS6_CONFIG="/home/<user>/.keys/encfs/key_data.xml" encfs -o nonempty --extpass='/home/<user>/.keys/encfs/key_data_pw' /run/media/<user>/data /home/<user>/DATA
- /usr/local/sbin/mount_crypted_encfs.exp
- #!/usr/bin/expect -f
- set timeout 1
- spawn /usr/bin/encfs /crypted /uncrypted -- -o allow_other -o default_permissions
- expect "EncFS Password:"
- send "myPasswordr"
- expect eof
- encfs /home/user/crypted /home/user/uncrypted -o umask='007' --public --extpass='udevadm info --query=all --name=/dev/mmcblk0p1 | grep ID_SERIAL'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement