Skip to content
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

Add the ability to generate SSL certs from tray icon #778

Merged
merged 22 commits into from
Apr 21, 2023
Merged

Conversation

umbynos
Copy link
Contributor

@umbynos umbynos commented Mar 30, 2023

Please check if the PR fulfills these requirements

  • The PR has no duplicates (please search among the Pull Requests
    before creating one)
  • Tests for the changes have been added (for bug fixes / features)
  • What kind of change does this PR introduce?

feature

  • What is the current behavior?

Fix #735

  • What is the new behavior?

There is a new clickable voice in the tray icon's menu that allows a Mac/windows user to generate and install in the keychain the SSL certificates that are used for the agent to work in HTTPS mode.
Linux has this menuItem disabled, since the certificates are not required on this OS.
image
The voice is clickable only if the certs have not already been generated, otherwise it's grayed-out

  • Does this PR introduce a breaking change?

yes, the installation of the certs have been removed from the installer. It is now available from the tray icon. The doc have to be updated, if the user wants to remove the installed cert it has to be done manually using the keychain management tool of the system.

  • Other information:

In the installer, we should remove the cert handling. (the 3 different flavors of the agent are no more required), also the CI needs some changes

@umbynos umbynos added type: enhancement Proposed improvement os: macos Specific to macOS operating system labels Mar 30, 2023
@umbynos umbynos self-assigned this Mar 30, 2023
@codecov-commenter
Copy link

codecov-commenter commented Mar 30, 2023

Codecov Report

Patch coverage has no change and project coverage change: -0.03 ⚠️

Comparison is base (ea1be68) 11.33% compared to head (06ea2fd) 11.31%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #778      +/-   ##
==========================================
- Coverage   11.33%   11.31%   -0.03%     
==========================================
  Files          53       54       +1     
  Lines        3936     3943       +7     
==========================================
  Hits          446      446              
- Misses       3435     3442       +7     
  Partials       55       55              
Flag Coverage Δ
unit 11.31% <0.00%> (-0.03%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
certificates/certificates.go 0.00% <0.00%> (ø)
certificates/install_default.go 0.00% <0.00%> (ø)
config/config.go 0.00% <0.00%> (ø)
hub.go 0.00% <0.00%> (ø)
main.go 2.49% <0.00%> (-0.01%) ⬇️
systray/systray_real.go 0.00% <0.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@umbynos umbynos force-pushed the certs-from-tray branch 5 times, most recently from 21384b7 to 1829b03 Compare April 17, 2023 15:35
@umbynos umbynos marked this pull request as ready for review April 17, 2023 16:05
@umbynos
Copy link
Contributor Author

umbynos commented Apr 17, 2023

@umbynos umbynos removed the os: windows Specific to Windows operating system label Apr 19, 2023
@umbynos
Copy link
Contributor Author

umbynos commented Apr 19, 2023

I've removed support for windows in b6f6947 since the newer version of edge is chromium based: chromium and chrome do not require the agent in HTTPS

@umbynos umbynos merged commit e40ebde into main Apr 21, 2023
@umbynos umbynos deleted the certs-from-tray branch April 21, 2023 14:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
os: macos Specific to macOS operating system type: enhancement Proposed improvement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Rework the HTTPS certs install: add menu options in the tray menu
3 participants