FS#62957 - [pgadmin4] 4.8-1 fails to connect using ssh tunnel key auth

Attached to Project: Community Packages
Opened by mal (mal) - Thursday, 20 June 2019, 17:23 GMT
Last edited by Jelle van der Waa (jelly) - Sunday, 03 September 2023, 15:33 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Levente Polyak (anthraxx)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Steps to reproduce:
- Configure a server for access using passworded ssh key
- Start pgadmin4
- Add the server, using ssh tunneling with the key
- Instead of connecting, the below error is shown

Log:
2019-06-20 01:22:28,707: ERROR flask.app: 'utf-8' codec can't decode byte 0x8a in position 0: invalid start byte
Traceback (most recent call last):
File "/usr/lib/pgadmin4/web/pgadmin/utils/driver/psycopg2/server_manager.py", line 480, in create_ssh_tunnel
tunnel_password = tunnel_password.decode()
UnicodeDecodeError: 'utf-8' codec can't decode byte 0x8a in position 0: invalid start byte
2019-06-20 01:22:28,734: ERROR flask.app: Could not connected to server(#3) - 'redacted.hostname'.
Error: Failed to decrypt the SSH tunnel password.
Error: 'utf-8' codec can't decode byte 0x8a in position 0: invalid start byte

It would be great if ssh tunnels with passworded keys could be tested before releases, I don't think this has worked in the arch package since October for various reasons (3.4-1 https://bugs.archlinux.org/task/60332 - 3.6-1 https://bugs.archlinux.org/task/61228 - 4.2-1 (unreported) - ...)

Thanks!
This task depends upon

Closed by  Jelle van der Waa (jelly)
Sunday, 03 September 2023, 15:33 GMT
Reason for closing:  Deferred
Additional comments about closing:  dropped to AUR
Comment by Buggy McBugFace (bugbot) - Tuesday, 08 August 2023, 19:11 GMT
This is an automated comment as this bug is open for more then 2 years. Please reply if you still experience this bug otherwise this issue will be closed after 1 month.

Loading...