Revamp the current password saving implementation to keyring and reducing repeated OS user password prompts. #7076

The new implementation will store the master password in the keyring instead of storing each and every server password separately. The master password will be used to encrypt/decrypt server password when storing in the pgAdmin config DB.
This commit is contained in:
Yogesh Mahajan
2024-08-22 16:44:57 +05:30
committed by GitHub
parent cda7d7de90
commit 1257ec9969
16 changed files with 610 additions and 563 deletions

View File

@@ -45,6 +45,7 @@ class MasterPasswordTestCase(BaseTestGenerator):
def setUp(self):
config.MASTER_PASSWORD_REQUIRED = True
config.AUTHENTICATION_SOURCES = [INTERNAL]
config.USE_OS_SECRET_STORAGE = False
def runTest(self):
"""This function will check change password functionality."""