switch CSCA with SKI to WRN

This commit is contained in:
turnoffthiscomputer
2025-01-06 11:37:19 +01:00
parent b04b94146f
commit 027889e322

View File

@@ -152,7 +152,7 @@ export function getCSCAFromSKI(ski: string, devMode: boolean): string {
const cscaPemDEV = (SKI_PEM_DEV as any)[ski];
const cscaPem = devMode ? cscaPemDEV || cscaPemPROD : cscaPemPROD;
if (!cscaPem) {
console.log('\x1b[31m%s\x1b[0m', `CSCA with SKI ${ski} not found`, 'devMode: ', devMode);
console.log('\x1b[33m%s\x1b[0m', `[WRN] CSCA with SKI ${ski} not found`, 'devMode: ', devMode);
throw new Error(
`CSCA not found, authorityKeyIdentifier: ${ski}, areMockPassportsAllowed: ${devMode},`
);