GnuPG 1.9.16/17 (S/MIME and gpg-agent) , importing pkcs12 fails: Invalid digest algorithm

thomas schorpp t.schorpp at gmx.de
Tue Jun 21 12:17:37 CEST 2005


Werner Koch wrote:
> On Tue, 21 Jun 2005 11:06:56 +0200, thomas schorpp said:
> 

> 
>>2. importing mozilla certmngr exported CACert.org cert doesnt work:
> 
> 
> How do you export it from Mozilla?

using the certmngr, only one way with button "backup", a passphrase to
encrypt the private key must be supplied then.
a pkcs12 file is created.

> 
> 
>>gpgsm: gpg-protect-tool: gpg-agent is not available in this session
> 
> 
> start gpg-agent first (see "info gnupg").

yes. readme states it too..

schorpp at tom1:~/data/tcom$ gpg-agent --daemon
GPG_AGENT_INFO=/tmp/gpg-xXQRRa/S.gpg-agent:14368:1; export GPG_AGENT_INFO;
schorpp at tom1:~/data/tcom$
schorpp at tom1:~/data/tcom$
schorpp at tom1:~/data/tcom$ gpgsm --import cacert-schorpp.p12
gpgsm: NOTE: THIS IS A DEVELOPMENT VERSION!
gpgsm: It is only intended for test purposes and should NOT be
gpgsm: used in a production environment or with production keys!
gpgsm: gpgsm: GPG_TTY has not been set - using maybe bogus default
gpgsm: gpg-protect-tool: gpg-agent is not available in this session <---???

gpgsm: gpg-protect-tool: error while asking for the passphrase: Invalid
digest algorithm
gpgsm: error running `/usr/local/libexec/gpg-protect-tool': exit status 2
gpgsm: total number processed: 0
random usage: poolsize=600 mixed=0 polls=0/0 added=0/0
              outmix=0 getlvl1=0/0 getlvl2=0/0
secmem usage: 0/16384 bytes in 0 blocks
schorpp at tom1:~/data/tcom$
schorpp at tom1:~/data/tcom$ ps -Af|grep gpg-agent
schorpp  14368     1  0 12:00 ?        00:00:00 gpg-agent --daemon
schorpp  14383 17431  0 12:01 pts/6    00:00:00 grep gpg-agent
schorpp at tom1:~/data/tcom$
schorpp at tom1:~/data/tcom$

it cant connect to agent? ...




More information about the Gnupg-devel mailing list