Skip to content

Instantly share code, notes, and snippets.

@yehudah
Created February 15, 2018 09:38
Show Gist options
  • Select an option

  • Save yehudah/a9bbc24808656ac59d6f8a3e281137c5 to your computer and use it in GitHub Desktop.

Select an option

Save yehudah/a9bbc24808656ac59d6f8a3e281137c5 to your computer and use it in GitHub Desktop.
Fix Composer message: do not match its signature. This should indicate a man-in-the-middle attack
If you see this message when you run composer command:
do not match its signature. This should indicate a man-in-the-middle attack. Try running composer again and report this if you think it is a mistake.
From the command line run:
composer config --global repo.packagist composer https://packagist.org
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment