Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Command to create a fresh encfs config #10

Open
msh100 opened this issue Feb 6, 2017 · 0 comments
Open

Command to create a fresh encfs config #10

msh100 opened this issue Feb 6, 2017 · 0 comments

Comments

@msh100
Copy link
Owner

msh100 commented Feb 6, 2017

At the moment, the method of creating an encfs config is to manually mount, and then run through the configuration steps... move the config out, and delete the mounts you made.

This is a bit messy and we could wrap it in a simple script

Something along the lines of:

mkdir /tmp/${RANDOM}-unencrypted
mkdir /tmp/${RANDOM}-encrypted
encfs --reverse /tmp/${RANDOM}-unencrypted /tmp/${RANDOM}-encrypted
# Fill in form for new config
fusermount -u /tmp/${RANDOM}-encrypted
cp /tmp/${RANDOM}-unencrypted/.encfs6.xml ${NEWCONFIGTARGET}
rm -rf /tmp/${RANDOM}-unencrypted /tmp/${RANDOM}-encrypted
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant