Skip to content

Conversation

@nmburgan
Copy link
Member

When building for FIPS, we need to include the Bouncycastle FIPS jars in the package, but the code can not be included in the uberjar since they are signed jars. Therefore, we need to be able to pull down the version we are building against and then put them in the package.

To do this, we pull the particular jars we are building against directly from the classpath and maven cache, and ezbake then puts them in the rpm/deb with the install command.

For openvox-server, we need the non-FIPS jars in the staging dir as well since we do some gem installs during the packaging process and jruby-openssl is not compatible with Bouncycastle FIPS jars. So by omitting the :install key, it will copy them to staging, but not include them in the final package.

We also need to be able to install a java.security.fips file. This adds a :project-files key that lets you point to any file and have that installed by the rpm/deb at the given path.

When building for FIPS, we need to include the Bouncycastle FIPS jars in
the package, but the code can not be included in the uberjar since they
are signed jars. Therefore, we need to be able to pull down the version
we are building against and then put them in the package.

To do this, we pull the particular jars we are building against directly
from the classpath and maven cache, and ezbake then puts them in the
rpm/deb with the install command.

For openvox-server, we need the non-FIPS jars in the staging dir as well
since we do some gem installs during the packaging process and
jruby-openssl is not compatible with Bouncycastle FIPS jars. So by
omitting the :install key, it will copy them to staging, but not include
them in the final package.

We also need to be able to install a java.security.fips file. This adds
a :project-files key that lets you point to any file and have that
installed by the rpm/deb at the given path.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants