Conversation
✅ Snyk checks have passed. No issues have been found so far.
💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse. |
Greptile SummaryThis PR propagates the FIPS-required Critical Issue: The fix is incomplete. FIPS settings are correctly applied to the In FIPS mode, BullMQ hashes repeat-job keys using the configured algorithm. A mismatch between producer ( Confidence Score: 3/5
Last reviewed commit: 51cbf52 |
Additional Comments (1)
The This is particularly relevant for The fix should apply workerContainer[QueueName.QueueInternalRecovery] = new Worker(
QueueName.QueueInternalRecovery,
async () => {
await startupRecovery();
},
{
prefix: isClusterMode ? `{${QueueName.QueueInternalRecovery}}` : undefined,
...fipsSettings,
connection
}
);
// Start reconciliation worker
workerContainer[QueueName.QueueInternalReconciliation] = new Worker(
QueueName.QueueInternalReconciliation,
async () => {
await runReconciliation();
},
{
prefix: isClusterMode ? `{${QueueName.QueueInternalReconciliation}}` : undefined,
...fipsSettings,
connection
}
); |
Context
We have created new queues recently which didn't have FIPS-specific settings on it like our primary queue does. Adding this will force the queue to use the sha256 algorithm for hashing rather than md5. This does not affect non-fips instances.
Steps to verify the change
Type
Checklist
type(scope): short description(scope is optional, e.g.,fix: prevent crash on syncorfix(api): handle null response).