Skip to content

Commit

Permalink
update of all dependencies with gradle-plugin catalog-update 2
Browse files Browse the repository at this point in the history
- adapted classes for appropriate work with new update of dependencies
  • Loading branch information
astrapisixtynine committed Aug 3, 2024
1 parent ac1942d commit 2754e79
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 4 deletions.
8 changes: 4 additions & 4 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ commons-codec-version = "1.17.1"
commons-lang3-version = "3.15.0"
component-model-version = "2"
crypt-api-version = "9.3"
crypt-data-version = "9.4"
crypt-data-version = "9.5"
data-api-version = "4.1"
eventbus-version = "6"
file-worker-version = "17.3"
Expand All @@ -38,8 +38,8 @@ jobj-copy-version = "4.2"
jobj-core-version = "8.2"
jremix-icon-version = "1.1"
junit-jupiter-extensions-version = "2"
junit-jupiter-version = "5.11.0-M2"
junit-platform-launcher-version = "1.11.0-M2"
junit-jupiter-version = "5.11.0-RC1"
junit-platform-launcher-version = "1.11.0-RC1"
jxlayer-version = "3.0.4"
kee-pass-java2-version = "2.2.1"
lgood-date-picker-version = "11.2.1"
Expand All @@ -60,7 +60,7 @@ silk-icon-theme-version = "1"
silly-bean-version = "2"
silly-collection-version = "27.1"
silly-io-version = "3.1"
sqlite-jdbc-version = "3.46.0.0"
sqlite-jdbc-version = "3.46.0.1"
state-version = "6"
swing-base-components-version = "4.2"
swing-components-version = "9"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@
import javax.swing.*;

import org.bouncycastle.jce.provider.BouncyCastleProvider;
import org.bouncycastle.operator.OperatorCreationException;
import org.bouncycastle.pkcs.PKCSException;

import io.github.astrapi69.crypt.data.key.PrivateKeyExtensions;
import io.github.astrapi69.crypt.data.key.PublicKeyExtensions;
Expand Down Expand Up @@ -132,6 +134,16 @@ private PrivateKey getPrivateKey(final File file)
{
log.log(Level.SEVERE, e.getLocalizedMessage(), e);
}
catch (OperatorCreationException e)
{
log.log(Level.SEVERE, e.getLocalizedMessage(), e);
throw new RuntimeException(e);
}
catch (PKCSException e)
{
log.log(Level.SEVERE, e.getLocalizedMessage(), e);
throw new RuntimeException(e);
}
if (privateKey == null)
{
try
Expand Down

0 comments on commit 2754e79

Please sign in to comment.