Skip to content

[source-snowflake] private key auth fails with encrypted keys using des3 #62037

Open
@espeyt

Description

@espeyt

Connector Name

source-snowflake

Connector Version

0.3.6

What step the error happened?

Configuring a new connector

Relevant information

Keys generated using documentation at https://docs.snowflake.com/en/user-guide/key-pair-auth using encryption (passphrase) with openssl 3.x cannot be used with the connector.

Per documentation at https://docs.snowflake.com/en/developer-guide/jdbc/jdbc-configure#using-key-pair-authentication-and-key-rotation, to enable support for such keys, bouncy castle must be enabled.

Bouncy Castle is already bundled in the connector, so it just needs to be enabled.

Relevant log output

SQL Exception during connection: Private key provided is invalid or not supported: PBE parameter parsing error: expecting the object identifier for AES cipher

Contribute

  • Yes, I want to contribute

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions