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

Verifying package integrity with the CLI #2516

Open
gomesdigital opened this issue Feb 15, 2025 · 0 comments
Open

Verifying package integrity with the CLI #2516

gomesdigital opened this issue Feb 15, 2025 · 0 comments
Labels
feature New feature or request triage Issue needs triage

Comments

@gomesdigital
Copy link

What problem are you trying to solve?

I am unsure that the packages I install are legitimate.

As a new user it is understood that devbox is an abstraction on Nix and is fetching Nix packages. Yet, I'd still like to ensure that what I've installed has not been tampered with and is the package as intended. Comparing some of the package names shows its an easy mistake:

e.g. mysql, which has the description An enhanced, drop-in replacement for MySQL (and I'm unable to find on search.nixos.org)
vs mysql80, which seems to be the genuine edition of mysql

Aside from devbox info <package-name>, it is difficult to get any more details on a package and I don't think matching up the descriptions is sufficient.

What solution would you like?

I'd like to get access to the official page for a package and its related links via the CLI. e.g. nixos.org provides a ref to the package's source code, its author and the official project home page. Before using it, I'd like to verify the package crypotographically to make sure it hasn't been tampered with and that it is the package I intended to use.

If we can make it easy to verify a package from a local installation, to Nix, to the project's source then it could improve adoption.

*Apologies if there is some naivety. I'm not invested in Nix. Perhaps there is already a way to do this? If someone could share how that'd be very appreciated.

Alternatives you've considered

Investing more time into understanding Nix. I'm not inclined to do this as I understand this is what devbox is trying to solve.

@gomesdigital gomesdigital added feature New feature or request triage Issue needs triage labels Feb 15, 2025
@gomesdigital gomesdigital changed the title Verifying package intergrity with the CLI Verifying package integrity with the CLI Feb 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request triage Issue needs triage
Development

No branches or pull requests

1 participant