Add disclaimer about generated passwords being stored in an obscured format

This commit is contained in:
Andres Alvarez 2018-08-08 15:07:30 +02:00 committed by Nick Craig-Wood
parent 6301e15b79
commit 990919f268

View file

@ -770,7 +770,9 @@ func ChooseOption(o *fs.Option, name string) string {
} }
password = base64.RawURLEncoding.EncodeToString(pw) password = base64.RawURLEncoding.EncodeToString(pw)
fmt.Printf("Your password is: %s\n", password) fmt.Printf("Your password is: %s\n", password)
fmt.Printf("Use this password?\n") fmt.Printf("Use this password? Please note that an obscured version of this \npassword (and not the " +
"password itself) will be stored under your \nconfiguration file, so keep this generated password " +
"in a safe place.\n")
if Confirm() { if Confirm() {
break break
} }