From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/15893 Path: news.gmane.org!not-for-mail From: Marius Hofert Newsgroups: gmane.emacs.gnus.user Subject: How to set up signing/encryption with GnuPG? Some newbie questions Date: Tue, 16 Oct 2012 09:41:21 +0200 Message-ID: <87a9vmamou.fsf@sklar.v.cablecom.net> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1350373302 32668 80.91.229.3 (16 Oct 2012 07:41:42 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 16 Oct 2012 07:41:42 +0000 (UTC) To: Emacs Gnus Original-X-From: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Tue Oct 16 09:41:49 2012 Return-path: Envelope-to: gegu-info-gnus-english@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1TO1mZ-0000pC-TM for gegu-info-gnus-english@m.gmane.org; Tue, 16 Oct 2012 09:41:44 +0200 Original-Received: from localhost ([::1]:56383 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TO1mT-00004q-3a for gegu-info-gnus-english@m.gmane.org; Tue, 16 Oct 2012 03:41:37 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:51003) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TO1mM-0008W1-Ic for info-gnus-english@gnu.org; Tue, 16 Oct 2012 03:41:36 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TO1mI-0004V0-BA for info-gnus-english@gnu.org; Tue, 16 Oct 2012 03:41:30 -0400 Original-Received: from edge20.ethz.ch ([82.130.99.26]:9608) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TO1mI-0004Ua-4z for info-gnus-english@gnu.org; Tue, 16 Oct 2012 03:41:26 -0400 Original-Received: from CAS22.d.ethz.ch (172.31.51.112) by edge20.ethz.ch (82.130.99.26) with Microsoft SMTP Server (TLS) id 14.2.298.4; Tue, 16 Oct 2012 09:41:21 +0200 Original-Received: from sklar.v.cablecom.net (217.162.131.152) by CAS22.d.ethz.ch (172.31.51.112) with Microsoft SMTP Server (TLS) id 14.2.298.4; Tue, 16 Oct 2012 09:41:22 +0200 User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2 (gnu/linux) X-Originating-IP: [217.162.131.152] X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 82.130.99.26 X-BeenThere: info-gnus-english@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Announcements and discussions for GNUS, the GNU Emacs Usenet newsreader \(in English\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Original-Sender: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.gnus.user:15893 Archived-At: Hi, Although I found and read (not necessarily understood :-) ) the security related parts of the Gnus manual (e.g., C-h i Gnus -> Security), I still have the following questions concerning signing and encryption of messages with Gnus: 1) What is a useful/meaningful setup in ~/.gnus.el for obtaining enabling GnusPG for PGP/MIME? I figured the following to be useful: (setq mm-verify-option 'always); always verify signed parts (setq mm-decrypt-option 'always); always decrypt encrypted parts (setq gnus-message-replysign t); gnus-message-replyencrypt, gnus-message-replysignencrypted are already t by default I also found Gnus users who set (setq gnus-treat-x-pgp-sig t) but I could not find sufficient documentation of gnus-treat-x-pgp-sig to determine whether this is useful. 2) Why are gnus-message-replyencrypt and gnus-message-replysignencrypted set to t by default, but gnus-message-replysign defaults to nil? Has this been forgotten in the recent change (see http://comments.gmane.org/gmane.emacs.gnus.general/75543)? 3) Is it "good practice" to always sign messages? AFAIK, this does not require the recipient to deal with encryption, but he could at least check that the message has the correct signature. How would one always sign messages in Gnus by default? 4) Where are my private/public keys? I never saw them nor was asked to generate them. 5) Am I correct in that signing a message simply requires C-c C-m s p? (and signing + encrypting C-c C-m c p?) I tried to send a test mail to adele@gnupp.de (mentioned on the german wiki page http://de.wikipedia.org/wiki/GNU_Privacy_Guard). I used C-c C-m c p. On sending via C-c C-c, I received "No public key for ; skip it? (y or n)". I chose 'y', since the public key will be sent by adele@gnupp.de. I then obtained "mml2015-epg-encrypt: No recipient specified". What does this mean? Cheers, Marius PS: I am working with Emacs 24 under Ubuntu 12.04 with Gnus v5.13.