RSASSA-PKCS1v15 Quantum-vulnerable 4 places See details
Algorithm named in a setting
A setting whose name says it holds an algorithm, given a literal that names one: `withOaepPaddingDigestAlgorithm("SHA-512")`, `signatureAlgorithm = "SHA256withRSA"`, `"digestAlgorithm": "SHA-256"`. The algorithm never reaches a `getInstance()` in this file - it is carried to one somewhere else, often through configuration - so a scan that only reads the factories cannot see it at all.
Something here is configured to use a named algorithm. The code that uses it may be somewhere else entirely, but this is the line that decides which algorithm it is.
What to do. Find what consumes the setting. The migration belongs to that operation; this line is where the choice is actually written down, and usually where it is easiest to change.
-
packages/ee/server-only/signing/csc/algorithm-resolver.ts:316
signatureAlgorithm: 'RSASSA-PKCS1-v1_5' | 'RSA-PSS' | 'ECDSA'; -
packages/ee/server-only/signing/csc/algorithm-resolver.ts:338
const signatureAlgorithm: 'RSASSA-PKCS1-v1_5' | 'RSA-PSS' = -
packages/ee/server-only/signing/csc/signers/capture-signer.ts:31
type SignatureAlgorithm = 'RSASSA-PKCS1-v1_5' | 'RSA-PSS' | 'ECDSA'; -
packages/ee/server-only/signing/csc/signers/fifo-signer.ts:20
type SignatureAlgorithm = 'RSASSA-PKCS1-v1_5' | 'RSA-PSS' | 'ECDSA';