mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-06 20:27:12 +00:00
wording
This commit is contained in:
@@ -362,10 +362,10 @@ export const pkiAcmeServiceFactory = ({
|
|||||||
return { eabPayload, eabProtectedHeader };
|
return { eabPayload, eabProtectedHeader };
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
if (error instanceof errors.JWSSignatureVerificationFailed) {
|
if (error instanceof errors.JWSSignatureVerificationFailed) {
|
||||||
throw new AcmeMalformedError({ detail: "Invalid external account binding JWS payload" });
|
throw new AcmeMalformedError({ detail: "Invalid external account binding JWS signature" });
|
||||||
}
|
}
|
||||||
logger.error(error, "Unexpected error while verifying EAB JWS payload");
|
logger.error(error, "Unexpected error while verifying EAB JWS signature");
|
||||||
throw new AcmeServerInternalError({ detail: "Failed to verify EAB JWS payload" });
|
throw new AcmeServerInternalError({ detail: "Failed to verify EAB JWS signature" });
|
||||||
}
|
}
|
||||||
})();
|
})();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user