Skip to content

Commit

Permalink
config: use keyring.get_password() as a workaround for a kwallet bug
Browse files Browse the repository at this point in the history
The current implementation of keyring KWallet backend contains a
regression:
get_credential() returns the password as as string.

jaraco/keyring@0b7b41f
  • Loading branch information
MrAnno committed Sep 1, 2020
1 parent a9c9853 commit d9014e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion openconnect_sso/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ class Credentials(ConfigNode):

@property
def password(self):
return keyring.get_credential(APP_NAME, self.username).password
return keyring.get_password(APP_NAME, self.username)

@password.setter
def password(self, value):
Expand Down

0 comments on commit d9014e9

Please sign in to comment.