setting the url field of a OpenPGP fails when using gpg-agent

Michael Bienia michael at vorlon.ping.de
Tue Apr 11 23:43:57 CEST 2006


On 2006-04-11 17:03:46 +0200, Werner Koch wrote:
> On Tue, 11 Apr 2006 14:00:56 +0200, Michael Bienia said:
> 
> > if I try to set the url field of an OpenPGP card using gpg with
> > gpg-agent it fails with the following error:
> > | gpg: sending command `SCD SETATTR' to agent failed: ec=6.32769
> > | gpg: error setting URL: general error
> > But I can set an url if I use gpg without gpg-agent.
> 
> To debug this, you need to use a log file scdaemon and enable
> debugging.

Here is the debug output:
,----
| [client at fd 4 connected]
|   4 - 2006-04-11 23:34:59 scdaemon[31472]: DBG:   APDU_data: 00 CA 00 C4 00
|   4 - 2006-04-11 23:34:59 scdaemon[31472]: DBG:  response: sw=9000  datalen=7
|   4 - 2006-04-11 23:34:59 scdaemon[31472]: DBG:       dump:  00 FE FE FE 03 03 03
|   4 - 2006-04-11 23:34:59 scdaemon[31472]: DBG: send apdu: c=00 i=CA p0=00 p1=7A lc=-1 le=256
|   4 - 2006-04-11 23:34:59 scdaemon[31472]: DBG:   APDU_data: 00 CA 00 7A 00
|   4 - 2006-04-11 23:34:59 scdaemon[31472]: DBG:  response: sw=9000  datalen=5
|   4 - 2006-04-11 23:34:59 scdaemon[31472]: DBG:       dump:  93 03 00 00 16
|   4 - 2006-04-11 23:35:03 scdaemon[31472]: access to admin commands is not configured
`----
Looking at the available options for scdaemon, is adding allow-admin
into scdaemon.conf the correct solution for my problem? It is safe to
use allow-admin?

Michael



More information about the Gnupg-users mailing list