Skip to content

impl: verify cli signature #562

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 11 commits into from
Jul 25, 2025
Prev Previous commit
Next Next commit
fix: class cast exception
  • Loading branch information
fioan89 committed Jul 22, 2025
commit 94e74f5f65a51b7dea732405db316e90d4e79220
4 changes: 2 additions & 2 deletions src/main/kotlin/com/coder/gateway/cli/CoderCLIManager.kt
Original file line number Diff line number Diff line change
Expand Up @@ -267,8 +267,8 @@ class CoderCLIManager(
}

else -> {
UnsignedBinaryExecutionDeniedException((result as DownloadResult.Failed).error.message)
val failure = result as DownloadResult.Failed
val failure = result as VerificationResult.Failed
UnsignedBinaryExecutionDeniedException(result.error.message)
logger.error("Failed to verify signature for ${cliResult.dst}", failure.error)
}
}
Expand Down
Loading