gansheer opened a new pull request, #9228:
URL: https://github.com/apache/camel-quarkus/pull/9228

   Ref #9227 
   
   Skip AES-256-CTR private key encryption in FIPS mode where it is unsupported 
and use @DisabledIfFipsMode when required.
   
   * `SftpCertificates.generateAll()`: Skip private key encryption in FIPS mode 
by passing null as the password when `FipsModeUtil.isFipsMode()` is true. The 
key pair is still generated, just stored unencrypted. This allows the test 
resources to start successfully.
   * `MinaSftpTest`: Add `@DisabledIfFipsMode` on 
`testEncryptedPrivateKeyAuthentication`, the encrypted key has no password in 
FIPS mode, so this test cannot work.
   * `SftpTest` and `SftpHostCertTest` (ftp module): Remove 
`@DisabledIfFipsMode` from all 7 tests. They are FIPS-compatible and were only 
disabled because the test resource crashed, not because the tests themselves 
use incompatible crypto.
   
   Note: I still need to check 3.33 branch
   
   🤖 Generated with the help [Claude Code](https://claude.com/claude-code)


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to