Bug 3620 - Signing over X11-forwarding: "Data signing failed, Line passed to IPC too long"
Summary: Signing over X11-forwarding: "Data signing failed, Line passed to IPC too long"
Status: RESOLVED INVALID
Alias: None
Product: Claws Mail (GTK 2)
Classification: Unclassified
Component: Other (show other bugs)
Version: 3.13.2
Hardware: PC Linux
: P3 trivial
Assignee: users
URL:
Depends on:
Blocks:
 
Reported: 2016-02-22 08:58 UTC by Mattias Andrée
Modified: 2016-02-22 09:52 UTC (History)
0 users

See Also:


Attachments

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

Note You need to log in before you can comment on or make changes to this bug.