class Puma::MiniSSL::Context

def key_password

Executes the command to return the password needed to decrypt the key.
def key_password
  raise "Key password command not configured" if @key_password_command.nil?
  stdout_str, stderr_str, status = Open3.capture3(@key_password_command)
  return stdout_str.chomp if status.success?
  raise "Key password failed with code #{status.exitstatus}: #{stderr_str}"
end