Skip to content

Feature: Remove the need for gocryptfs.conf, with secure master password input #218

@antofthy

Description

@antofthy

One of the things I do with EncFS is use the ENCFS6_CONFIG environment variable to read the config from a different location to the toplevel ".encfs6" file in the encrypted filesystem. That is I don't store the config with the encrypted data. Actually, the config is not even stored in a file but in a secure database along with the decryption password. The env var is used to specify a UNIX named pipe (fifo) which is used to give EncFS the config file. EncFS reads this file, once only, on startup, after which the named pipe is then deleted.

From what I can see GoCryptFS does not even need a config file at all, only the master password to use, which would be ideal. Unfortunately you only provide the ability to give this critical information via the insecure command line! Manpage even mentions how insecure this really is!

Please provide more secure means of passing the master password to GoCryptFS. Either from a file (or named pipe that is read only once), or from a file descriptor (such as STDIN).

OR... Provide the means to read the "gocryptfs.conf" from a user specified file (or pipeline), in the same way that EncFS does. The Manpage lists no such options, or Environment Variables, to do this.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions