Skip to content

Make cpanm install more secure via checksum #41

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Aug 19, 2017

Conversation

zakame
Copy link
Member

@zakame zakame commented Aug 16, 2017

Embed a SHA256 checksum (taken from the CPAN author's CHECKSUMS file)
for a specific cpanm version (currently 1.7043) so that we can verify
upon download of the dist tarball. This effectively makes installing
cpanm in the same fashion as installing Perl itself.

Fixes #39.

@zakame
Copy link
Member Author

zakame commented Aug 16, 2017

This is probably a better alternate to #40 🐈

zakame added 3 commits August 19, 2017 19:23
Install cpanm in the same fashion as Perl: via source dist with SHA256
checksum.  Thanks @tianon for the idea!
Now less ugly than copy a static fatpacked cpanm into our repo.
We might probably update this later when cpanm/Menlo gets bumped.
@zakame zakame force-pushed the secure-cpanminus-via-checksum branch from 14e868d to d83cae4 Compare August 19, 2017 11:24
@zakame zakame merged commit 8044d4b into Perl:master Aug 19, 2017
@zakame zakame deleted the secure-cpanminus-via-checksum branch August 19, 2017 11:25
zakame added a commit to zakame/docker-library-official-images that referenced this pull request Aug 26, 2017
- tagged buildpack-deps (Perl/docker-perl#35)
- more secure installation of cpanm (Perl/docker-perl#41)
- arm64v8 support (Perl/docker-perl#38)
@tianon tianon mentioned this pull request Sep 11, 2017
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant