- Notifications
You must be signed in to change notification settings - Fork16
impl: add support for disabling CLI signature verification#564
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
These options are configurable from the Settings page there is no availableshortcut on the main plugin page to discourage the quick disable of CLI verification
The main plugin screen has a quick shortcut for setting whether the userwants to fallback on releases.coder.com for signatures if they are not provided bythe main deployment. This checkbox should not be visible if the user wants to disablesignature verification altogether.
Signature validation is skipped if the user configured the `disableSignatureVerification` to true.
jdomeracki-coder left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
Approved albeit one of tests seems to be failing:
https://github.com/coder/jetbrains-coder/actions/runs/16608471311/job/46986425046?pr=564
CoderSettingsTest >DefaultCLIandsignatureforLinuxARMV7()FAILEDjava.lang.NoSuchMethodError:'void com.coder.gateway.settings.CoderSettingsState.<init>(java.lang.String, java.lang.String, java.lang.String, boolean, boolean, boolean, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, boolean, java.lang.String, java.lang.String, boolean, java.lang.String, java.lang.String, java.lang.String, java.lang.String, boolean, int, kotlin.jvm.internal.DefaultConstructorMarker)'atcom.coder.gateway.settings.CoderSettingsTest.setUp(CoderSettingsTest.kt:26)
Qodana Community for JVM33 new problems were found
💡 Qodana analysis was run in the pull request mode: only the changed files were checked View the detailed Qodana reportTo be able to view the detailed Qodana report, you can either:
To get -name:'Qodana Scan'uses:JetBrains/qodana-action@v2023.3.2with:upload-result:true Contact Qodana teamContact us atqodana-support@jetbrains.com
|
0773310
intomainUh oh!
There was an error while loading.Please reload this page.
This PR implements a new configurable option to allow users to disableGPG signature verification for downloaded Coder CLI binaries. Thisfeature provides flexibility for environments where signatureverification may not be required or where fallback signature sources arenot accessible.A new option `disableSignatureVerification` is now available only fromthe Settings page, with no quick shortcut in the main page to discourageusers from quickly disabling this option. The`fallbackOnCoderForSignatures` is hidden/not available for configurationonce signature verification is disabled.Additionally a rough draft for developer facing documentation regardingCLI signature verification was added.To make things more consistent with Coder Gateway, the fallback settingis always displayed if signature verification is enabled, we no longerdisplay it only once in the main page.This PR is a port ofcoder/jetbrains-coder#564from Coder Gateway.<img width="486" height="746" alt="image"src="https://github.com/user-attachments/assets/eff6f944-57ea-4926-857a-d5c5fd5d3901"/><img width="486" height="746" alt="image"src="https://github.com/user-attachments/assets/7f1d39da-9777-4d5c-a329-e056fe38bf22"/>
Uh oh!
There was an error while loading.Please reload this page.
This PR implements a new configurable option to allow users to disable GPG signature verification for downloaded Coder CLI binaries. This feature provides flexibility for environments where signature verification may not be required or where fallback signature sources are not accessible.
A new option.
disableSignatureVerification
is now available only from the Settings page, with no quick shortcut in the main page to discourage users from quickly disabling this option. ThefallbackOnCoderForSignatures
is hidden/not available for configuration once signature verification is disabled.Additionally a rough draft for developer facing documentation regarding CLI signature verification was added.