[buildpkg] Where does signpkg get the gpg key? #107
Labels
No labels
Done
bug
buildiso
buildpkg
buildtree
critical
deployiso
duplicate
enhancement
help wanted
in progress
invalid
manjaro-chroot
note
old-not-relevant
optional
question
sonar
todo
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
tools/manjaro-tools#107
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Created by: ryanvade
When you use the -s flag with buildpkg, where is signpkg getting the gpg key? Is it possible to load the calling users keys? Or do you have to copy then to the chroot?
Created by: udeved
Local user key is used.
Created by: ryanvade
How so? When I try to use the sign option it attempts to use an empty key.
Created by: udeved
You need to set your key in /etc/makepkg.conf
https://www.archlinux.org/pacman/makepkg.conf.5.html
Created by: ryanvade
Very well then. Could this be made a bit more clear in the readme?
Created by: udeved
From my pov, nope, because makepkg is essential to arch based systems, and its documented on the wiki.
Secondly, since makepkg is not part of manjaro-tools, it is assumed the user is familiar with the basics.
Keep in mind, these are development tools, which do not necessarily target average manjaro user.
Created by: ryanvade
Okay. I just don't think it is clear that the host systems makepkg config is being used since the actual building is in a chroot. My first thought would be it copies the key over to the chroot then builds. Doesn't matter though I understand now.