Skip to content

Securing Perl: cpanm HTTPS + verify_SSL + verify signatures? #611

@dweekly

Description

@dweekly

Hi! I'm starting to work across the community to try and help "Securing Perl" by encouraging the checking of module signatures, moving mirrors to HTTPS, nudging defaults toward connecting to HTTPS mirrors when possible, and checking server SSL certificates.

Specific to cpanm, I'm wondering if it makes sense to:

  • Update all HTTP::Tiny->new to include verify_SSL=>1, since HTTP::Tiny doesn't verify SSL certificates by default when using https (see discussion)
  • Use https:// URLs when at all possible to pull metadata and packages. Over half of the CPAN mirrors already support mirroring over TLS!
  • verify SIGNATURES and CHECKSUMs by default

Is there interest in updating cpanm in this way or thoughts on the approach here?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions