S/MIME signing fails on a SUSE 9.3 system

Karsten Künne kuenne at rentec.com
Tue May 31 20:37:44 CEST 2005


Hi,

I have trouble signing kmail messages with S/MIME on a freshly installed SUSE 
9.3 system. The relevant SW versions are:

gpg2-1.9.14-6.2
gpgme-1.0.2-3
pinentry-0.7.1-4

If I try to sign a message with S/MIME I only get a popup telling me "Signing 
failed: No pinentry". But pinentry is installed and works fine (I tried it 
from the command line) and I also have no trouble signing with OpenPGP/MIME. 
With OpenPGP/MIME the pinentry window pops up and asks me for the passphrase 
and everything works, but with S/MIME it fails. Following is the bottom of 
the debug log:

...
[client at fd 5 connected]
  5 - 2005-05-31 14:24:11 gpgsm[32715.0x807faa8] DBG: -> Home: ~/.gnupg
  5 - 2005-05-31 14:24:11 gpgsm[32715.0x807faa8] DBG: -> 
Config: /home2/kuenne/.gnupg/gpgsm.conf
  5 - 2005-05-31 14:24:11 gpgsm[32715.0x807faa8] DBG: -> 
AgentInfo: /tmp/gpg-CLY3PY/S.gpg-agent:25887:1
  5 - 2005-05-31 14:24:11 gpgsm[32715.0x807faa8] DBG: -> DirmngrInfo: [not 
set]
  5 - 2005-05-31 14:24:11 gpgsm[32715.0x807faa8] DBG: -> GNU Privacy Guard's 
S/M server 1.9.14 ready
  4 - 2005-05-31 14:24:11 gpgsm[32713.0x807faa8] DBG: <- [EOF]
[client at fd 4 disconnected]
  5 - 2005-05-31 14:24:11 gpgsm[32715.0x807faa8] DBG: <- OPTION display=:0.0
  5 - 2005-05-31 14:24:11 gpgsm[32715.0x807faa8] DBG: -> OK
  5 - 2005-05-31 14:24:11 gpgsm[32715.0x807faa8] DBG: <- OPTION 
lc-ctype=en_US.UTF-8
  5 - 2005-05-31 14:24:11 gpgsm[32715.0x807faa8] DBG: -> OK
  5 - 2005-05-31 14:24:11 gpgsm[32715.0x807faa8] DBG: <- OPTION 
lc-messages=en_U
S.UTF-8
  5 - 2005-05-31 14:24:11 gpgsm[32715.0x807faa8] DBG: -> OK
  5 - 2005-05-31 14:24:11 gpgsm[32715.0x807faa8] DBG: <- OPTION include-certs 
1
  5 - 2005-05-31 14:24:11 gpgsm[32715.0x807faa8] DBG: -> OK
  5 - 2005-05-31 14:24:11 gpgsm[32715.0x807faa8] DBG: <- RESET
  5 - 2005-05-31 14:24:11 gpgsm[32715.0x807faa8] DBG: -> OK
  5 - 2005-05-31 14:24:11 gpgsm[32715.0x807faa8] DBG: <- SIGNER 
C56D2498E0CB350DCD84F0B6585D50789C9DA837
  5 - 2005-05-31 14:24:11 gpgsm[32715]: DBG: connection to agent established
  5 - 2005-05-31 14:24:12 gpgsm[32715]: certificate is good
  5 - 2005-05-31 14:24:12 gpgsm[32715]: CRLs not checked due to 
--disable-crl-checks option
  5 - 2005-05-31 14:24:12 gpgsm[32715.0x807faa8] DBG: -> OK
  5 - 2005-05-31 14:24:12 gpgsm[32715.0x807faa8] DBG: <- INPUT FD=27
  5 - 2005-05-31 14:24:12 gpgsm[32715.0x807faa8] DBG: -> OK
  5 - 2005-05-31 14:24:13 gpgsm[32715.0x807faa8] DBG: <- OUTPUT FD=33
  5 - 2005-05-31 14:24:13 gpgsm[32715.0x807faa8] DBG: -> OK
  5 - 2005-05-31 14:24:13 gpgsm[32715.0x807faa8] DBG: <- SIGN --detached
  5 - 2005-05-31 14:24:13 gpgsm[32715]: DBG: adding certificates at level 1
  5 - 2005-05-31 14:24:13 gpgsm[32715]: error creating signature: No pinentry 
<GPG Agent>
  5 - 2005-05-31 14:24:13 gpgsm[32715.0x807faa8] DBG: -> ERR 67108949 No 
pinentry <GPG Agent>
  5 - 2005-05-31 14:24:17 gpgsm[32715.0x807faa8] DBG: <- [EOF]
[client at fd 5 disconnected]


And this is my gpgsm.conf:

agent-program /usr/bin/gpg-agent
dirmngr-program /usr/bin/dirmngr
disable-crl-checks

###+++--- GPGConf ---+++###
debug-level basic
log-file socket:///home2/kuenne/.gnupg/log-socket
###+++--- GPGConf ---+++### Tue 31 May 2005 02:23:02 PM EDT
# GPGConf edited this configuration file.
# It will disable options before this marked block, but it will
# never change anything below these lines.


The gpg-agent is running and GPG_AGENT_INFO is set correctly. Does anybody 
know what's going on here?


Karsten.
-- 
Oliver's Law:
	Experience is something you don't get until just after you need
it.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : /pipermail/attachments/20050531/9810724b/attachment.pgp


More information about the Gpa-dev mailing list