[OM Cooker] gnupg issues

Tomasz Paweł Gajc tpgxyz at gmail.com
Thu Jul 14 02:11:41 EDT 2016


Dnia czwartek, 14 lipca 2016 01:01:45 CEST Bernhard Rosenkraenzer pisze:

> That's expected. pinentry is pretty much as a shell, it'll do what you
> tell it when you type stuff after the prompt.
> Try something more like
> 

i got this...
[tpg at lazur ~]$ pinentry
OK Pleased to meet you
    
im typing here, and press enter
ERR 536871187 Unknown IPC command <User defined source 1>


> [bero at desktop-lax ~]$ pinentry
> OK Pleased to meet you
> SETDESC Enter your root password (it will be mailed to the NSA for legal
> reasons)
> OK
> SETTITLE Government mandated spyware
> OK
> SETOK Yes
> OK
> SETCANCEL Revolt!
> OK
> GETPIN
> D Fake password for the NSA
> OK
> 

Its started when user logs in into session:
[tpg at lazur ~]$ systemctl --user status gpg-agent.service 
● gpg-agent.service - GnuPG private key agent
   Loaded: loaded (/usr/lib/systemd/user/gpg-agent.service; disabled; vendor 
preset: enabled)
   Active: active (running) since czw 2016-07-14 08:05:36 CEST; 2min 58s ago
  Process: 3915 ExecStartPost=/bin/systemctl --no-block --user set-environment 
SSH_AUTH_SOCK=${SSH_AUTH_SOCK} (code=exited, status=0/SUCCESS)
  Process: 3909 ExecStart=/usr/bin/gpg-agent --daemon --enable-ssh-support 
$GPGAGENT_PARAMS (code=exited, status=0/SUCCESS)
  Process: 3900 ExecStartPre=/usr/bin/pkill gpg-agent (code=exited, status=0/
SUCCESS)
 Main PID: 3914 (gpg-agent)
   CGroup: /user.slice/user-1001.slice/user at 1001.service/gpg-agent.service
           └─3914 /usr/bin/gpg-agent --daemon --enable-ssh-support --keep-
display --debug-level guru --log-file gpg-agent.log

> ttyl
> bero

I noticed that gpg-agent by default thinks i'm uing smart card and it defaults 
to scdaemon. Restarting gpg-agent.services get back things to normal.

-- 
Cheers
TPG
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: This is a digitally signed message part.
URL: <http://ml.openmandriva.org/pipermail/om-cooker_ml.openmandriva.org/attachments/20160714/d2aea9bb/attachment.asc>


More information about the OM-Cooker mailing list