diff -Nru ruby-cheffish-13.1.0/debian/changelog ruby-cheffish-13.1.0/debian/changelog --- ruby-cheffish-13.1.0/debian/changelog 2018-05-21 21:37:22.000000000 +0000 +++ ruby-cheffish-13.1.0/debian/changelog 2019-02-10 01:41:44.000000000 +0000 @@ -1,3 +1,11 @@ +ruby-cheffish (13.1.0-2) unstable; urgency=medium + + * Team upload. + * Fix name of default cipher to des-ede3-cbc (lowercase) instead of + DES-EDE3-CBC. (Closes: #912246) + + -- Antonio Terceiro Sat, 09 Feb 2019 23:41:44 -0200 + ruby-cheffish (13.1.0-1) unstable; urgency=medium * Team upload. diff -Nru ruby-cheffish-13.1.0/debian/patches/0001-Fix-cipher-name.patch ruby-cheffish-13.1.0/debian/patches/0001-Fix-cipher-name.patch --- ruby-cheffish-13.1.0/debian/patches/0001-Fix-cipher-name.patch 1970-01-01 00:00:00.000000000 +0000 +++ ruby-cheffish-13.1.0/debian/patches/0001-Fix-cipher-name.patch 2019-02-10 01:41:44.000000000 +0000 @@ -0,0 +1,35 @@ +From: Antonio Terceiro +Date: Sat, 9 Feb 2019 23:41:25 -0200 +Subject: Fix cipher name + +--- + lib/chef/resource/private_key.rb | 2 +- + lib/cheffish/key_formatter.rb | 2 +- + 2 files changed, 2 insertions(+), 2 deletions(-) + +diff --git a/lib/chef/resource/private_key.rb b/lib/chef/resource/private_key.rb +index 4241bae..3477915 100644 +--- a/lib/chef/resource/private_key.rb ++++ b/lib/chef/resource/private_key.rb +@@ -31,7 +31,7 @@ class Chef + + # PEM-only + property :pass_phrase, String +- property :cipher, OpenSSL::Cipher.ciphers, default: "DES-EDE3-CBC" ++ property :cipher, OpenSSL::Cipher.ciphers, default: "des-ede3-cbc" + + # Set this to regenerate the key if it does not have the desired characteristics (like size, type, etc.) + property :regenerate_if_different, Boolean +diff --git a/lib/cheffish/key_formatter.rb b/lib/cheffish/key_formatter.rb +index 053571f..0493da7 100644 +--- a/lib/cheffish/key_formatter.rb ++++ b/lib/cheffish/key_formatter.rb +@@ -38,7 +38,7 @@ module Cheffish + encode_openssh_key(key) + when :pem + if key_format[:pass_phrase] +- cipher = key_format[:cipher] || "DES-EDE3-CBC" ++ cipher = key_format[:cipher] || "des-ede3-cbc" + key.to_pem(OpenSSL::Cipher.new(cipher), key_format[:pass_phrase]) + else + key.to_pem diff -Nru ruby-cheffish-13.1.0/debian/patches/series ruby-cheffish-13.1.0/debian/patches/series --- ruby-cheffish-13.1.0/debian/patches/series 1970-01-01 00:00:00.000000000 +0000 +++ ruby-cheffish-13.1.0/debian/patches/series 2019-02-10 01:41:44.000000000 +0000 @@ -0,0 +1 @@ +0001-Fix-cipher-name.patch