mirror of
https://github.com/selfxyz/self.git
synced 2026-01-10 15:18:18 -05:00
switch CSCA with SKI to WRN
This commit is contained in:
@@ -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},`
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user