From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 711332986880 X-Google-Groups: supmua X-Google-Thread: 3030fda1bf,9d79e4000effd05b X-Google-Attributes: gid3030fda1bf,domainid0,public,googlegroup X-Google-NewGroupId: yes X-Received: by 10.194.161.194 with SMTP id xu2mr11274585wjb.1.1427910538037; Wed, 01 Apr 2015 10:48:58 -0700 (PDT) X-BeenThere: supmua@googlegroups.com Received: by 10.181.29.164 with SMTP id jx4ls246757wid.5.canary; Wed, 01 Apr 2015 10:48:57 -0700 (PDT) X-Received: by 10.180.88.196 with SMTP id bi4mr2172681wib.5.1427910537619; Wed, 01 Apr 2015 10:48:57 -0700 (PDT) Return-Path: Received: from mail-wi0-x22a.google.com (mail-wi0-x22a.google.com. [2a00:1450:400c:c05::22a]) by gmr-mx.google.com with ESMTPS id g5si64681wix.1.2015.04.01.10.48.57 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 01 Apr 2015 10:48:57 -0700 (PDT) Received-SPF: pass (google.com: domain of matthieu.rakotojaona@gmail.com designates 2a00:1450:400c:c05::22a as permitted sender) client-ip=2a00:1450:400c:c05::22a; Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of matthieu.rakotojaona@gmail.com designates 2a00:1450:400c:c05::22a as permitted sender) smtp.mail=matthieu.rakotojaona@gmail.com; dkim=pass header.i=@gmail.com; dmarc=pass (p=NONE dis=NONE) header.from=gmail.com Received: by mail-wi0-x22a.google.com with SMTP id gn9so75335907wib.1 for ; Wed, 01 Apr 2015 10:48:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:subject:in-reply-to:references:date:message-id:user-agent :content-transfer-encoding:mime-version:content-type; bh=iFRYHR9+yW+Oa+AA8Z29pltQstti6rPT2J0ve5vyR5U=; b=bNV30/Z3jS0bwK+OQXSliMUj4Jy1eZ8PkJfTlpVHpYp9co+Qt9Kdq/wyYFue+dDxAJ 1LlQ/+88yxKHISUSyFfX3dFmO+7dzJAikrumhAuJKi+acXa2wLWexmlQFvYOiLCCQVSE 3CEBlS9K7b79mHRHIZ40+77R8hleSe0Xx+oi5fGPiA8jfVJPClSvQg1ec+o0+1wQe9QR nmgvcpx34/pBeYCoJGQynmcNskqbFGcdkZKn2A9TObI0bdnfIvfssD0KatBkIl6eXiH6 9QluUAOR7C6W+aDm/a8b88f4I6ZTOV7t8fHgtJkyQAXr1TeM+sGDyv+LMQfrYgj9a6ov XaDw== X-Received: by 10.194.59.199 with SMTP id b7mr87204317wjr.26.1427910537523; Wed, 01 Apr 2015 10:48:57 -0700 (PDT) Return-Path: Received: from localhost.localdomain (155-29-190-109.dsl.ovh.fr. [109.190.29.155]) by mx.google.com with ESMTPSA id fy2sm26437327wic.15.2015.04.01.10.48.55 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 01 Apr 2015 10:48:56 -0700 (PDT) Received: from localhost (localhost.localdomain [local]); by localhost.localdomain (OpenSMTPD) with ESMTPA id f18ee3ea; for ; Wed, 1 Apr 2015 17:48:54 +0000 (UTC) From: Matthieu Rakotojaona To: supmua Subject: Re: [sup] Sign all emails by default In-reply-to: <1427899057-sup-9268@vegeta> References: <1427899057-sup-9268@vegeta> X-pgp-key: http://otokar.looc2011.eu/static/matthieu.rakotojaona.asc Date: Wed, 01 Apr 2015 19:48:54 +0200 Message-Id: <1427910254-sup-359@kpad> User-Agent: Sup/git Content-Transfer-Encoding: 8bit MIME-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; boundary="=-1427910534-757300-18561-7331-1-=" --=-1427910534-757300-18561-7331-1-= Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Excerpts from Alfredo Palhares's message of 2015-04-01 15:38:52 +0100: > Hello fellow sup users, > = > How do I configure sup to sign all emails by default? > = > Regards, > = > -- = > Alfredo Palhares > GPG/PGP Key Fingerprint > 68FC B06A 6C22 8B9B F110 > 38D6 E8F7 4D1F 0763 CAAD > = Hey Alfredo, There is no setting for this, however there is a crypto-mode hook that is run when you start editing message. In order to answer your question I just wrote this: $ cat /path/to/hooks/crypto-mode.rb = = crypto_selector.set_to(:sign) if crypto_selector.can_set_to?(:sign) This automatically selects the :sign if it is possible. --=-1427910534-757300-18561-7331-1-= Content-Disposition: attachment; filename="signature.asc" Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iL4EARYKAGYFAlUcL4ZfFIAAAAAALgAoaXNzdWVyLWZwckBub3RhdGlvbnMub3Bl bnBncC5maWZ0aGhvcnNlbWFuLm5ldEU1NUU4OTkzQzM4OEMwMjk3MEMwMDYxNzIx MjlEMTI4NTczMTM0ODAACgkQISnRKFcxNIC8jQEAXa823e+NEUf/5kxWLcVcm0JO TOMXgZJxr/lyVvxGNqsBAHKwqU/wSPg0ylU9ScDgwTDKtqDaMFht2wZeVILuvmEO =8HJC -----END PGP SIGNATURE----- --=-1427910534-757300-18561-7331-1-=--