Source postgres: Validate SSH key before checking connection. #10004
Labels
area/connectors
Connector related issues
autoteam
connectors/source/postgres
team/db-dw-sources
Backlog for Database and Data Warehouse Sources team
type/enhancement
New feature or request
If an invalid SSH key (not RSA format, typo during copy paste etc) is used the failure happens at connection check:
Cannot invoke "org.bouncycastle.openssl.PEMKeyPair.getPublicKeyInfo()" because "keypair" is null
It would be great if we could validate the SSH key in the front-end with regex patterns.
The text was updated successfully, but these errors were encountered: