[Gpg4win-users-en] Gpg4win: Keopatra and "gpg --encrypt", both hang

Samuel B. Quiring sbq at sbqsam.com
Fri Jan 31 07:56:50 CET 2014


Hi Bernhard,

Thanks for replying.

=== Sometimes a "security" product prevents the interprocess communication
=== via local TCP connections that the crypto components use.
=== For an experiment you could try to disable such products.
===What version of windows are you using?

 I am running Windows 7.  I have no "security products" running
on this computer that I am aware of.

I used --debug -vvv and here is the tail end of the output.  It
hangs after that last line.  If you need more output than this,
let me know.


...
gpg: DBG: iobuf chain: 8.1 `block_filter' filter_eof=0 start=0 len=19
gpg: DBG: iobuf chain: 8.0 `file_filter(fd)' filter_eof=0 start=0 len=0
gpg: DBG: build_packet() type=11
gpg: DBG: build_packet() type=8
gpg: DBG: enter deflate: avail_in=1, avail_out=8192, flush=0
gpg: DBG: leave deflate: avail_in=0, avail_out=8190, n=2, zrc=0
gpg: DBG: iobuf-8.3: push `block_filter'
gpg: DBG: iobuf chain: 8.3 `block_filter' filter_eof=0 start=0 len=0
gpg: DBG: iobuf chain: 8.2 `compress_filter' filter_eof=0 start=0 len=0
gpg: DBG: iobuf chain: 8.1 `cipher_filter' filter_eof=0 start=0 len=4
gpg: DBG: iobuf chain: 8.1 `block_filter' filter_eof=0 start=0 len=19
gpg: DBG: iobuf chain: 8.0 `file_filter(fd)' filter_eof=0 start=0 len=0
gpg: DBG: init block_filter 016BC900
gpg: DBG: iobuf-7.0: underflow: req=8192

====================================
Hi Samuel,

thanks for trying Gpg4win!

On Thursday 30 January 2014 at 05:09:50, Samuel B. Quiring wrote:
> I have installed gpg4win 2.2.1.  When I start kleopatra from the command
> line or by double-clicking the .exe from Window Explorer it never launches
> a GUI.  In the task manager I see kleopatra.exe using 50% of the CPU until
> I kill it.

Sometimes a "security" product prevents the interprocess communication
via local TCP connections that the crypto components use.
For an experiment you could try to disable such products.
What version of windows are you using?

=== I am running Windows 7.  I have no "security products" running on
=== this computer that I am aware of.

> When I type this command:
>
> $ gpg --output edit.txt2.crypt --encrypt --recipient blah at blah.com
>
> Where blah at blah.com is the email address on one of my keys, gpg never
> returns, but it is not using much (if any) cpu.  Finally I kill it with
> ctrl-c.  It does generate a small file, but when I try to decrypt it, I 
> get
> errors:
>
> 2048-bit RSA key, ID 46260496, created 2013-12-26 (main key ID D03DB332)
> gpg: AllowSetForegroundWindow(13020) failed: Access is denied.
> gpg: [don't know]: 1st length byte missing
>
> Other gpg (or gpg2) commands work ok.  I was able to create keys.  I can
> generate a new keypair.  I can add a subkey.
>
> For the two commands that are hanging, are there logfiles generated
> anywhere?  I defined the environment variable KLEOPATRA_LOGDIR in my user
> variables (not in System variables), but no logfiles ever get put there.

On the command line try the following flags to see a bit more:
  gpg2 --debug-all -vvv

> I would like to get this working, but I'm stumped.
>
> -Sam

-- 
www.intevation.de/~bernhard (CEO)    www.fsfe.org (Founding GA Member)
Intevation GmbH, Osnabrück, Germany; Amtsgericht Osnabrück, HRB 18998
Owned and run by Frank Koormann, Bernhard Reiter, Dr. Jan-Oliver Wagner


--------------------------------------------------
From: "Bernhard Reiter" <bernhard at intevation.de>
Sent: Thursday, January 30, 2014 1:47 AM
To: <gpg4win-users-en at wald.intevation.org>
Subject: Re: [Gpg4win-users-en] Gpg4win: Keopatra and "gpg --encrypt",both 
hang

> _______________________________________________
> Gpg4win-users-en mailing list
> Gpg4win-users-en at wald.intevation.org
> https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/gpg4win-users-en 




More information about the Gpg4win-users-en mailing list