On 10 November 2016 at 16:58, Dave Steele <[email protected]> wrote:
> On Thu, Nov 10, 2016 at 8:15 AM, Arturo Borrero Gonzalez
> <[email protected]> wrote:
>> ...
>>
>> Then, in Gmail, if I create a new email a push 'Sign and Send', a yellow
>> message box appears in the gmail window with:
>>
>>  Your message was not sent. Please retry.
>>
>> Any hint?
>>
>
> Can you verify that
> /etc/opt/chrome/native-messaging-hosts/com.leoiannacone.goopg.json
> (Chrome) or /etc/chromium/native-messaging-hosts/com.leoiannacone.goopg.json
> (Chromium) is present?
>

Yes, present.

> Also, take a look at $HOME/.cache/goopg/log.
>

I see this kind of content:

2016-11-10 14:05:16,468:INFO:oauth2client.client:Successfully
retrieved access token
2016-11-10 14:05:16,469:DEBUG:Gmail:Authentication successful.
2016-11-10 14:05:58,505:INFO:Gmail:getting message 1584e5835abaf399
2016-11-10 14:05:58,660:DEBUG:Gmail:message id 1584e5835abaf399
MIME-Version: 1.0
Received: by 10.25.221.208 with HTTP; Thu, 10 Nov 2016 05:05:53 -0800 (PST)
To: Arturo Borrero <[email protected]>
Date: Thu, 10 Nov 2016 14:05:53 +0100
Message-ID: <caoksjbi_-n5tv4+zyhowguf8uraue3agtaes0wcqacjuqyt...@mail.gmail.com>
Subject: test
From: Arturo Borrero Gonzalez <[email protected]>
Content-Type: text/plain; charset=UTF-8

test

2016-11-10 14:05:58,661:DEBUG:gnupg:sign_file: <_io.BytesIO object at
0x7fccf04c5890>
2016-11-10 14:05:58,662:DEBUG:gnupg:['gpg1', '--status-fd', '2',
'--no-tty', '--use-agent', '-sa', '--detach-sign']
2016-11-10 14:05:58,667:DEBUG:gnupg:data copier: <Thread(Thread-3,
initial daemon)>, <_io.BytesIO object at 0x7fccf04c5890>, <open file
'<fdopen>', mode 'wb' at 0x7fcceebfdb70>
2016-11-10 14:05:58,668:DEBUG:gnupg:stderr reader: <Thread(Thread-4,
initial daemon)>
2016-11-10 14:05:58,668:DEBUG:gnupg:closed output, 115 bytes sent
2016-11-10 14:05:58,668:DEBUG:gnupg:stdout reader: <Thread(Thread-5,
initial daemon)>
2016-11-10 14:05:58,765:DEBUG:gnupg:[GNUPG:] USERID_HINT
68E713981D1515F8 Arturo Borrero Gonzalez <[email protected]>
2016-11-10 14:05:58,766:DEBUG:gnupg:[GNUPG:] NEED_PASSPHRASE
68E713981D1515F8 68E713981D1515F8 1 0
2016-11-10 14:05:58,766:DEBUG:gnupg:gpg: gpg-agent is not available in
this session
2016-11-10 14:05:58,766:DEBUG:gnupg:gpg: Sorry, no terminal at all
requested - can't get input
2016-11-10 14:05:58,766:ERROR:GPGMail:signature Content-Type:
text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable

test

2016-11-10 14:05:58,766:ERROR:CommandHandler:Invalid signature hash_algo None
Traceback (most recent call last):
  File "/usr/share/goopg/commandhandler.py", line 88, in sign
    new_message = self.gpgmail.sign(draft)
  File "/usr/share/goopg/gpgmail.py", line 171, in sign
    micalg = "pgp-{}".format(self._get_digest_algo(signature).lower())
  File "/usr/share/goopg/gpgmail.py", line 135, in _get_digest_algo
    raise TypeError("Invalid signature hash_algo {}".format(hash_algo))
TypeError: Invalid signature hash_algo None

Reply via email to