Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to decrypt the saved password after update to v9 #8435

Open
yanehi opened this issue Feb 10, 2025 · 1 comment
Open

Failed to decrypt the saved password after update to v9 #8435

yanehi opened this issue Feb 10, 2025 · 1 comment
Assignees
Labels

Comments

@yanehi
Copy link

yanehi commented Feb 10, 2025

Description

As soon as I try to start a saved connection to a server after updating to pgAdmin v9, I get the error message:

Failed to decrypt the saved password.
Error: 'utf-8' codec can't decode byte 0xab in position 0: invalid start byte

When I enter the password, I can log in normally. If I then try to save the password again, the same problem occurs again after logout/login to pgAdmin. We did not have this problem in v8.14.

To Reproduce

Steps to reproduce the behavior:

  1. Go to 'Servers'
  2. Click on 'Saved Server configuration to connect to the server'
  3. See the error:

Image

Expected behavior

I can connect to the server using access data that has already been saved in pgAdmin.

Error message

Failed to decrypt the saved password.
Error: 'utf-8' codec can't decode byte 0xab in position 0: invalid start byte

Setup:

  • OS: Docker Container based on dpage/pgadmin4
  • Version: 9.0
  • Mode: Server
  • Package type: Docker Container

We use a database to store the user settings.

@yogeshmahajan-1903
Copy link
Contributor

@yanehi
I am not able to reporduce the issue. Can you please share your docker deployment config? What are the authentications sources being used?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: No status
Development

No branches or pull requests

2 participants