From mboxrd@z Thu Jan 1 00:00:00 1970 Received: by 10.42.240.136 with SMTP id la8cs109925icb; Sun, 30 Jan 2011 15:22:45 -0800 (PST) Received: by 10.224.140.135 with SMTP id i7mr5663117qau.287.1296429764688; Sun, 30 Jan 2011 15:22:44 -0800 (PST) Return-Path: Received: from rubyforge.org (rubyforge.org [205.234.109.19]) by mx.google.com with ESMTP id bb9si22496928qcb.123.2011.01.30.15.22.44; Sun, 30 Jan 2011 15:22:44 -0800 (PST) Received-SPF: pass (google.com: domain of sup-talk-bounces@rubyforge.org designates 205.234.109.19 as permitted sender) client-ip=205.234.109.19; Authentication-Results: mx.google.com; spf=pass (google.com: domain of sup-talk-bounces@rubyforge.org designates 205.234.109.19 as permitted sender) smtp.mail=sup-talk-bounces@rubyforge.org; dkim=neutral (body hash did not verify) header.i=@gmail.com Received: from rubyforge.org (rubyforge.org [127.0.0.1]) by rubyforge.org (Postfix) with ESMTP id E6B6B177994A; Sun, 30 Jan 2011 18:22:43 -0500 (EST) Received: from mail-ww0-f54.google.com (mail-ww0-f54.google.com [74.125.82.54]) by rubyforge.org (Postfix) with ESMTP id DE8741858317 for ; Sun, 30 Jan 2011 18:05:28 -0500 (EST) Received: by wwb31 with SMTP id 31so5381413wwb.23 for ; Sun, 30 Jan 2011 15:05:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:content-type:subject:from:to:in-reply-to :references:date:message-id:user-agent:content-transfer-encoding; bh=2ziZAQQ3N5NXUaIj2R9JU6QL2+qSkd/Wl31OAQ8puMM=; b=P4hsM7jr6zq53zXf3qgcqx4GgQMg6zvAZooPH//LSXYPErmcfVJ1WXPwDl9dagn+MM u9QbtsrZGM3PmFwwZGZE7UmikiQ2KTyk7o78tirlS3KJF2U1sabm2wlrOQ9SbV44Dmlj 7jui5xQL71Qkl0A9s5QF59Vbf8CzOyJflDLmI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=content-type:subject:from:to:in-reply-to:references:date:message-id :user-agent:content-transfer-encoding; b=NPwmZuX7gkqusTuymv7PniMoeqcpKGtFpTsRILmqqsNKgTdZ6PEKlxmPh4YgDVzXkj T3jreLxUuxgWmyTEpCvQiH3tZRGv40MwQk9VVcToyU8JsNiOVftYMcQWl7up5DO+KSsN c7LTS1ewMP3cfp/gP+WlASvuAS7cHMGcg+iWw= Received: by 10.216.173.7 with SMTP id u7mr10145724wel.50.1296428726814; Sun, 30 Jan 2011 15:05:26 -0800 (PST) Received: from localhost (cpc12-cmbg15-2-0-cust81.5-4.cable.virginmedia.com [86.30.247.82]) by mx.google.com with ESMTPS id a50sm8890200wer.18.2011.01.30.15.05.19 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sun, 30 Jan 2011 15:05:26 -0800 (PST) From: Hamish To: sup-talk In-reply-to: <1295820417-sup-1526@fly> References: <1295770743-sup-9363@fly> <1295820417-sup-1526@fly> Date: Sun, 30 Jan 2011 23:04:58 +0000 Message-Id: <1296428275-sup-8599@whisper> User-Agent: Sup/git Subject: Re: [sup-talk] gpg-options.rb: how to set always_trust X-BeenThere: sup-talk@rubyforge.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: User & developer discussion of Sup List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: sup-talk-bounces@rubyforge.org Errors-To: sup-talk-bounces@rubyforge.org Excerpts from Sebastian Lipp's message of Sun Jan 23 22:09:01 +0000 2011: > Excerpts from Hamish D's message of So Jan 23 11:47:32 +0100 2011: > > if operation == "encrypt" > > options.merge({:always_trust => true}) > > end > > options > > That is exactly what I was looking for. Thanks. I've discovered that it actually needs to be if operation == "encrypt" options.merge!({:always_trust => true}) end options I've updated the wiki aswell. The difference is using merge! rather than merge - I discovered this while tracking down your other issue: > But another problem popped up. Now I can't sign any message. It makes no > difference if gpg-options.rb is there or not. There is also no difference in > choosing sign or sign and encrypt. There are no messages about that in > the log even with debugging turned on. Have I found a bug? This bug is now fixed in the next branch (and the gpgme branch). Someone should hopefully merge this into master soon. http://rubyforge.org/pipermail/sup-devel/2011-January/000965.html Hamish Downer _______________________________________________ sup-talk mailing list sup-talk@rubyforge.org http://rubyforge.org/mailman/listinfo/sup-talk