Comparing changes

v1.0.13 v1.0.14
3 commits 2 files changed

Commits

e4de147 bump version. mo 2018-03-07 00:34:58
46fdc3b default to nil passphrase. mo 2018-03-06 23:59:26
Changed files (2)
lib/saml/kit/configuration.rb
@@ -55,7 +55,7 @@ module Saml
       # @param private_key [String] the plain text private key.
       # @param passphrase [String] the password to decrypt the private key.
       # @param use [Symbol] the type of key pair, `:signing` or `:encryption`
-      def add_key_pair(certificate, private_key, passphrase: '', use: :signing)
+      def add_key_pair(certificate, private_key, passphrase: nil, use: :signing)
         ensure_proper_use!(use)
         @key_pairs.push(::Xml::Kit::KeyPair.new(certificate, private_key, passphrase, use.to_sym))
       end
lib/saml/kit/version.rb
@@ -2,6 +2,6 @@
 
 module Saml
   module Kit
-    VERSION = '1.0.13'.freeze
+    VERSION = '1.0.14'.freeze
   end
 end