This project is mirrored from https://github.com/metabase/metabase.
Pull mirroring updated .
- Oct 27, 2021
-
-
Pawit Pornkitprasan authored
`org.apache.sshd` requires `net.i2p.crypto/eddsa` dependency to work with ED25519 keys. This worked in 0.40 because `eddsa` was included as a transitive dependency of another unrelated dependency (`buddy`) but stopped working in 0.41 because the new version of `buddy` no longer depends on `eddsa`. Thus, we must explicitly include the dependency. To prevent this from breaking again, switched one of the test keys to an ED25519 key.
-
- Feb 25, 2021
-
-
Jeff Evans authored
* Implement ssh tunnel reconnection From the connection-with-timezone method of execute, check whether an ssh tunnel that should be open actually is not, and if so, mark the entire pool as invalid (thereby forcing the connection code to rebuild the source and open a new tunnel) Fixing the create-pool! function so that the relevant ssh tunnel entries are kept (in addition to the :datasource) Adding test in ssh-test namespace, which will test that the tunnel is reestablished (for now, running with Postgres driver) * Responding to PR feedback from Dan * Fixing test by adding AcceptAllForwardingFilter forwardingFilter to the mock password server instance * Change with-driver to test-driver * Add ssh tunnel reconnect test that can run against H2 * Implement ssh tunnel reconnection From the connection-with-timezone method of execute, check whether an ssh tunnel that should be open actually is not, and if so, mark the entire pool as invalid (thereby forcing the connection code to rebuild the source and open a new tunnel) Fixing the create-pool! function so that the relevant ssh tunnel entries are kept (in addition to the :datasource) Adding test in ssh-test namespace, which will test that the tunnel is reestablished (for now, running with Postgres driver) * Responding to PR feedback from Dan * Fixing test by adding AcceptAllForwardingFilter forwardingFilter to the mock password server instance * Rebase again to fix merge conflict * Change test-driver to with-driver in hopes of making CodeCov finally happy * Adding new multimethod to ssh namespace, called incorporate-ssh-tunnel-details, for accounting for the Implementing incorporate-ssh-tunnel-details for h2 so update the URI string (:db key) to point to the tunnel entry point Pulled logic for :sql-jdbc implementation of connection-with-timezone out to a new fn, so it can be called elsewhere Updating H2 reconnection test imn light of the changes above Added "!" suffix to name of include-ssh-tunnel to reflect the fact that it does modify global state * Fixing NPE in incorporate-ssh-tunnel-details implementation for :h2 Moving multimethod declaration for incorporate-ssh-tunnel-details to driver namespace * Fix :h2 implementation again * Remove another errant extra line :( * Rebase onto master * Inline the private helper fn back into connection-with-timezone * Remove dead code
-
- May 26, 2020
-
-
Robert Roland authored
Adding SSH key support Adding ssh key support (with passphrases) The JSch library does not support ED25519 keys, that are the default as of OpenSSH 7.8, but the Apache Mina SSHD library does. Adds a end-to-end test of ssh port forwarding via a simple echo server. [ci drivers] Co-authored-by:
Franklin Strube <thedoc8786@gmail.com> Co-authored-by:
hbc <bcxxxxxx@gmail.com> Co-authored-by:
Daniel Higginbotham <daniel@flyingmachinestudios.com> Co-authored-by:
Paul Rosenzweig <paul.a.rosenzweig@gmail.com> Co-authored-by:
Kyle Doherty <kyle.l.doherty@gmail.com>
-