Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

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

Merged

Conversation

fioan89
Copy link
Collaborator

@fioan89fioan89 commentedJul 29, 2025
edited
Loading

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.

imageimage

github-actions[bot] reacted with thumbs up emoji
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.
Copy link

@jdomeracki-coderjdomeracki-coder left a 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)

@github-actionsGitHub Actions
Copy link
Contributor

Qodana Community for JVM

33 new problems were found

Inspection nameSeverityProblems
Usage of API marked for removal🔴 Failure13
Local 'var' is never modified and can be declared as 'val'🔶 Warning1
Incorrect string capitalization🔶 Warning1
Constant conditions🔶 Warning1
Usage of redundant or deprecated syntax or deprecated symbols🔶 Warning1
Throwable not thrown🔶 Warning1
Redundant nullable return type🔶 Warning1
Unused symbol🔶 Warning1
Convert 'object' to 'data object'◽️ Notice5
Class member can have 'private' visibility◽️ Notice3
String concatenation that can be converted to string template◽️ Notice2
Argument could be converted to 'Set' to improve performance◽️ Notice1
Return or assignment can be lifted out◽️ Notice1
Redundant lambda arrow◽️ Notice1

💡 Qodana analysis was run in the pull request mode: only the changed files were checked

View the detailed Qodana report

To be able to view the detailed Qodana report, you can either:

  1. Register atQodana Cloud andconfigure the action
  2. UseGitHub Code Scanning with Qodana
  3. HostQodana report at GitHub Pages
  4. Inspect and useqodana.sarif.json (seethe Qodana SARIF format for details)

To get*.log files or any other Qodana artifacts, run the action withupload-result option set totrue,
so that the action will upload the files as the job artifacts:

      -name:'Qodana Scan'uses:JetBrains/qodana-action@v2023.3.2with:upload-result:true
Contact Qodana team

Contact us atqodana-support@jetbrains.com

@fioan89fioan89 merged commit0773310 intomainJul 30, 2025
6 checks passed
@fioan89fioan89 deleted the impl-support-for-skipping-signature-verification branchJuly 30, 2025 20:12
fioan89 added a commit to coder/coder-jetbrains-toolbox that referenced this pull requestJul 31, 2025
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"/>
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@matifalimatifalimatifali approved these changes

@jdomeracki-coderjdomeracki-coderjdomeracki-coder approved these changes

@f0sself0sselAwaiting requested review from f0ssel

@code-ashercode-asherAwaiting requested review from code-asher

Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

3 participants
@fioan89@matifali@jdomeracki-coder

[8]ページ先頭

©2009-2025 Movatter.jp