Revision 2b05cde9 src/vmm_mad/remotes/ec2/ec2_driver.rb

View differences:

src/vmm_mad/remotes/ec2/ec2_driver.rb
58 58
    exit (-1)
59 59
end
60 60

  
61
def encrypt(opts)
62
      if !opts[:ec2access].nil? && !opts[:ec2secret].nil?
63
        puts "el accesoas es "+opts[:ec2access]
64
        puts "la key es "+opts[:ec2secret]
65
        cipher = OpenSSL::Cipher.new("aes-256-cbc")
66
        cipher.encrypt
67
        exit (-1)
68
      end
61 69

  
70
end
62 71

  
63 72

  
64 73
begin

Also available in: Unified diff