Community Packages

Please read this before reporting a bug:
http://wiki.archlinux.org/index.php/Reporting_Bug_Guidelines

Do NOT report bugs when a package is just outdated, or it is in Unsupported. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

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 Balló György (City-busz) - Thursday, 29 August 2019, 20:04 GMT
Task Type Bug Report
Category Packages
Status Assigned
Assigned To Levente Polyak (anthraxx)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
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

Loading...