Home | History | Annotate | Download | only in net

Lines Matching refs:password

65                     Git.read_git_config(self.git_prefix + "password"))
86 password = self._keychain_value_with_label("^password: ",
88 return [username, password]
93 "find-internet-password",
101 log("Reading Keychain for %s account and password. "
127 return (self._read_environ("username"), self._read_environ("password"))
129 def _offer_to_store_credentials_in_keyring(self, username, password):
132 if not User().confirm("Store password in system keyring?", User.DEFAULT_NO):
134 self._keyring.set_password(self.host, username, password)
137 username, password = self._credentials_from_environment()
139 # source and the password from a separate source.
140 if not username or not password:
141 username, password = self._credentials_from_git()
142 if not username or not password:
143 username, password = self._credentials_from_keychain(username)
145 if username and not password and self._keyring:
146 password = self._keyring.get_password(self.host, username)
150 if not password:
151 password = User.prompt_password("%s password for %s: " % (self.host, username))
152 self._offer_to_store_credentials_in_keyring(username, password)
154 return (username, password)