What third-party dependencies does the Maverick Synergy API have

The core implementation of the Maverick Synergy SSH API has no third-party dependencies. However, several extension modules provide additional features that do have dependencies on third-party, open-source libraries. This article outlines each extension and dependencies, with the current version and licensing information.

Modules with Third-Party Dependencies

maverick-bc

This module provides tight integration with the BouncyCastle JCE. To use this module, you must execute the following code before any other calls to the Maverick Synergy SSH API. 

JCEProvider.enableBouncyCastle(true);

The boolean parameter passed indicates a value for ‘makeDefault’, which is used to configure some or all algorithms (see below)

Several configuration changes occur by including this module and executing the above statement.

  1. If the BouncyCastle API is not installed as a SecurityProvider, then it is installed using Security.addProvider
  2. The ECDSA algorithm name is changed to “ECDSA” instead of “EC”
  3. If makeDefault is true, BC will be used for all algorithms that the API supports; otherwise, it will just be made the default for the Diffie Hellman key exchange implementations.
GroupId/ArtifactIdVersionLicenseNotes
org.bouncycastle/bcprov-jdk18on1.76BouncyCastle (MIT Style)
org.bouncycastle/bcpkix-jdk18on1.76BouncyCastle (MIT Style)
maverick-bcfips

Like the maverick-bc, this module provides enhanced support for the BC FIPS-certified JCE. It performs the same function as maverick-bc, and thus the same configuration changes, and the following must be called:

JCEProvider.enableBouncyCastle(true);
GroupId/ArtifactIdVersionLicense
org.bc/bc-fips1.0.2.4BouncyCastle (MIT Style)
org.bc/bcpkix-fips1.0.7BouncyCastle (MIT Style)
maverick-virtual-session 

This module enables the creation of interactive shells in the Maverick Synergy Server API. With this API, you can write commands that can be executed within a virtual shell.

GroupId/ArtifactIdVersionLicenseNotes
commons-cli1.3.1Apache 2.0This dependency is only required if using ShellCommandWithOptions class.
commons-lang33.12.0Apache 2.0
jline3.12.0Apache 2.0
pty4j0.12.11Eclipse Public License 1.0Required if you use AbstractOSCommand or native shells using Shell command.
purejavacomm0.0.11.1BSDRequired by pty4j
jna5.12.1LGPLRequired by pty4j
maverick-virtual-filesystem

This module provides an AbstractFile implementation that enables the creation of virtual file systems, with the ability to mount other file system types to paths within the virtual file system. 

GroupId/ArtifactIdVersionLicenseNotes
org.apache/commons-vfs22.9Apache 2.0Only required when using VFSFileFactory / VFSFile
org.apache/commons-lang33.12.0Apache 2.0Only required when using VFSFileFactory / VFSFile
org.apache/commons-logging1.2Apache 2.0 Only required when using VFSFileFactory / VFSFile
* When using VFSFile, further dependencies may be required depending upon the file system providers you want to use in commons-vfs2
maverick-sshagent-jni-sockets

This module provides UNIX socket support to the maverick-sshagent. Use this if you need to use the sshagent on Linux or OSX when the JRE version is lower than 16. If you are using Java 16 or above, use the maverick-sshagent-jdk16-sockets that has no dependencies.

GroupId/ArtifactIdVersionLicenseNotes
jna-platform5.12.1Apache 2.0
junixsocket2.8.1Apache 2.0
maverick-sshagent-named-pipes

This module provides UNIX socket support to the maverick-sshagent. Use this if you need to use the sshagent on Linux or OSX when the JRE version is lower than 16. If you are using Java 16 or above, use the maverick-sshagent-jdk16-sockets that has no dependencies.

GroupId/ArtifactIdVersionLicenseNotes
jna-platform5.12.1Apache 2.0