On Mon, Aug 1, 2022 at 8:49 AM Andrey Grozin
<gro...@woodpecker.gentoo.org> wrote:
>
> Hello *,

Hi!

>
> Sorry for a very naive question.
>
> In the past, I used
> repoman commit
> to commit a new ebuild. I got a text screen in my terminal where I typed my
> passphraise (if I then committed something else within the timeout, I didn't
> have to re-type it).
>
> Now we are recommended to use
> pkgdev commit
> instead. But it does not ask for my passphraise, just writes an error message
> that it cannot sign my commit.

Can you please provide the error message? The rest is us guessing.

For example, with gpg I have problems unless I set GPG_TTY=$(tty) in
my .bashrc; if you run man gpg-agent you see a blurb about this being
'required' but it worked fine for years until it did not...I suspect
it is quite environment dependent.

-A

>
> If I commit something with repoman and then (within the timeout) commit
> something else with pkgdev, it works.
>
> My .gnupg/gpg-agent.conf is
>
> pinentry-program /usr/bin/pinentry-curses
> write-env-file
> default-cache-ttl 1000000
>
> My .gnupg/gpg.conf includes the line
>
> use-agent
>
> I can, of course, continue to use repoman for committing. But now it does not
> add the Signed-off-by: automatically. I have to add it by hand, in nano. This 
> is
> definitely the most convenient way.
>
> Thanks in advance,
> Andrey
>

Reply via email to