Skip to content

Failed to decrypt the saved password #8776

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

Open
amirhossein-deriv opened this issue May 20, 2025 · 0 comments
Open

Failed to decrypt the saved password #8776

amirhossein-deriv opened this issue May 20, 2025 · 0 comments

Comments

@amirhossein-deriv
Copy link

amirhossein-deriv commented May 20, 2025

Describe the bug

We upgraded our pgAdmin to V9.3, now there are two kind of issues:

  1. the saved password for one user gets error:
Failed to decrypt the saved password. Error: 'utf-8' codec can't decode byte 0xaf in position 1: invalid start byte

and

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

to solve this issue regarding our online research we find these links helpful and based on them we cleared the passwords for all connections and setup them.

https://www.pgadmin.org/docs/pgadmin4/9.3/clear_saved_passwords.html
https://stackoverflow.com/questions/56526882/pgadmin-error-failed-to-decrypt-the-saved-password

  1. We have the second issue that raised after the other one:
connection failed: connection to server at "xx.xx.xx.xx", port 5432 failed: fe_sendauth: no password supplied

To Reproduce

Steps to reproduce the behavior:

  1. upgrade version 8.12 to 9.3
  2. See the error

Expected behavior

Regarding the issue posted from older versions, it should be solved and don't raise again.

Error message

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

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

Screenshots

Image

Image

Docker:

  • image: dpage/pgadmin4:9.3
  • Version: [e.g. 6.15]
  • Mode: [e.g Desktop or Server]
  • Browser: chrome
  • Package type: Container

unsolved lssue:
#5487

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

No branches or pull requests

2 participants