#1363 new
Deleted User

gpg sign und encryption doesn't work together

Reported by Deleted User | December 23rd, 2015 @ 02:23 PM

Hi!

From the beginning I could't sign messages. The encryption works properly.

When I set:
defaults write com.freron.MailMate MmOpenPGPHashFunction -string sha256

from #737 (https://freron.lighthouseapp.com/projects/58672/tickets/737-opengpg...)
I can sign. But not sign an encrypt together.

I get this error:

OpenPGP signing and/or encryption failed


USERID_HINT E32A6E5116749690 Marcus <Marcus@> NEED_PASSPHRASE E32A6E5116749690 E32A6E5116749690 17 0 GOOD_PASSPHRASE BEGIN_SIGNING H2 BEGIN_ENCRYPTION 2 9

debug log:

OpenPGP
gpg2 --no-verbose --batch --no-tty --openpgp --status-fd 2 --digest-algo SHA1 --textmode --armor --recipient "<info@****>" --recipient "<marcus@***>" --local-user "<marcus@***>" --encrypt --sign
Input string (971): "Content-Type: text/plain; charset=utf-8\r\nContent-Transfer-Encoding: 8bit\r\n\r\nHi!\r\n\r\n****..."
Command: #!/usr/bin/env bash
"$MM_GPG" --no-verbose --batch --no-tty --openpgp --status-fd 2 --digest-algo SHA1 --textmode --armor --recipient "<info@***>" --recipient "<marcus@***>" --local-user "<marcus@***>" --encrypt --sign


Result: Failure Output string (1525): "-----BEGIN PGP MESSAGE-----\nComment: GPGTools - https://gpgtools.org\n\nhQEMA7tte2Rnn8w6AQf/fDCOWfiFx8toJlRGjquxrMjAZOuvAJHhmZfGBXYeJ7Ym\nwxH9t6VfrVoo0Ban4Y3Rm9VL3B9zLl5J3mjtfBhbG/kSW55AfxDeH1745N4cC..." Detail: [GNUPG:] USERID_HINT E32A6E5116749690 Marcus <Marcus@> Detail: [GNUPG:] NEED_PASSPHRASE E32A6E5116749690 E32A6E5116749690 17 0 Detail: [GNUPG:] GOOD_PASSPHRASE Detail: [GNUPG:] BEGIN_SIGNING H2 Detail: gpg: DSA-Schlüssel 16749690 benötigt einen mindestens 256 Bit langen Hash Detail: [GNUPG:] BEGIN_ENCRYPTION 2 9 Detail: gpg: [stdin]: sign+encrypt failed: General error

My Key: DSA 3.072
MailMate 1.9.3 (5187)
gpg (GnuPG/MacGPG2) 2.0.28
libgcrypt 1.6.3

Thank you very much for support!
Marcus

No comments found

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Mac OS X email client.

Shared Ticket Bins

People watching this ticket

Pages