[pacman-dev] [PATCH 3/6] Update Makefile.am and configure.ac for gpgdir
Pang Yan Han
pangyanhan at gmail.com
Wed Jun 8 22:52:25 EDT 2011
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 at archlinux.org> wrote:
> On 02/06/11 04:09, Dan McGee wrote:
>
>> On Wed, Jun 1, 2011 at 4:23 AM, Allan McRae<allan at 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 at 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
>
>
More information about the pacman-dev
mailing list