Skip to content

Commit

Permalink
fix: support 403 allowlist
Browse files Browse the repository at this point in the history
  • Loading branch information
iowillhoit committed Sep 15, 2023
1 parent ab0d92e commit 16a9455
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/shared/installationVerification.ts
Original file line number Diff line number Diff line change
Expand Up @@ -467,7 +467,7 @@ export async function doInstallationCodeSigningVerification(
verificationConfig.log(`Successfully validated digital signature for ${plugin.plugin}.`);
} catch (err) {
if (err instanceof Error) {
if (err.name === 'NotSigned') {
if (err.name === 'NotSigned' || err.message === 'Response code 403 (Forbidden)') {
if (!verificationConfig.verifier) {
throw new Error('VerificationConfig.verifier is not set.');
}
Expand Down

0 comments on commit 16a9455

Please sign in to comment.