We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
keyring
1 parent ca29937 commit 8783049Copy full SHA for 8783049
src/hatch/publish/auth.py
@@ -46,7 +46,8 @@ def __get_password(self) -> str:
46
47
import keyring
48
49
- password = keyring.get_password(self._repo, self.username)
+ keyring_service = self._repo_config["url"]
50
+ password = keyring.get_password(keyring_service, self.username)
51
if password is not None:
52
return password
53
@@ -111,4 +112,5 @@ def write_updated_data(self):
111
112
if self.__password_was_read:
113
114
- keyring.set_password(self._repo, self.__username, self.__password)
115
116
+ keyring.set_password(keyring_service, self.__username, self.__password)
0 commit comments