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

From ArchWiki
Jump to: navigation, search
(Moveto Package signing?: ack)
(Verifying the five Master Keys: new section)
(6 intermediate revisions by 3 users not shown)
Line 1: Line 1:
== Debian Keyring ==
 
 
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.
 
 
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 signing.  If 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)
 
 
 
== Custom Built Pacakges Using ABS ==
 
== Custom Built Pacakges Using ABS ==
  
Line 22: Line 10:
 
: --[[User:AlexanderR|AlexanderR]] 10:07, 12 April 2012 (EDT)
 
: --[[User:AlexanderR|AlexanderR]] 10:07, 12 April 2012 (EDT)
  
== Moveto Package signing? ==
+
== Verifying the five Master Keys ==
 
+
As noted by AlexanderR above, this article's info is probably more useful to users than the current redirect of [[Package signing]] to [[DeveloperWiki:Package signing]].  I'd propose the following:
+
# This article is moved to [[Package signing]], leaving a redirect at [[pacman-key]].
+
# A note is added to the top of this article with a pointer to [[DeveloperWiki:Package signing]].
+
# (Maybe) Remove the note at the top of [[DeveloperWiki:Package signing]] pointing to [[pacman-key]].
+
--[[User:DJPohly|DJPohly]] 11:45, 12 April 2012 (EDT)
+
 
+
:#I like [[pacman-key]] better as a title, and I'd support redirecting [[Package signing]] here instead of [[DeveloperWiki:Package signing]]
+
:#The introduction of this article currently points to [[DeveloperWiki:Package Signing Proposal for Pacman]] (through a redirect), I agree it should be changed to [[DeveloperWiki:Package signing]]
+
:#I wouldn't touch [[DeveloperWiki:Package signing]] wrt the note at the top
+
:-- [[User:Kynikos|Kynikos]] 16:53, 14 April 2012 (EDT)
+
  
:: Sounds good to me. --[[User:DJPohly|DJPohly]] 16:56, 14 April 2012 (EDT)
+
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.

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.