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

Better mechanism to respond to security advisories and warn users #932

Open
hasufell opened this issue Nov 17, 2023 · 2 comments
Open

Better mechanism to respond to security advisories and warn users #932

hasufell opened this issue Nov 17, 2023 · 2 comments

Comments

@hasufell
Copy link
Member

Related: haskell/security-advisories#129

Right now, GHCup has a mechanism of:

  • printing custom post-install messages
  • printing update warnings on startup (but only for the latest, not the recommend channel, unfortunately)

These can somewhat be used to inform users, but it might probably be worthwhile to add explicit support for security advisories.

We could either:

My idea would be to encode the CVE information into the metadata, not parse or download the actual Haskell HSECs.

@TristanCacqueray @frasertweedale @blackheaven @mihaimaruseac

@blackheaven
Copy link

It sounds reasonable, I guess that the first step would be to merge security-advisories to ghcup-metadata, right?

@frasertweedale
Copy link

If you don't want the ghcup client to parse the advisories but instead consume curated data in the metadata files, there should ideally be some automation to detect the advisories of interest and add them to the ghcup-metadata. Right now you can access the "raw" advisories in our main branch, or the OSV data in the osv-export branch. If you need something more or something different, please let the SRT know.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants