aboutsummaryrefslogtreecommitdiff
path: root/internal/configfile/config_file.go
diff options
context:
space:
mode:
authorJakob Unterwurzacher2016-08-29 22:05:39 +0200
committerJakob Unterwurzacher2016-09-25 16:43:17 +0200
commit1d4c6288f29d74efce83ada1ea2a7b3819178bde (patch)
tree7b223fc74e060e8417cf457b6d4be35ff26aa695 /internal/configfile/config_file.go
parent1d62086742df25030869ccd4050eb9f89eb6661e (diff)
main: initial support for reverse mode
Diffstat (limited to 'internal/configfile/config_file.go')
-rw-r--r--internal/configfile/config_file.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/internal/configfile/config_file.go b/internal/configfile/config_file.go
index e27f2ad..b36980f 100644
--- a/internal/configfile/config_file.go
+++ b/internal/configfile/config_file.go
@@ -17,6 +17,9 @@ const (
// The dot "." is not used in base64url (RFC4648), hence
// we can never clash with an encrypted file.
ConfDefaultName = "gocryptfs.conf"
+ // In reverse mode, the config file gets stored next to the plain-text
+ // files. Make it hidden (start with dot) to not annoy the user.
+ ConfReverseName = ".gocryptfs.reverse.conf"
)
type ConfFile struct {