Commit 1d9e7e4
Changed files (3)
exe/saml-kit-create-self-signed-certificate
@@ -1,6 +1,8 @@
#!/usr/bin/env ruby
require 'saml/kit'
+Saml::Kit.deprecate("Use the 'saml-kit-cli' gem instead. saml-kit-create-self-signed-certificate")
+
puts "Enter Passphrase:"
passphrase = STDIN.read.strip
certificate, private_key = ::Xml::Kit::SelfSignedCertificate.new.create(passphrase: passphrase)
exe/saml-kit-decode-http-post
@@ -1,6 +1,8 @@
#!/usr/bin/env ruby
require 'saml/kit'
+Saml::Kit.deprecate("Use the 'saml-kit-cli' gem instead. saml-kit-decode-http-post")
+
saml = STDIN.read
binding = Saml::Kit::Bindings::HttpPost.new(location: '')
puts binding.deserialize('SAMLRequest' => saml).to_xml(pretty: true)
exe/saml-kit-decode-http-redirect
@@ -1,6 +1,8 @@
#!/usr/bin/env ruby
require 'saml/kit'
+Saml::Kit.deprecate("Use the 'saml-kit-cli' gem instead. saml-kit-decode-http-redirect*")
+
input = STDIN.read
binding = Saml::Kit::Bindings::HttpRedirect.new(location: '')