Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: java.lang.IllegalArgumentException missing provider #342

Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package de.adorsys.datasafe.encrypiton.impl.utils;

import de.adorsys.keymanagement.adapter.modules.generator.GeneratorModule_ProviderFactory;
import lombok.experimental.UtilityClass;
import org.bouncycastle.jce.provider.BouncyCastleProvider;
AssahBismarkabah marked this conversation as resolved.
Show resolved Hide resolved

Expand All @@ -9,5 +10,5 @@
@UtilityClass
public class ProviderUtils {

public static final Provider bcProvider = Security.getProvider(BouncyCastleProvider.PROVIDER_NAME);
public static final Provider bcProvider = GeneratorModule_ProviderFactory.provider();
}
7 changes: 7 additions & 0 deletions datasafe-encryption/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,11 @@
<module>datasafe-encryption-api</module>
<module>datasafe-encryption-impl</module>
</modules>
<dependencies>
<dependency>
<groupId>de.adorsys.keymanagement</groupId>
<artifactId>bouncycastle-adapter</artifactId>
<version>0.0.11</version>
</dependency>
</dependencies>
AssahBismarkabah marked this conversation as resolved.
Show resolved Hide resolved
</project>