这是indexloc提供的服务,不要输入任何密码
Skip to content

changing password on pgadmin 4 ver 7.8 fails due to 'number of data characters (9) cannot be 1 more than a multiple of 4' #6902

@grahamj157

Description

@grahamj157

Please note that security bugs or issues should be reported to security@pgadmin.org.

Describe the bug
When trying to change password to a password that has a number of characters that is a multiple of 4 - i get the following error message. - 'invalid base64-encoded string:number of data characters (9) cannot be 1 more than a multiple of 4'
I am trying to enter a password of length 12 characters.

A clear and concise description of what the bug is.

To Reproduce
1 start pgadmin app
2 highlight - my server under servers
3 click on -menu> object> change password
4 enter current password
5 enter and confirm new password (12 characters)

  1. See the error
    'invalid base64-encoded string:number of data characters (9) cannot be 1 more than a multiple of 4'

Expected behavior
new password accepted

Error message
'invalid base64-encoded string:number of data characters (9) cannot be 1 more than a multiple of 4'

Screenshots

If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):
2 desktops - both fail

  • OS:
    Linux-5.18.0-0.bpo.1-amd64-x86_64-with-glibc2.31

  • Version: pgadmin4 ver 7.8

  • Mode: Desktop

  • Browser Chromium 114.0.5735.91

  • Package type: deb

  • OS: Windows 10- 10.0.22621.SP0

  • Version: [e.g. 6.15]

  • Mode: Desktop

  • Browser Chromium 114.0.5735.91

  • Package type: [e.g. RPM, DEB, Python, Container, etc.]

Additional context

Add any other context about the problem here.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions