match/lib/match/encrypt.rb in fastlane-2.87.0.beta.20180322050115 vs match/lib/match/encrypt.rb in fastlane-2.87.0.beta.20180323050014
- old
+ new
@@ -117,10 +117,10 @@
decipher.decrypt
decipher.pkcs5_keyivgen(password, salt, 1, hash_algorithm)
decrypted_data = decipher.update(data_to_decrypt) + decipher.final
- File.write(path, decrypted_data)
+ File.binwrite(path, decrypted_data)
rescue => error
fallback_hash_algorithm = "SHA256"
if hash_algorithm != fallback_hash_algorithm
decrypt(path, password, fallback_hash_algorithm)
else