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

Encrypt path in statfs() calls #27

Closed
wants to merge 1 commit into from
Closed

Conversation

lxp
Copy link
Contributor

@lxp lxp commented May 12, 2016

Paths in statfs() calls were not encrypted resulting in an Function not implemented error, when the unencrypted path didn't exist in the underlying (encrypted) filesystem.

$ df plain/existingdir
df: ‘plain/existingdir’: Function not implemented

@rfjakob
Copy link
Owner

rfjakob commented May 12, 2016

Looks good. Bonus points if you add TestStatFs to https://github.com/rfjakob/gocryptfs/blob/master/integration_tests/main_test.go ;)

@rfjakob
Copy link
Owner

rfjakob commented May 12, 2016

Merged as a93bcab with the pull request text added to the commit message.

@rfjakob rfjakob closed this May 13, 2016
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

Successfully merging this pull request may close these issues.

2 participants