Hi guys, sorry for the late reply. A lot of things cropped up over the past week. I guess this patch was a mistake. My original intent was for the files to be there since there hasn't been much discussion as to how we will distribute the actual pubring.gpg and trustdb.gpg files. Thanks for the feedback though. =) Dan is right in that gpg should be invoked to create the files if we really want to do it. On Wed, Jun 8, 2011 at 7:59 AM, Allan McRae <allan@archlinux.org> wrote:
On 02/06/11 04:09, Dan McGee wrote:
On Wed, Jun 1, 2011 at 4:23 AM, Allan McRae<allan@archlinux.org> wrote:
On 29/05/11 00:37, Pang Yan Han wrote:
install-data-local target in Makefile.am will now create the default GPGDir, trustdb.gpg, pubring.gpg if they do not exist.
configure script will now output the default gpgdir with the other info (eg. database dir, cachedir, etc)
Signed-off-by: Pang Yan Han<pangyanhan@gmail.com>
What about creating secring.gpg too. Not that it is used, but GPG has issues with it not being present.
Also, does "touch trustdb.gpg" actually create a valid trustdb? From memory, a blank trustdb is invalid and it must be created by gpg.
Rather than "touch", why wouldn't one just invoke gpg once to create these files? (if we want to do this at all, that is, which I'm not sure is the case)
Just to confirm, touch trustdb.gpg leads to issues: gpg: fatal: /etc/pacman.d/gnupg/trustdb.gpg: invalid trustdb
Allan