From: GOTOU Yuuzou Date: 2004-07-06T16:35:19+09:00 Subject: Re: [ANN] Net::SSH 0.0.2 Hi, In message <662D98C2-CF0D-11D8-8F8A-000A95C700E8@bellsouth.net>, `Kent Sibilev ' wrote: > Your one-liner gives me the 'true' which makes me think that I have the > correct environment for experimentations with your library. The reason > why I asked my first question was that when I run one of scripts in the > examples directory, I get this stack trace: > > $ ruby channel-demo.rb > ../lib/net/ssh/transport/cipher.rb:57:in `padding=': cannot convert > false into Integer (TypeError) > from ../lib/net/ssh/transport/cipher.rb:57:in `get' Sorry. I didn't apply the patch attached to [ruby-talk:103503]. Someone suggested me that patch may break future compatibility. OpenSSL currently implements one padding mode. But a future implementation may use numeric constants as an argument to EVP_CIPHER_CTX_set_padding() to specify the different padding modes. Jamis, please do cipher.padding=0 to disable padding mode. -- gotoyuzo