Page MenuHome GnuPG

gpg --encrypt hangs (gpg4win 2.2.21)
Closed, ResolvedPublic

Description

Windows 7 Home Premium 32-bit

I invoke gpg from the DOS command line:

gpg --debug-all -vvv --output edit.txt2.crypt --encrypt --recipient <my email>

it hangs at this point in the console output:

...
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=0
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 0071C900
gpg: DBG: iobuf-7.0: underflow: req=8192

What I just noticed is if I type "enter" at this point two more lines appear:

gpg: DBG: iobuf-7.0: underflow: got=2 rc=0
gpg: DBG: iobuf-7.0: underflow: req=8192

This happens every time I click "enter", as if it is waiting for input from the
console.

Details

Version
2.2.21

Event Timeline

sbq set Version to 2.2.21.
sbq added a subscriber: sbq.
werner claimed this task.
werner added a project: Not A Bug.

That ain't no bug. gpg is waiting for input data. Enter it on the terminal,
provide a file or feed it from stdin.