[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [sup-talk] gpg-options.rb: how to set always_trust



Excerpts from Hamish D's message of So Jan 23 11:47:32 +0100 2011:
> > 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.
> 
> This may be slightly obscure,

I expected it would, but as I said I have no clue about ruby. ;)

> if operation == "encrypt"
>   options.merge({:always_trust => true})
> end
> options

That is exactly what I was looking for. Thanks.

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?

-- 
basti
 
The Web should be like a white sheet of paper: ready to be written on,
with no control over what is written.
	-- Tim Berners-Lee
_______________________________________________
sup-talk mailing list
sup-talk@rubyforge.org
http://rubyforge.org/mailman/listinfo/sup-talk