Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re^3: HSTS policy breaks cpan utility on Windows

by marto (Cardinal)
on Nov 21, 2019 at 15:01 UTC ( [id://11108986]=note: print w/replies, xml ) Need Help??


in reply to Re^2: HSTS policy breaks cpan utility on Windows
in thread HSTS policy breaks cpan utility on Windows

rt://130819. The end user may not be aware of the underlying issues, a https default makes sense, forcing those who understand the issue to make the change where appropriate.

  • Comment on Re^3: HSTS policy breaks cpan utility on Windows

Replies are listed 'Best First'.
Re^4: HSTS policy breaks cpan utility on Windows
by Don Coyote (Hermit) on Nov 21, 2019 at 15:22 UTC

    Default to the secure option is fair.

      Default to the secure option is fair

      But the case here is that the "secure option" is being enforced.
      If I want to download www.cpan.org/authors/01mailrc.txt.gz, I'm forced to do it securely.
      A fresh build of perl (from source) has no capability (AFAICS) to perform such a secure download.
      Therefore the cpan utility is initially reliant on some external utility that is capable of a secure download - and there's no guarantee that such an "external utility" exists.
      If no such external utility is available to cpan, then cpan is unusable on a fresh build of perl, no matter how you configure it.
      That's a rather annoying situation to be in - especially if, as Anonymous Monk asserts elsewhere in this thread, it's a situation created by the cpan.org webserver.

      Cheers,
      Rob

        Yes, Core should include SSL capabilities from the start.

        perl -e 'use Crypt::Digest::SHA256 qw[sha256_hex]; print substr(sha256_hex("the Answer To Life, The Universe And Everything"), 6, 2), "\n";'

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11108986]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others learning in the Monastery: (6)
As of 2024-04-24 08:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found