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 the keyring KWallet backend contains a
regression:
get_credential() returns the password as a string.

jaraco/keyring@0b7b41f
  • Loading branch information
MrAnno committed Sep 2, 2020
1 parent a9c9853 commit c9ca19a
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 c9ca19a

Please sign in to comment.