From 10bbfcbfe125e9c9568031328e372c01ff144fc9 Mon Sep 17 00:00:00 2001 From: Eric Biggers Date: Wed, 27 Nov 2019 11:20:19 -0800 Subject: 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 --- cmd/fscrypt/prompt.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cmd') 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] -- cgit v1.2.3