From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost ([128.39.46.106]) by mx.google.com with ESMTPSA id 48sm38518373eee.2.2014.03.25.00.45.14 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 25 Mar 2014 00:45:14 -0700 (PDT) From: Gaute Hope To: sup-talk Subject: Re: [sup-talk] Getting GPG working in Sup In-reply-to: References: Date: Tue, 25 Mar 2014 08:44:05 +0100 Message-Id: <1395733057-sup-3470@qwerzila> User-Agent: Sup/git Content-Transfer-Encoding: 8bit MIME-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; boundary="=-1395733445-823173-20414-735-1-=" --=-1395733445-823173-20414-735-1-= Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Excerpts from James Pearson's message of 2014-03-25 01:41:16 +0100: > I recently decided that I should start using GPG, primarily for signing= > messages (not encrypting them). I'm looking at > https://github.com/sup-heliotrope/sup/wiki/gpg , and while I think I've= got > everything set correctly, test messages aren't being signed. > = > # .sup/config.yaml > 1 --- > 2 :accounts: > 3 :default: > [...] > 9 :gpgkey: '58DAFDEB' I don't use quotes, but don't know if it matters. > = > # .sup/hooks/crypto-mode.rb > 1 crypto_selector.set_to :sign > = > [$]> gem list | grep gpg > gpgme (2.0.5, 2.0.2) I'm using 2.0.5. What is the output of `rake test` in sup.git? It runs through a few gpg-tests as well. Could you cd to sup.git/test and do: $ ruby -I. -w test_crypto.rb -v Do you have gpg installed? What does sup tell you about the signature of this message (just below header)? > = > and that should be it, right? But when I send an email to myself, I do= n't > get prompted for my GPG passphrase, and I don't see an .asc on the > receiving side. > = > Any tips? I'm using sup 0.15.4. Is the crypto-selector visible in edit-mode? Is 'sign' selected? - gaute --=-1395733445-823173-20414-735-1-= Content-Disposition: attachment; filename="signature.asc" Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) iQIcBAEBAgAGBQJTMTPFAAoJEJgnp+igdJAjgAQP/j9NKsd4OKWDNkd7MYYFVPD2 c1WLTLXId/bi7Lrm7mArTi7RisHGoncMw6lLZKQaesCWa38Rn4rZjtwcRj8FzL6Y mdJ0ImbQJP1kHat7+DNGIO6t2bW3F0ZrMZwRj8YdbB7yvQrYChrs6oc2L4RIRal2 rs4kUtFblSdecohOzNJTOdT9GZMEDswksiXaYjrREM9pJFKlQ7p1GIvSnJWBueCu R+FtSN14ym7nIO+CCj6K9AMqc3YjgXNp0ofjt1m+XwhTPq8Rn16oWlLOcUFQqU/I lBi6F5UEXzOcJBgdknAgypf334NWW0F9pPt+LBTED3XOSRwq9SZL+wbQaK2Jhua1 5+l/IfrOL0WpU+x8puWNSsTnTci5viPgmVOTTa0EKPR/Ez+UqGj6aQaB3vBPyn08 vdccp3o2X88bZ/XAHdyUhyFvU0esC5thNALtKgtm9lFqbNOiNio36c17omAUZ0SC 2bL45T1lm+VFNmRyHLNXCCeJikouyQtw7BS2aIoOo++ih4XE+MFWvpvG5Cx5aI12 lSf805jQWPTnrBXeYg43RCgiUb7DwKtx+pQWQz4NZ2n/N6TIw5GL+EQr9/kkwNi8 iTnvqaNP58N5m4/99j/etWBxEwRTrPJ9oOTu67mNpFZiqTuvevqeTtSWJM5L8v+q IkpsmOEMrXyAUISHxfBD =EEHX -----END PGP SIGNATURE----- --=-1395733445-823173-20414-735-1-=--