-
-
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
nix copy --no-check-sigs only seems to work for one direction? #5894
Comments
(granted, I'm still of two-minds about whether |
I wonder if there isn't a uri query param I should be adding? I feel like you seem to know about these types of things often @Ericson2314 , do you happen to know? |
Looking at the code, there’s no obvious reason why it shouldn’t be working. So I guess this is a bug, but I’ve no idea where it comes from 🤷 |
Just confirming again: The second command here only works reliably if I perform the first copy so that the derivations are copied up. Otherwise, signatures are not ignored when copying in the derivations to the "remote" builder. (I used
|
Is it possible that somehow I am not being recognized as a trusted user in certain scenarios? |
It kind of seems like adding
I changed the derivation enough and I can see it copying up the drvs and it seems to just work now... even though I Also see: EDIT: Nope... it still just doesn't work or is very unreliable. |
I am reminded of #5638. There's just too many places for those settings to go at the moment, which makes things very confusing. |
bump |
Running the command as root somehow works... |
Is your (non-root) user trusted? |
Describe the bug
This is what I'm doing to eval locally, build on a remote store, and copy back:
However, when I copy to the aarch64 community box, I get an error. (I am a trusted user on that box)
If I manually do this, then issue the same command, it works:
It seems to me that maybe
--no-check-sigs
is only working for one direction in my scenario(s)? Or is there a daemon mis-match version issue?Locally:
2.6.0pre20211217_6e6e998
Remote store:
2.6.0pre20211217_6e6e998
(also occurs with the box's default nix:2.5.1
)The text was updated successfully, but these errors were encountered: