Skip to content

Failed to decrypt the saved password #8776

Open
@amirhossein-deriv

Description

@amirhossein-deriv

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

Metadata

Metadata

Labels

Type

No type

Projects

Status

No status

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions