Difference between revisions of "Talk:Pacman/Package signing"

From ArchWiki
Jump to: navigation, search
(Custom Built Pacakges Using ABS)
(Verifying the five Master Keys: new section)
(10 intermediate revisions by 5 users not shown)
Line 10: Line 10:
 
: --[[User:AlexanderR|AlexanderR]] 10:07, 12 April 2012 (EDT)
 
: --[[User:AlexanderR|AlexanderR]] 10:07, 12 April 2012 (EDT)
  
== Debian Keyring ==
+
== Verifying the five Master Keys ==
  
Could some key developers sign /developers and /trustedusers or create something like ''debian-keyring'' package? That would allow a transition from implicit trust to [core]+[extra] to gpg-based trust model.
+
When using chroot on both an unsquashed fs image and a LiveCD rescue environment, the "pacman-key --populate archlinux" command would not work without manually installing the archlinux-keyring package.  That package could not be installed without disabling signature checking in pacman.confA real "gotcha" for a newbie.
 
+
Currently there is no way to verify if /developers and /trustedusers are correct, and to build a trusted initial keyring...
+
 
+
[[User:Srg|Srg]] 07:08, 17 January 2012 (EST)
+
 
+
== Cleaning up ==
+
 
+
I've tried to make this page more accessible for people who are setting up package signingIf anyone who is super-familiar with pacman-key could double-check the facts, I'd appreciate it--[[User:DJPohly|DJPohly]] 18:08, 18 January 2012 (EST)
+

Revision as of 11:15, 10 October 2012

Custom Built Pacakges Using ABS

Can someone add info on how to sign AND trust custom built packages, e.g. a package I've built using ABS? --sjnims 06:05, 12 April 2012 (EST)

Note: This should actually be placed in Package signing instead of current useless redirect to outdated developers' article
  1. Create personal key with gnupg (it will be located in user's default keychain independantly from stuff in pacman's /etc/pacman.d/gnupg/):
    gpg --gen-key
    .
  2. Import generated key into pacman's keychain (pacman-key --import) from your ~/.gnupg.
  3. Add your signing key to trusted ones, like you did with developers' keys (again {Ic|pacman-key}}).
  4. Optional: configure gpg-agent and other such stuff (see ~/.gnupg/gpg.conf).
For exact instructions and explanations see man pacman-key, man gpg and GnuPG.
--AlexanderR 10:07, 12 April 2012 (EDT)

Verifying the five Master Keys

When using chroot on both an unsquashed fs image and a LiveCD rescue environment, the "pacman-key --populate archlinux" command would not work without manually installing the archlinux-keyring package. That package could not be installed without disabling signature checking in pacman.conf. A real "gotcha" for a newbie.