* Problems with some Messages @ 2017-10-11 9:39 Clemens Schüller 2017-10-11 9:47 ` Clemens Schüller 0 siblings, 1 reply; 6+ messages in thread From: Clemens Schüller @ 2017-10-11 9:39 UTC (permalink / raw) To: ding Hello! In some signed messages I only see the raw output and I got a error message: --8<---------------cut here---------------start------------->8--- epg-context--make: GPG error: "no usable configuration", CMS --8<---------------cut here---------------end--------------->8--- How can I fix that? -- Best Regards, Clemens Schüller ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Problems with some Messages 2017-10-11 9:39 Problems with some Messages Clemens Schüller @ 2017-10-11 9:47 ` Clemens Schüller 2017-10-11 11:06 ` Marcus Frings 0 siblings, 1 reply; 6+ messages in thread From: Clemens Schüller @ 2017-10-11 9:47 UTC (permalink / raw) Cc: ding Hello Again! > Hello! > > In some signed messages I only see the raw output and I got a error > message: > > epg-context--make: GPG error: "no usable configuration", CMS > > > How can I fix that? Oops, I forgot to say something about my System: --8<---------------cut here---------------start------------->8--- GNU Emacs 27.0.50 (build 1, x86_64-apple-darwin16.7.0, NS appkit-1504.83 Version 10.12.6 (Build 16G29)) of 2017-10-08 --8<---------------cut here---------------end--------------->8--- -- Best Regards, Clemens Schüller ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Problems with some Messages 2017-10-11 9:47 ` Clemens Schüller @ 2017-10-11 11:06 ` Marcus Frings 2017-10-11 17:41 ` Clemens Schüller 0 siblings, 1 reply; 6+ messages in thread From: Marcus Frings @ 2017-10-11 11:06 UTC (permalink / raw) To: ding Clemens Schüller <cs.mlists+gnus@mailbox.org> writes: >> In some signed messages I only see the raw output and I got a error >> message: >> epg-context--make: GPG error: "no usable configuration", CMS >> How can I fix that? I assume this happens with messages which are signed with X.509 certificates. Do you have gpgsm installed? Best regards, Marcus ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Problems with some Messages 2017-10-11 11:06 ` Marcus Frings @ 2017-10-11 17:41 ` Clemens Schüller 2017-10-12 16:28 ` Jens Lechtenboerger 0 siblings, 1 reply; 6+ messages in thread From: Clemens Schüller @ 2017-10-11 17:41 UTC (permalink / raw) To: ding Hello! Marcus Frings wrote: > Clemens Schüller <cs.mlists+gnus@mailbox.org> writes: >>> In some signed messages I only see the raw output and I got a error >>> message: >>> epg-context--make: GPG error: "no usable configuration", CMS >>> How can I fix that? > > I assume this happens with messages which are signed with X.509 > certificates. Do you have gpgsm installed? Yes: --8<---------------cut here---------------start------------->8--- [mente@warhorse: ~]% dir =gpgsm -rwxr-xr-x 1 root admin 484900 22 Sep 20:56 /usr/local/MacGPG2/bin/gpgsm --8<---------------cut here---------------end--------------->8--- with debug enabled I got this error message on a eMail signed with X.509 --8<---------------cut here---------------start------------->8--- Debugger entered--Lisp error: (epg-error "no usable configuration" CMS) signal(epg-error ("no usable configuration" CMS)) epg-context--make(CMS nil nil nil nil nil nil) epg-make-context(CMS) mml-smime-epg-verify(((#<buffer *mm*-845230> ("text/plain" (charset . "utf-8")) quoted-printable nil ("inline") nil nil nil) (#<buffer *mm*-228417> ("application/pkcs7-signature" (name . "smime.p7s")) base64 nil ("attachment" (filename . "smime.p7s")) "S/MIME Cryptographic Signature" nil nil)) (#("multipart/signed" 0 16 (boundary "------------ms090301060108080500070001" micalg "sha-256" protocol "application/pkcs7-signature" buffer #<buffer *mm*-574234> from "t.schneider@tms-itdienst.at" start nil)) (boundary . "------------ms090301060108080500070001") (micalg . "sha-256") (protocol . "application/pkcs7-signature"))) mml-smime-verify(((#<buffer *mm*-845230> ("text/plain" (charset . "utf-8")) quoted-printable nil ("inline") nil nil nil) (#<buffer *mm*-228417> ("application/pkcs7-signature" (name . "smime.p7s")) base64 nil ("attachment" (filename . "smime.p7s")) "S/MIME Cryptographic Signature" nil nil)) (#("multipart/signed" 0 16 (boundary "------------ms090301060108080500070001" micalg "sha-256" protocol "application/pkcs7-signature" buffer #<buffer *mm*-574234> from "t.schneider@tms-itdienst.at" start nil)) (boundary . "------------ms090301060108080500070001") (micalg . "sha-256") (protocol . "application/pkcs7-signature"))) mm-possibly-verify-or-decrypt(((#<buffer *mm*-845230> ("text/plain" (charset . "utf-8")) quoted-printable nil ("inline") nil nil nil) (#<buffer *mm*-228417> ("application/pkcs7-signature" (name . "smime.p7s")) base64 nil ("attachment" (filename . "smime.p7s")) "S/MIME Cryptographic Signature" nil nil)) (#("multipart/signed" 0 16 (boundary "------------ms090301060108080500070001" micalg "sha-256" protocol "application/pkcs7-signature" buffer #<buffer *mm*-574234> from "t.schneider@tms-itdienst.at" start nil)) (boundary . "------------ms090301060108080500070001") (micalg . "sha-256") (protocol . "application/pkcs7-signature")) "t.schneider@tms-itdienst.at") mm-dissect-multipart((#("multipart/signed" 0 16 (boundary "------------ms090301060108080500070001" micalg "sha-256" protocol "application/pkcs7-signature" buffer #<buffer *mm*-574234> from "t.schneider@tms-itdienst.at" start nil)) (boundary . "------------ms090301060108080500070001") (micalg . "sha-256") (protocol . "application/pkcs7-signature")) "t.schneider@tms-itdienst.at") mm-dissect-buffer(nil t) gnus-display-mime() gnus-article-prepare-display() gnus-article-prepare(3658 nil) gnus-summary-display-article(3658 nil) gnus-summary-select-article(nil nil pseudo) gnus-summary-scroll-up(1) funcall-interactively(gnus-summary-scroll-up 1) call-interactively(gnus-summary-scroll-up nil nil) command-execute(gnus-summary-scroll-up) --8<---------------cut here---------------end--------------->8--- -- Best Regards, Clemens Schüller ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Problems with some Messages 2017-10-11 17:41 ` Clemens Schüller @ 2017-10-12 16:28 ` Jens Lechtenboerger 2017-10-12 17:38 ` Clemens Schüller 0 siblings, 1 reply; 6+ messages in thread From: Jens Lechtenboerger @ 2017-10-12 16:28 UTC (permalink / raw) To: Clemens Schüller; +Cc: ding On 2017-10-11, at 19:41, Clemens Schüller wrote: > Marcus Frings wrote: >> Clemens Schüller <cs.mlists+gnus@mailbox.org> writes: > > >>>> In some signed messages I only see the raw output and I got a error >>>> message: >>>> epg-context--make: GPG error: "no usable configuration", CMS >>>> How can I fix that? >> >> I assume this happens with messages which are signed with X.509 >> certificates. Do you have gpgsm installed? > > Yes: Which version of gpgsm is that? Variable epg-config--program-alist lists the minimum required version. Maybe customizing (not setting) epg-gpgsm-program to the full path of your gpgsm binary helps. Best wishes Jens ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Problems with some Messages 2017-10-12 16:28 ` Jens Lechtenboerger @ 2017-10-12 17:38 ` Clemens Schüller 0 siblings, 0 replies; 6+ messages in thread From: Clemens Schüller @ 2017-10-12 17:38 UTC (permalink / raw) To: ding Hello! Jens Lechtenboerger wrote: > Which version of gpgsm is that? --8<---------------cut here---------------start------------->8--- [mente@warhorse: ~]% LANG=C gpgsm --help gpgsm (GnuPG/MacGPG2) 2.2.0 libgcrypt 1.8.1 libksba 1.3.5 Copyright (C) 2017 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Home: /Users/mente/.gnupg Supported algorithms: Cipher: 3DES, AES128, AES192, AES256, SERPENT128, SERPENT192, SERPENT256, SEED, CAMELLIA128, CAMELLIA192, CAMELLIA256 Pubkey: RSA, ECC Hash: MD5, SHA1, RIPEMD160, SHA256, SHA384, SHA512, SHA224, WHIRLPOOL Syntax: gpgsm [options] [files] Sign, check, encrypt or decrypt using the S/MIME protocol Default operation depends on the input data --8<---------------cut here---------------end--------------->8--- > Variable epg-config--program-alist lists the minimum required > version. --8<---------------cut here---------------start------------->8--- epg-config--program-alist is a variable defined in ‘epg-config.el’. Its value is ((OpenPGP epg-gpg-program ("gpg2" . "2.1.6") ("gpg" . "1.4.3")) (CMS epg-gpgsm-program ("gpgsm" . "2.0.4"))) --8<---------------cut here---------------end--------------->8--- > Maybe customizing (not setting) epg-gpgsm-program to the full path > of your gpgsm binary helps. Thanks for the hint - this solution works. --8<---------------cut here---------------start------------->8--- [mente@warhorse: ~]% dir =gpgsm -rwxr-xr-x 1 root admin 484900 22 Sep 20:56 /usr/local/MacGPG2/bin/gpgsm --8<---------------cut here---------------end--------------->8--- I think, the non standard path was the problem. -- Best Regards, Clemens Schüller ^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2017-10-12 17:38 UTC | newest] Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2017-10-11 9:39 Problems with some Messages Clemens Schüller 2017-10-11 9:47 ` Clemens Schüller 2017-10-11 11:06 ` Marcus Frings 2017-10-11 17:41 ` Clemens Schüller 2017-10-12 16:28 ` Jens Lechtenboerger 2017-10-12 17:38 ` Clemens Schüller
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).