No Description https://cryptcheck.fr/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

https_worker.rb 271B

1234567891011121314151617181920
  1. class HTTPSWorker < CheckWorker
  2. sidekiq_options retry: false
  3. protected
  4. def server
  5. CryptCheck::Tls::Https::Server
  6. end
  7. def grade
  8. CryptCheck::Tls::Https::Grade
  9. end
  10. def type
  11. :https
  12. end
  13. def result(server, _, hash)
  14. hash[:hsts] = server.hsts
  15. hash
  16. end
  17. end