lib/symmetric_encryption/cipher.rb in symmetric-encryption-3.8.1 vs lib/symmetric_encryption/cipher.rb in symmetric-encryption-3.8.2
- old
+ new
@@ -554,10 +554,10 @@
begin
encrypted_key = File.open(file_name, 'rb') { |f| f.read }
rsa.private_decrypt(encrypted_key)
rescue Errno::ENOENT
puts "\nSymmetric Encryption key file: '#{file_name}' not found or readable."
- puts "To generate the keys for the first time run: rails generate symmetric_encryption:new_keys\n\n"
+ puts "To generate the keys for the first time run: bin/rails generate symmetric_encryption:new_keys production\n\n"
end
end
# Save symmetric key after encrypting it with the private RSA key
# Backing up existing files if present