F
Forrest
Hello everyone,
Currently, I'm doing my darndest to implement SSL file transfers. Using
Net::SSH, I get "`initialize': Unsupported cipher algorithm
(aes-128-cbc). (RuntimeError)" At first I thought this was a problem
with the Net::SSH module, but it turns out that my SSL module seems to
support no ciphers:
irb(main):004:0> c=OpenSSL::Cipher::Cipher.new("des-ede-cbc")
RuntimeError: Unsupported cipher algorithm (des-ede-cbc).
from (irb):4:in `initialize'
from (irb):4:in `new'
from (irb):4
from :0
I've tried this with multiple ciphers, to no avail.
Looking at the openssl/cipher.rb, it seems that a few classes are
automatically made, but they don't work either:
irb(main):013:0> c=OpenSSL::Cipher:
ES.new()
RuntimeError: Unsupported cipher algorithm (DES).
from (eval):5:in `initialize'
from (eval):5:in `initialize'
from (irb):13:in `new'
from (irb):13
from :0
For reference:
forrest@apok-2 ~/testcode $ ruby -v
ruby 1.8.2 (2004-12-25) [x86_64-linux]
forrest@apok-2 ~/testcode $ uname -a
Linux apok-2 2.6.9-gentoo-r14 #1 SMP Wed Mar 23 09:00:03 EST 2005 x86_64
AMD Opteron(tm) Processor 244 AuthenticAMD GNU/Linux
GCC version: gcc version 3.4.3 20041125 (Gentoo 3.4.3-r1, ssp-3.4.3-0,
pie-8.7.7)
I've searched high and low; the only remotely informative thing I found
was in a thread in May of 2004. I used the example provided within (
c=OpenSSL::Cipher::Cipher.new("DES") ) and got the same problems.
Does anyone know what's going on here, and/or how to fix it?
Thanks,
Currently, I'm doing my darndest to implement SSL file transfers. Using
Net::SSH, I get "`initialize': Unsupported cipher algorithm
(aes-128-cbc). (RuntimeError)" At first I thought this was a problem
with the Net::SSH module, but it turns out that my SSL module seems to
support no ciphers:
irb(main):004:0> c=OpenSSL::Cipher::Cipher.new("des-ede-cbc")
RuntimeError: Unsupported cipher algorithm (des-ede-cbc).
from (irb):4:in `initialize'
from (irb):4:in `new'
from (irb):4
from :0
I've tried this with multiple ciphers, to no avail.
Looking at the openssl/cipher.rb, it seems that a few classes are
automatically made, but they don't work either:
irb(main):013:0> c=OpenSSL::Cipher:
RuntimeError: Unsupported cipher algorithm (DES).
from (eval):5:in `initialize'
from (eval):5:in `initialize'
from (irb):13:in `new'
from (irb):13
from :0
For reference:
forrest@apok-2 ~/testcode $ ruby -v
ruby 1.8.2 (2004-12-25) [x86_64-linux]
forrest@apok-2 ~/testcode $ uname -a
Linux apok-2 2.6.9-gentoo-r14 #1 SMP Wed Mar 23 09:00:03 EST 2005 x86_64
AMD Opteron(tm) Processor 244 AuthenticAMD GNU/Linux
GCC version: gcc version 3.4.3 20041125 (Gentoo 3.4.3-r1, ssp-3.4.3-0,
pie-8.7.7)
I've searched high and low; the only remotely informative thing I found
was in a thread in May of 2004. I used the example provided within (
c=OpenSSL::Cipher::Cipher.new("DES") ) and got the same problems.
Does anyone know what's going on here, and/or how to fix it?
Thanks,