ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: "Dmitry V. Levin" <ldv@altlinux.org>
To: ALT Devel discussion list <devel@lists.altlinux.org>
Subject: Re: [devel] ssh-agent и gpg-agent
Date: Wed, 3 Sep 2014 23:05:00 +0400
Message-ID: <20140903190500.GB6760@altlinux.org> (raw)
In-Reply-To: <20140901183216.GA22927@mw.mithraen.ru>

[-- Attachment #1: Type: text/plain, Size: 912 bytes --]

On Mon, Sep 01, 2014 at 10:32:16PM +0400, Денис Смирнов wrote:
> А в связи с чем у нас ssh-agent стартует из /etc/X11/profile.d, а
> gpg-agent из /etc/profile.d?

Для ssh-agent есть только X'овые askpass'ы,
для gpg-agent есть pinentry-curses.

Следует помнить, что pinentry-curses не реализует grab keyboard, со всеми
вытекающими.

> Правильно ли я понимаю, что /etc/profile.d вообще не обрабатывается при
> старте иксов?

Если не login shell, то не обрабатывается.

> Если да, то это полностью лишает возможности использовать
> enable-ssh-support в gpg-agent.

/etc/X11/Xsession запускает много всяких файлов, так что настроить запуск
gpg-agent несложно.

Следует помнить, что все агенты, реализующие ssh-agent, помимо самого
ssh-agent, более или менее неполноценные.  Они, как правило, отстают от
ssh-agent по фичам, в частности, по множеству поддерживаемых типов ключей.


-- 
ldv

[-- Attachment #2: Type: application/pgp-signature, Size: 181 bytes --]

  parent reply	other threads:[~2014-09-03 19:05 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-09-01 18:32 Денис Смирнов
2014-09-03 14:06 ` Mikhail Efremov
2014-09-03 14:27   ` Денис Смирнов
2014-09-03 18:51     ` Dmitry V. Levin
2014-09-03 22:56       ` Денис Смирнов
2014-09-03 23:00       ` Денис Смирнов
2014-09-03 19:05 ` Dmitry V. Levin [this message]
2014-09-08  6:14 ` Alexey Morozov
2014-09-08  6:39   ` Денис Смирнов

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=20140903190500.GB6760@altlinux.org \
    --to=ldv@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