-
-
Notifications
You must be signed in to change notification settings - Fork 113
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
AUR packages can't pass PGP check. #606
Comments
Thanks for reporting, I'll look into this. |
Unfortunately I was not able to reproduce the issue. Which version of |
On the release version 3.0.0, using aura-bin from AUR. EDIT: Tried cloning the master branch, and building/installing with stack. The results are the same. |
Here's what I found. I have my gpg home directory changed to ~/.local/share/gnupg through the |
Aura calls down to runStyle :: User -> [String] -> (FilePath, [String])
runStyle (User usr) opts = ("sudo", ["-u", T.unpack usr, makepkgCmd] <> opts) So the call would look like |
I tested it. The env availabe when you use |
Yes. -E flag exists for sudo that should preserve environment, but it doesn't in this case. Haven't tried adding the -E to |
Adding -E to |
Asking the user to use How about I add |
Guess it might work. I'll try to see if I can fix it painlessly, meanwhile the hotfix should work. |
Hey @fosskers just wanted to say thank you for your great work on aura 🚀 I also have a similar issue with environment variables not getting passed through when building npm packages. Using |
Great guys, I'll add this tomorrow (Monday). |
That should do it. I'll make a release today too. |
Unfortunately I had to revoke the |
I had thought stuff like this would arise, using |
Perhaps setting them in |
Hi there, sorry it took so long to get back around to this. Environment variable handling is vastly improved in Aura 4, which I will be releasing soon. If you still notice issues like this, please let me know. |
Packages that require PGP checks error out even if you have the keys in your keyring. I'm guessing the issue is that it check's the root's keyring somehow and fails to find anything. Building the same packages through
makepkg
works just fine.$ sudo aura -Akax readline-athame-git
$ gpg --list-keys
The text was updated successfully, but these errors were encountered: