aboutsummaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
authorEric Biggers <ebiggers@google.com>2019-11-27 11:20:19 -0800
committerEric Biggers <ebiggers@google.com>2019-11-27 11:20:19 -0800
commit10bbfcbfe125e9c9568031328e372c01ff144fc9 (patch)
treef966ad2e11172278cad7065721c96693a52bc678 /cmd
parent2a45549820a4e364d000ac62362d2feafbb0b3c1 (diff)
cmd/fscrypt: adjust message when listing protector sources
Saying "Your data can be protected with one of the following sources" is ambiguous because it could be interpreted to mean that an encrypted directory can only have one type of protector. In fact, an encrypted directory can have multiple protectors, and they can be of any type. Update https://github.com/google/fscrypt/issues/164
Diffstat (limited to 'cmd')
-rw-r--r--cmd/fscrypt/prompt.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/fscrypt/prompt.go b/cmd/fscrypt/prompt.go
index 5fce0c7..b854fb9 100644
--- a/cmd/fscrypt/prompt.go
+++ b/cmd/fscrypt/prompt.go
@@ -185,7 +185,7 @@ func promptForSource(ctx *actions.Context) error {
}
// We print all the sources with their number, description, and name.
- fmt.Println("Your data can be protected with one of the following sources:")
+ fmt.Println("The following protector sources are available:")
for idx := 1; idx < len(metadata.SourceType_value); idx++ {
source := metadata.SourceType(idx)
description := sourceDescriptions[source]