From mboxrd@z Thu Jan 1 00:00:00 1970 Received: by 10.42.229.71 with SMTP id jh7cs1192icb; Sun, 23 Jan 2011 01:05:38 -0800 (PST) Received: by 10.224.74.75 with SMTP id t11mr2725300qaj.146.1295773537826; Sun, 23 Jan 2011 01:05:37 -0800 (PST) Return-Path: Received: from rubyforge.org (rubyforge.org [205.234.109.19]) by mx.google.com with ESMTP id n7si24365934qcu.134.2011.01.23.01.05.37; Sun, 23 Jan 2011 01:05:37 -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 Received: from rubyforge.org (rubyforge.org [127.0.0.1]) by rubyforge.org (Postfix) with ESMTP id 426F21858374; Sun, 23 Jan 2011 04:05:37 -0500 (EST) X-Greylist: delayed 1057 seconds by postgrey-1.31 at rubyforge.org; Sun, 23 Jan 2011 03:45:19 EST Received: from mx1.riseup.net (mx1.riseup.net [204.13.164.18]) by rubyforge.org (Postfix) with ESMTP id 3BDD01858346 for ; Sun, 23 Jan 2011 03:45:18 -0500 (EST) Received: from tern.riseup.net (tern-pn.riseup.net [10.0.1.12]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "*.riseup.net", Issuer "Gandi Standard SSL CA" (verified OK)) by mx1.riseup.net (Postfix) with ESMTPS id BF63518C63C for ; Sun, 23 Jan 2011 00:27:37 -0800 (PST) Received: from [127.0.0.1] (localhost [127.0.0.1]) (Authenticated sender: bacuh@tern.riseup.net) with ESMTPSA id D0AC714C16F From: Sebastian Lipp To: sup-talk Date: Sun, 23 Jan 2011 09:25:58 +0100 Message-Id: <1295770743-sup-9363@fly> User-Agent: Sup/git X-Virus-Scanned: clamav-milter 0.96.5 at mx1 X-Virus-Status: Clean Subject: [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 Hi. I've just 'git pull'ed so my always_trust setting for GnuPG isn't working any more. I tried to set it by just putting {:always_trust => true} into gpg-options.rb but it doesn't work. I bet I have to put something like if(operation == encrypt) always_trust = 1; into the file. The Problem is that I have got no clue about Ruby. Any assistance in putting the right code snipped here would be appreciated. -- basti Government is a disease that masquerades as its own cure -- Robert Lefevre _______________________________________________ sup-talk mailing list sup-talk@rubyforge.org http://rubyforge.org/mailman/listinfo/sup-talk