Bug 3620

Summary: Signing over X11-forwarding: "Data signing failed, Line passed to IPC too long"
Product: Claws Mail (GTK 2) Reporter: Mattias Andrée <maandree>
Component: OtherAssignee: users
Status: RESOLVED INVALID    
Severity: trivial    
Priority: P3    
Version: 3.13.2   
Hardware: PC   
OS: Linux   

Description Mattias Andrée 2016-02-22 08:58:44 UTC
When I try to sign a message with my GPG key,
and claws-mail is running under X11-forwarding
(over ssh), I get the error message

  Could not queue message for sending:

  Signature failed: Data signing failed, Line passed to IPC too long

This appears before I am given the chance to
enter my passphrase.
Comment 1 Ricardo Mones 2016-02-22 09:52:30 UTC
Seems a gpg configuration problem, specifically the text mode pinentry¹.

A quick Google search shows you probably need to set an environment variable:

export GPG_TTY=$(tty)

In any case, nothing to do with Claws Mail, hence closing.

HTH,

¹ http://sources.debian.net/src/pinentry/0.9.7-5/pinentry/pinentry-curses.c/?hl=373#L373