diff options
| author | Jakob Unterwurzacher | 2015-11-15 13:38:19 +0100 | 
|---|---|---|
| committer | Jakob Unterwurzacher | 2015-11-15 13:42:04 +0100 | 
| commit | d95fc2333aa5c05de713694c0893c7690655a584 (patch) | |
| tree | 676402f6a85ab21839c7757dfbf9493ca921770d /cryptfs | |
| parent | 066c2c90eb0a156efe9d1a407b32350673a09fed (diff) | |
Add "-extpass" cli option and associated tests
Diffstat (limited to 'cryptfs')
| -rw-r--r-- | cryptfs/filter.go | 5 | 
1 files changed, 3 insertions, 2 deletions
| diff --git a/cryptfs/filter.go b/cryptfs/filter.go index 079b64f..f80889d 100644 --- a/cryptfs/filter.go +++ b/cryptfs/filter.go @@ -6,8 +6,9 @@ package cryptfs  // when file names are not encrypted  func (be *CryptFS) IsFiltered(path string) bool {  	// gocryptfs.conf in the root directory is forbidden -	if be.plaintextNames == true && path == "gocryptfs.conf" { -		Warn.Printf("The name \"/gocryptfs.conf\" is reserved when \"--plaintextnames\" is used\n") +	if be.plaintextNames == true && path == ConfDefaultName { +		Warn.Printf("The name /%s is reserved when -plaintextnames is used\n", +			ConfDefaultName)  		return true  	}  	return false | 
