You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by "alex-nt (via GitHub)" <gi...@apache.org> on 2023/06/15 06:46:21 UTC

[GitHub] [camel] alex-nt opened a new pull request, #10397: CAMEL-19458: Bouncycastle 1.74 update

alex-nt opened a new pull request, #10397:
URL: https://github.com/apache/camel/pull/10397

   # Description
   
   We found an issue with *bouncycastle* 1.73 where it would fail checksum validation during pgp encryption/decryption. This is a regression from 1.72.2, and it appears to be fixed in 1.74.
   
   # Target
   
   - [x] I checked that the commit is targeting the correct branch (note that Camel 3 uses `camel-3.x`, whereas Camel 4 uses the `main` branch)
   
   # Tracking
   - [x]  [CAMEL-19458](https://issues.apache.org/jira/browse/CAMEL-19458)
   
   # Apache Camel coding standards and style
   
   - [x] I checked that each commit in the pull request has a meaningful subject line and body.
   
   <!--  
   If you're unsure, you can format the pull request title like `[CAMEL-XXX] Fixes bug in camel-file component`, where you replace `CAMEL-XXX` with the appropriate JIRA issue.
   -->
   
   - [x] I formatted the code using `mvn -Pformat,fastinstall install && mvn -Psourcecheck`
   
   <!-- 
   You can run the aforementioned command in your module so that the build auto-formats your code and the source check verifies that is complies with our coding style. This will also be verified as part of the checks and your PR may be rejected if the checkstyle does not pass.
   
   You can learn more about the contribution guidelines at https://github.com/apache/camel/blob/main/CONTRIBUTING.md
   -->
   
   


-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org

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


[GitHub] [camel] davsclaus commented on pull request #10397: CAMEL-19458: Bouncycastle 1.74 update

Posted by "davsclaus (via GitHub)" <gi...@apache.org>.
davsclaus commented on PR #10397:
URL: https://github.com/apache/camel/pull/10397#issuecomment-1592504764

   try testing camel-ftp as well


-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org

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


[GitHub] [camel] alex-nt commented on pull request #10397: CAMEL-19458: Bouncycastle 1.74 update

Posted by "alex-nt (via GitHub)" <gi...@apache.org>.
alex-nt commented on PR #10397:
URL: https://github.com/apache/camel/pull/10397#issuecomment-1594208265

   As luck has it today it is there, shall we give it another go? @oscerd 


-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org

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


[GitHub] [camel] davsclaus commented on pull request #10397: CAMEL-19458: Bouncycastle 1.74 update

Posted by "davsclaus (via GitHub)" <gi...@apache.org>.
davsclaus commented on PR #10397:
URL: https://github.com/apache/camel/pull/10397#issuecomment-1592485188

   We need to update BC in camel-3.x branch as well


-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org

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


[GitHub] [camel] oscerd commented on pull request #10397: CAMEL-19458: Bouncycastle 1.74 update

Posted by "oscerd (via GitHub)" <gi...@apache.org>.
oscerd commented on PR #10397:
URL: https://github.com/apache/camel/pull/10397#issuecomment-1592512417

   This is the error in the build.log file
   
   ```
   [ERROR] Failed to execute goal on project camel-as2-api: Could not resolve dependencies for project org.apache.camel:camel-as2-api:jar:4.0.0-SNAPSHOT: Could not find artifact org.bouncycastle:bcprov-debug-jdk18on:jar:1.74 in central (https://repo1.maven.org/maven2/) -> [Help 1]
   org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal on project camel-as2-api: Could not resolve dependencies for project org.apache.camel:camel-as2-api:jar:4.0.0-SNAPSHOT: Could not find artifact org.bouncycastle:bcprov-debug-jdk18on:jar:1.74 in central (https://repo1.maven.org/maven2/)
   	at org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.getDependencies(LifecycleDependencyResolver.java:269)
   	at org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.resolveProjectDependencies(LifecycleDependencyResolver.java:147)
   	at org.apache.maven.lifecycle.internal.MojoExecutor.ensureDependenciesAreResolved(MojoExecutor.java:401)
   	at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute(MojoExecutor.java:347)
   	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:215)
   	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:171)
   	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:163)
   	at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:117)
   	at org.mvndaemon.mvnd.builder.SmartBuilderImpl.buildProject(SmartBuilderImpl.java:178)
   	at org.mvndaemon.mvnd.builder.SmartBuilderImpl$ProjectBuildTask.run(SmartBuilderImpl.java:198)
   	at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539)
   	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
   	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
   	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
   	at java.base/java.lang.Thread.run(Thread.java:833)
   Caused by: org.apache.maven.project.DependencyResolutionException: Could not resolve dependencies for project org.apache.camel:camel-as2-api:jar:4.0.0-SNAPSHOT: Could not find artifact org.bouncycastle:bcprov-debug-jdk18on:jar:1.74 in central (https://repo1.maven.org/maven2/)
   	at org.apache.maven.project.DefaultProjectDependenciesResolver.resolve(DefaultProjectDependenciesResolver.java:214)
   	at org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.getDependencies(LifecycleDependencyResolver.java:243)
   	... 14 common frames omitted
   Caused by: org.eclipse.aether.resolution.DependencyResolutionException: Could not find artifact org.bouncycastle:bcprov-debug-jdk18on:jar:1.74 in central (https://repo1.maven.org/maven2/)
   	at org.eclipse.aether.internal.impl.DefaultRepositorySystem.resolveDependencies(DefaultRepositorySystem.java:374)
   	at org.apache.maven.project.DefaultProjectDependenciesResolver.resolve(DefaultProjectDependenciesResolver.java:207)
   	... 15 common frames omitted
   Caused by: org.eclipse.aether.resolution.ArtifactResolutionException: Could not find artifact org.bouncycastle:bcprov-debug-jdk18on:jar:1.74 in central (https://repo1.maven.org/maven2/)
   	at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:431)
   	at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtifacts(DefaultArtifactResolver.java:235)
   	at org.eclipse.aether.internal.impl.DefaultRepositorySystem.resolveDependencies(DefaultRepositorySystem.java:357)
   	... 16 common frames omitted
   Caused by: org.eclipse.aether.transfer.ArtifactNotFoundException: Could not find artifact org.bouncycastle:bcprov-debug-jdk18on:jar:1.74 in central (https://repo1.maven.org/maven2/)
   	at org.eclipse.aether.connector.basic.ArtifactTransportListener.transferFailed(ArtifactTransportListener.java:48)
   	at org.eclipse.aether.connector.basic.BasicRepositoryConnector$TaskRunner.run(BasicRepositoryConnector.java:369)
   	at org.eclipse.aether.util.concurrency.RunnableErrorForwarder.lambda$wrap$0(RunnableErrorForwarder.java:73)
   	... 3 common frames omitted
   ```


-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org

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


[GitHub] [camel] alex-nt commented on pull request #10397: CAMEL-19458: Bouncycastle 1.74 update

Posted by "alex-nt (via GitHub)" <gi...@apache.org>.
alex-nt commented on PR #10397:
URL: https://github.com/apache/camel/pull/10397#issuecomment-1592510251

   `components/camel-ftp` passed, I see no errors during a `mvn clean install`


-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org

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


[GitHub] [camel] alex-nt commented on pull request #10397: CAMEL-19458: Bouncycastle 1.74 update

Posted by "alex-nt (via GitHub)" <gi...@apache.org>.
alex-nt commented on PR #10397:
URL: https://github.com/apache/camel/pull/10397#issuecomment-1592494642

   I see failures but I can't tell what I need to fix, any clue? I did build `camel-crypto` and ran our project with the new version and it was ok.


-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org

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


[GitHub] [camel] alex-nt commented on pull request #10397: CAMEL-19458: Bouncycastle 1.74 update

Posted by "alex-nt (via GitHub)" <gi...@apache.org>.
alex-nt commented on PR #10397:
URL: https://github.com/apache/camel/pull/10397#issuecomment-1592519120

   I see it now, it seems that that piece didn't reach maven yet (it was released according to https://www.bouncycastle.org/latest_releases.html), the others are there.
   
   https://repo1.maven.org/maven2/org/bouncycastle/bcprov-debug-jdk18on/
   https://repo1.maven.org/maven2/org/bouncycastle/bcprov-jdk18on/
   
   
   


-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org

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


[GitHub] [camel] davsclaus merged pull request #10397: CAMEL-19458: Bouncycastle 1.74 update

Posted by "davsclaus (via GitHub)" <gi...@apache.org>.
davsclaus merged PR #10397:
URL: https://github.com/apache/camel/pull/10397


-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org

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


[GitHub] [camel] github-actions[bot] commented on pull request #10397: CAMEL-19458: Bouncycastle 1.74 update

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #10397:
URL: https://github.com/apache/camel/pull/10397#issuecomment-1594290024

   :no_entry_sign: There are (likely) no changes in core core to be tested in this PR


-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org

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


[GitHub] [camel] github-actions[bot] commented on pull request #10397: CAMEL-19458: Bouncycastle 1.74 update

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #10397:
URL: https://github.com/apache/camel/pull/10397#issuecomment-1594289995

   :no_entry_sign: There are (likely) no components to be tested in this PR


-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org

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