Home | History | Annotate | Download | only in webui

Lines Matching defs:passphrase

70   std::string passphrase;
155 // Passphrase settings.
168 if (!result->GetString("passphrase", &config->passphrase)) {
169 DLOG(ERROR) << "GetConfiguration() not passed a passphrase value";
332 // usePassphrase: true if the data is encrypted with a secondary passphrase
333 // show_passphrase: true if a passphrase is needed to decrypt the sync data
358 // IsPassphraseRequiredForDecryption(), because we want to show the passphrase
650 // if (for example) some kind of passphrase error is encountered.
655 if (!configuration.passphrase.empty()) {
658 // a passphrase even though no encrypted data types are enabled.
661 // passphrase. We track if this succeeds or fails because a failed
665 !service->SetDecryptionPassphrase(configuration.passphrase);
667 // OK, the user sent us a passphrase, but we don't have pending keys. So
669 // time the UI was displayed (re-encryption, pending passphrase change,
673 // User passed us a secondary passphrase, and the data is encrypted
674 // with a GAIA passphrase so they must want to encrypt.
675 service->SetEncryptionPassphrase(configuration.passphrase,
689 // user for a passphrase).
691 // We need a passphrase, or the user's attempt to set a passphrase failed -
693 // 1) The user enters an incorrect passphrase *and* disabled the encrypted
695 // passphrase was incorrect even though there are no longer any encrypted
697 // 2) The user doesn't enter any passphrase. In this case, we won't call
700 // blank passphrase entry is not acceptable.
702 // want to display an "invalid passphrase" error, since it's the first
707 // No passphrase is required from the user so mark the configuration as
715 if (configuration.passphrase_is_gaia && !configuration.passphrase.empty())