Skip to content

Commit

Permalink
Merge pull request #14102 from Fryguy/fix_cryptstring_reference
Browse files Browse the repository at this point in the history
Fix reference to the new MiqPassword::Key
  • Loading branch information
kbrock authored Feb 28, 2017
2 parents 1261a46 + 98b116a commit 9338dbd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/tools/fix_auth/auth_model_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
require "fix_auth/models"

describe FixAuth::AuthModel do
let(:v0_key) { CryptString.new(nil, "AES-128-CBC", "9999999999999999", "5555555555555555") }
let(:v0_key) { MiqPassword::Key.new("AES-128-CBC", Base64.encode64("9999999999999999"), Base64.encode64("5555555555555555")) }
let(:v1_key) { MiqPassword.generate_symmetric }
let(:pass) { "password" }
let(:enc_v1) { MiqPassword.new.encrypt(pass, "v1", v1_key) }
Expand Down

0 comments on commit 9338dbd

Please sign in to comment.