-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Make ValidPath (nar) hash
optional if ca
field is present
#3640
Comments
note that one is base16, while the other is base32:
but they are equivalent hashes:
|
CC @zimbatm as you were interested in multiple different hashing schemes. |
Ericson2314
added a commit
to obsidiansystems/nix
that referenced
this issue
Aug 19, 2020
See NixOS#3640 for details.
I marked this as stale due to inactivity. → More info |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Currently, the NAR hash is mandatory. This would mean requiring just one of
ca
andhash
. Having both is still fine.I figure as long as we have one way to verify a path's contents, we should be fine. Conferred with @LnL7, who thought not doing this was just a holdover from before the
ca
field existed.This would be good to give other NAR alternatives slightly more equal footing, which generally sounds nice, but which I'd specifically be interested in because of the git object work for IPFS. It's by no means a blocker though, as we can always just continue to compute the nar has in addition to anything else.
The text was updated successfully, but these errors were encountered: