ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: "Victor B. Wagner" <vitus@altlinux.org>
To: devel@lists.altlinux.org
Subject: Re: [devel] alt-rpm signature verification
Date: Thu, 7 May 2009 12:47:05 +0400
Message-ID: <20090507084705.GC7433@cryptocom.ru> (raw)
In-Reply-To: <20090507073526.GB21721@ender.fondinvestrk.ru>

On 2009.05.07 at 11:35:26 +0400, Afanasov Dmitry wrote:

> On Thu, May 07, 2009 at 01:35:14AM +0400, Dmitry V. Levin wrote:
> > On Mon, May 04, 2009 at 07:00:25PM +0400, Victor B. Wagner wrote:
> > > Решать эту задачу - импортировать ключ стороннего
> > > репозитория в кейринг RPM предлагается посредством
> > >    1. посмотреть значение макроса %_gpg_path
> > 
> > По умолчанию этот макрос не определён.
> нашёл тут случайно - зато определен %_internal_gpg_path
> 
> получается команда GPG_PATH=`rpm --eval %_internal_gpg_path` gpg --import [files]

Так может добавить в дистрибутив скриптик apt-key, 
который будет выглядеть примерно так

#!/bin/sh
GPG_PATH=`rpm --eval %_internal_gpg_path`
export GPG_PATH
command=$1
shift;
case "$command" in
add)
	gpg --import "$@"
	;;
del)
	gpg --delete-key "$1"
	;;
list)
	gpg --list-keys
	;;
*)
	echo "Usage apt-key add file|apt-key del keyid|apt-key list" 1>&2
	exit 1
	;;
esac

(на самом деле, конечно, внимательно почитать дебиановский apt-key,
там обойдены некоторые грабли, на которые могут наступить пользователи
вышеприведенного скрипта, да и функциональности чуточку побольше).

Тогда будет как-то проще использовать сторонние репозитории софта.






  reply	other threads:[~2009-05-07  8:47 UTC|newest]

Thread overview: 43+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-05-04 15:00 [devel] Вопросы новичка Victor B. Wagner
2009-05-04 15:06 ` Andrey Rahmatullin
2009-05-04 15:22   ` Victor B. Wagner
2009-05-04 15:24     ` Mikhail Gusarov
2009-05-04 15:27       ` Andrey Rahmatullin
2009-05-04 15:27 ` Alexey I. Froloff
2009-05-04 15:51   ` Victor B. Wagner
2009-05-04 16:51     ` Max Ivanov
2009-05-04 17:31     ` Alexey I. Froloff
2009-05-05  8:10       ` Victor B. Wagner
2009-05-05 13:06         ` Alexey I. Froloff
2009-05-05 13:25           ` Victor B. Wagner
2009-05-05 15:06             ` Max Ivanov
2009-05-04 17:44   ` Alexander Bokovoy
2009-05-05  8:39     ` Victor B. Wagner
2009-05-05  9:43       ` Alexander Bokovoy
2009-05-05 10:36         ` Victor B. Wagner
2009-05-05 11:47           ` Alexander Bokovoy
2009-05-05 12:16             ` Victor B. Wagner
2009-05-05 12:44               ` Alexander Bokovoy
2009-05-05 12:57                 ` Victor B. Wagner
2009-05-05 13:26                   ` Alexander Bokovoy
2009-05-05 14:11                     ` Victor B. Wagner
2009-05-07  6:13                       ` Afanasov Dmitry
2009-05-07 21:26             ` Денис Смирнов
2009-05-08  7:41               ` Victor B. Wagner
2009-05-08 16:38                 ` Денис Смирнов
2009-05-09  5:48                   ` Alexander Bokovoy
2009-05-09  5:50                     ` Andrey Rahmatullin
2009-05-09  6:04                       ` Alexander Bokovoy
2009-05-09  6:06                         ` Andrey Rahmatullin
2009-05-09  6:04                       ` Alexander Bokovoy
2009-05-06 21:26 ` Dmitry V. Levin
2009-05-06 21:35 ` [devel] alt-rpm signature verification Dmitry V. Levin
2009-05-07  7:35   ` Afanasov Dmitry
2009-05-07  8:47     ` Victor B. Wagner [this message]
2009-05-07 15:37       ` Dmitry V. Levin
2009-05-07 17:17         ` Evgeny Sinelnikov
2009-05-07 17:21           ` Dmitry V. Levin
2009-05-07 17:22             ` Mikhail Gusarov
2009-05-07 17:31               ` Evgeny Sinelnikov
2009-05-07 18:23                 ` Evgeny Sinelnikov
2009-05-07 15:36     ` Dmitry V. Levin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20090507084705.GC7433@cryptocom.ru \
    --to=vitus@altlinux.org \
    --cc=devel@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Team development discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \
		devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
	public-inbox-index devel

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.devel


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git