Skip to content
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

Signature fail with packagist #12

Open
swayoleg opened this issue Jan 16, 2018 · 4 comments
Open

Signature fail with packagist #12

swayoleg opened this issue Jan 16, 2018 · 4 comments

Comments

@swayoleg
Copy link

The contents of https://packagist.org/p/provider-latest%240cbfb40ab72a881d21b70f78286d39cd72e3b0eb8704c13e79dc49624e549973.json 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.

Repository configured like this

"repositories": {
"magento2-configscopehints": {
"type": "git",
"url": "https://github.com/ericthehacker/magento2-configscopehints.git"
}
}

Tested from 2 different servers, with clean composer project and m2 project.

OS: Ubuntu 16.04
php -v: PHP 7.0.18-0ubuntu0.16.10.1 (cli) ( NTS )

@hostep
Copy link

hostep commented Feb 4, 2018

@swayoleg: since this module isn't being hosted on packagist (as far as I can see), the problem you are experiencing is probably not related to this module. What makes you think it was this module which is responsible for throwing that error?

@swayoleg
Copy link
Author

swayoleg commented Feb 5, 2018

@hostep previously it was ok to install it with instruction from section
"Composer Installation"
Now it's not.

So, can you please confirm that your "Composer Installation" instructions are working?
Thanks.

@hostep
Copy link

hostep commented Feb 5, 2018

Sure, no problem over here, tested on some Magento 2.2.2 project:

$ composer config repositories.magento2-configscopehints git https://github.com/ericthehacker/magento2-configscopehints.git

$ composer require ericthehacker/magento2-configscopehints
Using version ^3.1 for ericthehacker/magento2-configscopehints
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Package operations: 1 install, 0 updates, 0 removals
  - Installing ericthehacker/magento2-configscopehints (3.1.1): Cloning 56a04e7af5 from cache
Package sjparkinson/static-review is abandoned, you should avoid using it. Use phpro/grumphp instead.
Writing lock file
Generating optimized autoload files

(btw, this isn't my module, so not my instructions, but they seem to work perfectly fine :))

@swayoleg
Copy link
Author

swayoleg commented Feb 5, 2018

Ok will try with magento composer project together now

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

No branches or pull requests

2 participants