{"action":"created","issue":{"url":"https://api.github.com/repos/francoispluchino/composer-asset-plugin/issues/89","labels_url":"https://api.github.com/repos/francoispluchino/composer-asset-plugin/issues/89/labels{/name}","comments_url":"https://api.github.com/repos/francoispluchino/composer-asset-plugin/issues/89/comments","events_url":"https://api.github.com/repos/francoispluchino/composer-asset-plugin/issues/89/events","html_url":"https://github.com/francoispluchino/composer-asset-plugin/issues/89","id":53858187,"number":89,"title":"Composer\\Repository\\Repository SecurityException","user":{"login":"harshitj2005","id":9212282,"avatar_url":"https://avatars.githubusercontent.com/u/9212282?v=3","gravatar_id":"","url":"https://api.github.com/users/harshitj2005","html_url":"https://github.com/harshitj2005","followers_url":"https://api.github.com/users/harshitj2005/followers","following_url":"https://api.github.com/users/harshitj2005/following{/other_user}","gists_url":"https://api.github.com/users/harshitj2005/gists{/gist_id}","starred_url":"https://api.github.com/users/harshitj2005/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/harshitj2005/subscriptions","organizations_url":"https://api.github.com/users/harshitj2005/orgs","repos_url":"https://api.github.com/users/harshitj2005/repos","events_url":"https://api.github.com/users/harshitj2005/events{/privacy}","received_events_url":"https://api.github.com/users/harshitj2005/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/francoispluchino/composer-asset-plugin/labels/support","name":"support","color":"f7c6c7"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":11,"created_at":"2015-01-09T11:21:36Z","updated_at":"2015-08-14T12:33:21Z","closed_at":"2015-01-09T12:47:49Z","body":"hi,\r\n\r\ni have been trying to use yii2 framework by installing it through composer which require to use composer-asset-plugin. i have used the command composer global require \"fxp/composer-asset-plugin:1.0.0-beta4\" but its genetating this error Composer\\Repository\\Repository SecurityException\r\nThe contents of http://packagist.org/p/fxp/composer-asset-plugin$some no.json do not match its signature.\r\n   This should indicate a man-in-the-middle attack. Try running composer again and report this if you think it is a mistake.\r\n\r\nhave tried all possible way to solve it but cant find a solution.\r\n\r\nsolutions tried\r\ncomposer config -g github-oauth.github.com <oauthtoken>\r\nsyntax error\r\n\r\ncomposer config -ge adding lines \r\n\"repositories\": {\r\n        \"packagist\": { \"url\": \"https://packagist.org\", \"type\": \"composer\" }\r\n    }\r\n\r\nbut still same problem.\r\n\r\nthanks in advance."},"comment":{"url":"https://api.github.com/repos/francoispluchino/composer-asset-plugin/issues/comments/131093519","html_url":"https://github.com/francoispluchino/composer-asset-plugin/issues/89#issuecomment-131093519","issue_url":"https://api.github.com/repos/francoispluchino/composer-asset-plugin/issues/89","id":131093519,"user":{"login":"VijaySankhat","id":9927047,"avatar_url":"https://avatars.githubusercontent.com/u/9927047?v=3","gravatar_id":"","url":"https://api.github.com/users/VijaySankhat","html_url":"https://github.com/VijaySankhat","followers_url":"https://api.github.com/users/VijaySankhat/followers","following_url":"https://api.github.com/users/VijaySankhat/following{/other_user}","gists_url":"https://api.github.com/users/VijaySankhat/gists{/gist_id}","starred_url":"https://api.github.com/users/VijaySankhat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/VijaySankhat/subscriptions","organizations_url":"https://api.github.com/users/VijaySankhat/orgs","repos_url":"https://api.github.com/users/VijaySankhat/repos","events_url":"https://api.github.com/users/VijaySankhat/events{/privacy}","received_events_url":"https://api.github.com/users/VijaySankhat/received_events","type":"User","site_admin":false},"created_at":"2015-08-14T12:33:20Z","updated_at":"2015-08-14T12:33:20Z","body":"[Composer\\Repository\\RepositorySecurityException]\r\n  The contents of http://packagist.org/p/illuminate/pagination$47dc170ac3e8c4534e7d3ee39623a2cc8495821847914a59b1ec32dfc439a0c8.json do not match its signature\r\n  . This should indicate a man-in-the-middle attack. Try running composer again and report this if you think it is a mistake.\r\n\r\n\r\n\r\nupdate [--prefer-source] [--prefer-dist] [--dry-run] [--dev] [--no-dev] [--lock] [--no-plugins] [--no-custom-installers] [--no-autoloader] [--no-scripts] [--no-progress] [--with-dependencies] [-v|vv|vvv|--verbose] [-o|--optimize-autoloader] [--ignore-platform-reqs] [--prefer-stable] [--prefer-lowest] [packages1] ... [packagesN]"}}