generate a 1024-bit key for the default DKIM signing key

This commit is contained in:
Adam Cooke
2017-04-27 09:46:11 +01:00
parent 61da4bf48c
commit 2ad3eb92aa
+1 -1
View File
@@ -41,7 +41,7 @@ unless File.exists?(Postal.lets_encrypt_private_key_path)
end
unless File.exists?(Postal.signing_key_path)
key = OpenSSL::PKey::RSA.new(2048).to_s
key = OpenSSL::PKey::RSA.new(1024).to_s
File.open(Postal.signing_key_path, 'w') { |f| f.write(key) }
puts "Created new signing key for DKIM & HTTP requests"
end