ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: "Мал Скрылёв" <3ahyga@gmail.com>
To: sisyphus@lists.altlinux.org
Subject: [sisyphus] git и gpg-agent
Date: Thu, 17 Feb 2011 15:17:01 +0300
Message-ID: <AANLkTinfdkDzYc7b=8N9qjRXQt8FEoUQyZQxQHg6iCGh@mail.gmail.com> (raw)

Приветствую всех.

На сизифе... пытаюсь подписать метку(tag) к git-схову. По выполнении
соотвествующей команды запрос к  gpg-agent не производится и git
спрашивает пароль, и по его введении git вываливается с ошибкою, что
мол невозможно подписать пакет. Поведение агента в случае ввода
неверного пароля иное есть, он просто переспрашивает пароль снова.
Пакеты получалось подписывать, если стоит гномовый хранитель ключей,
тот через ssh-переброс спрашивает пароль чрез окошко, и создание метки
проходит. Однако, если он не стоит то - ошибка... Не очень охото стать
окна ради того, чтобы подписать пакет. Лог таков есть:

$ git tag -s 0.04-alt1 -m "perl-Expect-Simple 0.04-alt1"

Необходим пароль для доступа к секретному ключу пользователя: "Malo
Skryleve <malo@altlinux.org>"
1024-бит DSA ключ, ID 9B0AED05, создан 2010-12-09

gpg: проблема с агентом - использование агента отключено
error: gpg failed to sign the tag
error: unable to sign the tag


Собственно проблема решилась установкою двух пакетов: pinentry-common
pinentry-curses
Однако такое поведение настораживает, почему вдруг без сих пакетов,
git не могло переварить вводимый верный пароль....

-- 
Малъ Зануда, Скрылёвъ сынъ

                 reply	other threads:[~2011-02-17 12:17 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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='AANLkTinfdkDzYc7b=8N9qjRXQt8FEoUQyZQxQHg6iCGh@mail.gmail.com' \
    --to=3ahyga@gmail.com \
    --cc=sisyphus@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 Sisyphus discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/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 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
		sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
	public-inbox-index sisyphus

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


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