[MlMt] S/MIME and OpenPGP issues

Sebastian Hagedorn Hagedorn at uni-koeln.de
Tue Jan 5 05:56:00 EST 2021


Hi,

I’m having trouble with both security protocols. When I try to use 
S/MIME, the composer window shows;

S/MIME: Failed to generate the message
Log	S/MIME sign/-
Certificates found for all addresses

Encoder created
Signer added
Requesting detached content
Content updated
errSecInternalComponent (Error code -2070.)

I enabled debugging and launched MailMate from iTerm. There it says:

Setting security level/protocol: sign/S/MIME (none/Unknown)
  Protocol changed (resetting message): Unknown != S/MIME (none > sign)
Searching for certificate for identity Hagedorn at uni-koeln.de
  Looking for preferred certificate
   Not found
  Require system matched email address
  Looking for candidate(s)
  Found 2 candidate(s)
   Found match (2379AD18EB0F7DADF38A62DF) with score 29
   Found match (2379AD18EB0F7DADF38A62DF) with score 29
   Found 2 valid candidates
S/MIME sign/-
Certificates found for all addresses

  Encoder created
  Signer added
  Requesting detached content
  Content updated
errSecInternalComponent (Error code -2070.)

Warning: Decoding empty text body for id -26
Warning: Decoding empty text body for id -29

FWIW, S/MIME worked for a while, but it showed the notorious “macOS 
wants to make changes” dialog every time (the same in Mail.app). So I 
removed my certificate and private key from the keychain and re-added 
them. Now everything appears to be fine in Mail.app, but MailMate 
isn’t happy. It clearly finds the right key (twice for some reason), 
but then something goes wrong.
Ideas?

As for OpenPGP, I see the following:

OpenPGP: Unexpectedly found no output when decryption and/or verifying 
(it might be a temporary system issue)
Command	/usr/local/bin/gpg --no-verbose --batch --no-tty --compliance 
"openpgp" --status-fd 2 --textmode --armor --local-user 
"<Hagedorn at uni-koeln.de>" --detach-sign
Output	[GNUPG:] KEY_CONSIDERED CE8BE30386737922A89F86D7197B06994D105B45 
2
[GNUPG:] BEGIN_SIGNING H2
[GNUPG:] USERID_HINT 197B06994D105B45 Sebastian Hagedorn 
<Hagedorn at uni-koeln.de>
[GNUPG:] NEED_PASSPHRASE 197B06994D105B45 197B06994D105B45 17 0
[GNUPG:] INQUIRE_MAXLEN 100
gpg: Sorry, we are in batchmode - can't get input

I have a suspicion that is caused by something in my gpg settings, but I 
don’t see anything obvious.
Ideas?

Thanks,
Sebastian
-- 
    .:.Sebastian Hagedorn - Weyertal 121 (Gebäude 133), Zimmer 2.02.:.
                 .:.Regionales Rechenzentrum (RRZK).:.
   .:.Universität zu Köln / Cologne University - ✆ 
+49-221-470-89578.:.



More information about the mailmate mailing list