You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2020/07/30 08:27:42 UTC

[GitHub] [pulsar] xiaomin0322 opened a new issue #7697: bouncy-castle-bc-shaded jar with bcpkix-jdk jar conflict

xiaomin0322 opened a new issue #7697:
URL: https://github.com/apache/pulsar/issues/7697


   **Describe the bug**
   A clear and concise description of what the bug is.
   
   bouncy-castle-bc-shaded  jar with  bcpkix-jdk jar conflict
   
   **To Reproduce**
   Steps to reproduce the behavior:
   1. Go to '...'
   2. Click on '....'
   3. Scroll down to '....'
   4. See error
   
   **Expected behavior**
   A clear and concise description of what you expected to happen.
   maven 
   
   <groupId>org.apache.pulsar</groupId>
    <artifactId>bouncy-castle-bc-shaded</artifactId>
   
    <groupId>org.bouncycastle</groupId>
    <artifactId>bcpkix-jdk15on</artifactId>
   
   class :org.bouncycastle.jce.provider.BouncyCastleProvider  conflict
   
   code:
   Cipher cipher = null;
   cipher = Cipher.getInstance("AES/CBC/PKCS7Padding");
   
   Exception:
     Cannot find any provider supporting AES/CBC/PKCS7Padding java.security.NoSuchAlgorithmException: 
    Cannot find any provider supporting AES/CBC/PKCS7Padding at javax.crypto.Cipher.getInstance(Cipher.java:540) 
   
   
   **Screenshots**
   If applicable, add screenshots to help explain your problem.
   
   **Desktop (please complete the following information):**
    - OS: [e.g. iOS]
   
   **Additional context**
   Add any other context about the problem here.
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [pulsar] jiazhai commented on issue #7697: bouncy-castle-bc-shaded jar with bcpkix-jdk jar conflict

Posted by GitBox <gi...@apache.org>.
jiazhai commented on issue #7697:
URL: https://github.com/apache/pulsar/issues/7697#issuecomment-666870683


   @xiaomin0322 If bc is already included in other module, you could exclude `bouncy-castle-bc-shaded`.
   
   http://pulsar.apache.org/docs/en/security-bouncy-castle/#exclude-bc-non-fips-and-include-bc-fips
   https://github.com/apache/pulsar/blob/master/bouncy-castle/bcfips-include-test/pom.xml#L47


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [pulsar] jiazhai closed issue #7697: bouncy-castle-bc-shaded jar with bcpkix-jdk jar conflict

Posted by GitBox <gi...@apache.org>.
jiazhai closed issue #7697:
URL: https://github.com/apache/pulsar/issues/7697


   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org