Skip to content

armgit / orca

Public Imported from GitHub
0

Orca is the place for working with a fleet of agents (e.g. Grok Bot, Claude Code). Run any coding agent with your own subscription. Available on desktop, mobile and remote runtime.

783 B
Raw Blame
// Detect failed Get-AuthenticodeSignature spawning (EDR, timeout, revocation stalls) for actionable copy.
// Exclude wrong-publisher mismatches: those are integrity failures, not environment interference.
export function isWindowsSignatureCheckUnavailableFailure(message: string): boolean {
  const normalized = message.toLowerCase()
  if (normalized.includes('not signed by the application owner')) {
    return false
  }
  return normalized.includes('get-authenticodesignature')
}

// electron-updater uses this phrase for a readable installer signed by the wrong owner; require a security stop, not ordinary retry copy.
export function isWindowsSignatureMismatchFailure(message: string): boolean {
  return message.toLowerCase().includes('not signed by the application owner')
}