{"action":"closed","number":5870,"pull_request":{"url":"https://api.github.com/repos/NixOS/nixpkgs/pulls/5870","id":27682860,"html_url":"https://github.com/NixOS/nixpkgs/pull/5870","diff_url":"https://github.com/NixOS/nixpkgs/pull/5870.diff","patch_url":"https://github.com/NixOS/nixpkgs/pull/5870.patch","issue_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/5870","number":5870,"state":"closed","locked":false,"title":"Allow users to specify their own SSH moduli file","user":{"login":"arno01","id":3791945,"avatar_url":"https://avatars.githubusercontent.com/u/3791945?v=3","gravatar_id":"","url":"https://api.github.com/users/arno01","html_url":"https://github.com/arno01","followers_url":"https://api.github.com/users/arno01/followers","following_url":"https://api.github.com/users/arno01/following{/other_user}","gists_url":"https://api.github.com/users/arno01/gists{/gist_id}","starred_url":"https://api.github.com/users/arno01/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arno01/subscriptions","organizations_url":"https://api.github.com/users/arno01/orgs","repos_url":"https://api.github.com/users/arno01/repos","events_url":"https://api.github.com/users/arno01/events{/privacy}","received_events_url":"https://api.github.com/users/arno01/received_events","type":"User","site_admin":false},"body":"[ in the wake of https://stribika.github.io/2015/01/04/secure-secure-shell.html ]\r\n\r\nKeep only higher than 2048 bits length prime numbers used for the Diffie-Hellman Group Exchange key exchange method\r\n\r\n\r\n### Before\r\n\r\n```\r\n[root@mail:~]# awk '$5 > 2000' /etc/ssh/moduli |wc -l\r\n176\r\n[root@mail:~]# awk '$5 < 2000' /etc/ssh/moduli |wc -l\r\n86\r\n[root@mail:~]# wc -l /etc/ssh/moduli\r\n262 /etc/ssh/moduli\r\n```\r\n\r\n\r\n### After\r\n```\r\n[root@mail:~/nixpkgs]# git cherry-pick d2fa06c37a4f1945ae7408c2d6a78fc658d32685\r\n[root@mail:~/nixpkgs]# nixos-rebuild switch -I nixpkgs=/root/nixpkgs\r\n\r\n[root@mail:~]# awk '$5 > 2000' /etc/ssh/moduli |wc -l\r\n176\r\n[root@mail:~]# awk '$5 < 2000' /etc/ssh/moduli |wc -l\r\n0\r\n[root@mail:~]# wc -l /etc/ssh/moduli\r\n176 /etc/ssh/moduli\r\n```\r\n\r\n","created_at":"2015-01-20T14:52:13Z","updated_at":"2015-05-22T18:51:42Z","closed_at":"2015-05-22T18:51:42Z","merged_at":null,"merge_commit_sha":"17a7c3863dbe3759328aac13e2c98cadd2ff86a2","assignee":{"login":"peti","id":28323,"avatar_url":"https://avatars.githubusercontent.com/u/28323?v=3","gravatar_id":"","url":"https://api.github.com/users/peti","html_url":"https://github.com/peti","followers_url":"https://api.github.com/users/peti/followers","following_url":"https://api.github.com/users/peti/following{/other_user}","gists_url":"https://api.github.com/users/peti/gists{/gist_id}","starred_url":"https://api.github.com/users/peti/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/peti/subscriptions","organizations_url":"https://api.github.com/users/peti/orgs","repos_url":"https://api.github.com/users/peti/repos","events_url":"https://api.github.com/users/peti/events{/privacy}","received_events_url":"https://api.github.com/users/peti/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/NixOS/nixpkgs/milestones/6","html_url":"https://github.com/NixOS/nixpkgs/milestones/15.06","labels_url":"https://api.github.com/repos/NixOS/nixpkgs/milestones/6/labels","id":895513,"number":6,"title":"15.06","description":"","creator":{"login":"domenkozar","id":126339,"avatar_url":"https://avatars.githubusercontent.com/u/126339?v=3","gravatar_id":"","url":"https://api.github.com/users/domenkozar","html_url":"https://github.com/domenkozar","followers_url":"https://api.github.com/users/domenkozar/followers","following_url":"https://api.github.com/users/domenkozar/following{/other_user}","gists_url":"https://api.github.com/users/domenkozar/gists{/gist_id}","starred_url":"https://api.github.com/users/domenkozar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/domenkozar/subscriptions","organizations_url":"https://api.github.com/users/domenkozar/orgs","repos_url":"https://api.github.com/users/domenkozar/repos","events_url":"https://api.github.com/users/domenkozar/events{/privacy}","received_events_url":"https://api.github.com/users/domenkozar/received_events","type":"User","site_admin":false},"open_issues":30,"closed_issues":20,"state":"open","created_at":"2014-12-08T10:44:19Z","updated_at":"2015-05-22T18:51:42Z","due_on":"2015-06-29T22:00:00Z","closed_at":null},"commits_url":"https://api.github.com/repos/NixOS/nixpkgs/pulls/5870/commits","review_comments_url":"https://api.github.com/repos/NixOS/nixpkgs/pulls/5870/comments","review_comment_url":"https://api.github.com/repos/NixOS/nixpkgs/pulls/comments{/number}","comments_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/5870/comments","statuses_url":"https://api.github.com/repos/NixOS/nixpkgs/statuses/d2fa06c37a4f1945ae7408c2d6a78fc658d32685","head":{"label":"arno01:hardeningssh","ref":"hardeningssh","sha":"d2fa06c37a4f1945ae7408c2d6a78fc658d32685","user":{"login":"arno01","id":3791945,"avatar_url":"https://avatars.githubusercontent.com/u/3791945?v=3","gravatar_id":"","url":"https://api.github.com/users/arno01","html_url":"https://github.com/arno01","followers_url":"https://api.github.com/users/arno01/followers","following_url":"https://api.github.com/users/arno01/following{/other_user}","gists_url":"https://api.github.com/users/arno01/gists{/gist_id}","starred_url":"https://api.github.com/users/arno01/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arno01/subscriptions","organizations_url":"https://api.github.com/users/arno01/orgs","repos_url":"https://api.github.com/users/arno01/repos","events_url":"https://api.github.com/users/arno01/events{/privacy}","received_events_url":"https://api.github.com/users/arno01/received_events","type":"User","site_admin":false},"repo":{"id":29389904,"name":"nixpkgs","full_name":"arno01/nixpkgs","owner":{"login":"arno01","id":3791945,"avatar_url":"https://avatars.githubusercontent.com/u/3791945?v=3","gravatar_id":"","url":"https://api.github.com/users/arno01","html_url":"https://github.com/arno01","followers_url":"https://api.github.com/users/arno01/followers","following_url":"https://api.github.com/users/arno01/following{/other_user}","gists_url":"https://api.github.com/users/arno01/gists{/gist_id}","starred_url":"https://api.github.com/users/arno01/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arno01/subscriptions","organizations_url":"https://api.github.com/users/arno01/orgs","repos_url":"https://api.github.com/users/arno01/repos","events_url":"https://api.github.com/users/arno01/events{/privacy}","received_events_url":"https://api.github.com/users/arno01/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/arno01/nixpkgs","description":"Nix Packages collection","fork":true,"url":"https://api.github.com/repos/arno01/nixpkgs","forks_url":"https://api.github.com/repos/arno01/nixpkgs/forks","keys_url":"https://api.github.com/repos/arno01/nixpkgs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/arno01/nixpkgs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/arno01/nixpkgs/teams","hooks_url":"https://api.github.com/repos/arno01/nixpkgs/hooks","issue_events_url":"https://api.github.com/repos/arno01/nixpkgs/issues/events{/number}","events_url":"https://api.github.com/repos/arno01/nixpkgs/events","assignees_url":"https://api.github.com/repos/arno01/nixpkgs/assignees{/user}","branches_url":"https://api.github.com/repos/arno01/nixpkgs/branches{/branch}","tags_url":"https://api.github.com/repos/arno01/nixpkgs/tags","blobs_url":"https://api.github.com/repos/arno01/nixpkgs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/arno01/nixpkgs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/arno01/nixpkgs/git/refs{/sha}","trees_url":"https://api.github.com/repos/arno01/nixpkgs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/arno01/nixpkgs/statuses/{sha}","languages_url":"https://api.github.com/repos/arno01/nixpkgs/languages","stargazers_url":"https://api.github.com/repos/arno01/nixpkgs/stargazers","contributors_url":"https://api.github.com/repos/arno01/nixpkgs/contributors","subscribers_url":"https://api.github.com/repos/arno01/nixpkgs/subscribers","subscription_url":"https://api.github.com/repos/arno01/nixpkgs/subscription","commits_url":"https://api.github.com/repos/arno01/nixpkgs/commits{/sha}","git_commits_url":"https://api.github.com/repos/arno01/nixpkgs/git/commits{/sha}","comments_url":"https://api.github.com/repos/arno01/nixpkgs/comments{/number}","issue_comment_url":"https://api.github.com/repos/arno01/nixpkgs/issues/comments{/number}","contents_url":"https://api.github.com/repos/arno01/nixpkgs/contents/{+path}","compare_url":"https://api.github.com/repos/arno01/nixpkgs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/arno01/nixpkgs/merges","archive_url":"https://api.github.com/repos/arno01/nixpkgs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/arno01/nixpkgs/downloads","issues_url":"https://api.github.com/repos/arno01/nixpkgs/issues{/number}","pulls_url":"https://api.github.com/repos/arno01/nixpkgs/pulls{/number}","milestones_url":"https://api.github.com/repos/arno01/nixpkgs/milestones{/number}","notifications_url":"https://api.github.com/repos/arno01/nixpkgs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/arno01/nixpkgs/labels{/name}","releases_url":"https://api.github.com/repos/arno01/nixpkgs/releases{/id}","created_at":"2015-01-17T12:07:06Z","updated_at":"2015-04-20T09:46:08Z","pushed_at":"2015-05-20T14:10:08Z","git_url":"git://github.com/arno01/nixpkgs.git","ssh_url":"git@github.com:arno01/nixpkgs.git","clone_url":"https://github.com/arno01/nixpkgs.git","svn_url":"https://github.com/arno01/nixpkgs","homepage":null,"size":171212,"stargazers_count":0,"watchers_count":0,"language":"Nix","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"NixOS:master","ref":"master","sha":"98556ef15023fa1a22ce14e066030713b411af67","user":{"login":"NixOS","id":487568,"avatar_url":"https://avatars.githubusercontent.com/u/487568?v=3","gravatar_id":"","url":"https://api.github.com/users/NixOS","html_url":"https://github.com/NixOS","followers_url":"https://api.github.com/users/NixOS/followers","following_url":"https://api.github.com/users/NixOS/following{/other_user}","gists_url":"https://api.github.com/users/NixOS/gists{/gist_id}","starred_url":"https://api.github.com/users/NixOS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NixOS/subscriptions","organizations_url":"https://api.github.com/users/NixOS/orgs","repos_url":"https://api.github.com/users/NixOS/repos","events_url":"https://api.github.com/users/NixOS/events{/privacy}","received_events_url":"https://api.github.com/users/NixOS/received_events","type":"Organization","site_admin":false},"repo":{"id":4542716,"name":"nixpkgs","full_name":"NixOS/nixpkgs","owner":{"login":"NixOS","id":487568,"avatar_url":"https://avatars.githubusercontent.com/u/487568?v=3","gravatar_id":"","url":"https://api.github.com/users/NixOS","html_url":"https://github.com/NixOS","followers_url":"https://api.github.com/users/NixOS/followers","following_url":"https://api.github.com/users/NixOS/following{/other_user}","gists_url":"https://api.github.com/users/NixOS/gists{/gist_id}","starred_url":"https://api.github.com/users/NixOS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NixOS/subscriptions","organizations_url":"https://api.github.com/users/NixOS/orgs","repos_url":"https://api.github.com/users/NixOS/repos","events_url":"https://api.github.com/users/NixOS/events{/privacy}","received_events_url":"https://api.github.com/users/NixOS/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/NixOS/nixpkgs","description":"Nix Packages collection","fork":false,"url":"https://api.github.com/repos/NixOS/nixpkgs","forks_url":"https://api.github.com/repos/NixOS/nixpkgs/forks","keys_url":"https://api.github.com/repos/NixOS/nixpkgs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/NixOS/nixpkgs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/NixOS/nixpkgs/teams","hooks_url":"https://api.github.com/repos/NixOS/nixpkgs/hooks","issue_events_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/events{/number}","events_url":"https://api.github.com/repos/NixOS/nixpkgs/events","assignees_url":"https://api.github.com/repos/NixOS/nixpkgs/assignees{/user}","branches_url":"https://api.github.com/repos/NixOS/nixpkgs/branches{/branch}","tags_url":"https://api.github.com/repos/NixOS/nixpkgs/tags","blobs_url":"https://api.github.com/repos/NixOS/nixpkgs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/NixOS/nixpkgs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/NixOS/nixpkgs/git/refs{/sha}","trees_url":"https://api.github.com/repos/NixOS/nixpkgs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/NixOS/nixpkgs/statuses/{sha}","languages_url":"https://api.github.com/repos/NixOS/nixpkgs/languages","stargazers_url":"https://api.github.com/repos/NixOS/nixpkgs/stargazers","contributors_url":"https://api.github.com/repos/NixOS/nixpkgs/contributors","subscribers_url":"https://api.github.com/repos/NixOS/nixpkgs/subscribers","subscription_url":"https://api.github.com/repos/NixOS/nixpkgs/subscription","commits_url":"https://api.github.com/repos/NixOS/nixpkgs/commits{/sha}","git_commits_url":"https://api.github.com/repos/NixOS/nixpkgs/git/commits{/sha}","comments_url":"https://api.github.com/repos/NixOS/nixpkgs/comments{/number}","issue_comment_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/comments{/number}","contents_url":"https://api.github.com/repos/NixOS/nixpkgs/contents/{+path}","compare_url":"https://api.github.com/repos/NixOS/nixpkgs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/NixOS/nixpkgs/merges","archive_url":"https://api.github.com/repos/NixOS/nixpkgs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/NixOS/nixpkgs/downloads","issues_url":"https://api.github.com/repos/NixOS/nixpkgs/issues{/number}","pulls_url":"https://api.github.com/repos/NixOS/nixpkgs/pulls{/number}","milestones_url":"https://api.github.com/repos/NixOS/nixpkgs/milestones{/number}","notifications_url":"https://api.github.com/repos/NixOS/nixpkgs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/NixOS/nixpkgs/labels{/name}","releases_url":"https://api.github.com/repos/NixOS/nixpkgs/releases{/id}","created_at":"2012-06-04T02:49:46Z","updated_at":"2015-05-22T07:40:58Z","pushed_at":"2015-05-22T18:51:42Z","git_url":"git://github.com/NixOS/nixpkgs.git","ssh_url":"git@github.com:NixOS/nixpkgs.git","clone_url":"https://github.com/NixOS/nixpkgs.git","svn_url":"https://github.com/NixOS/nixpkgs","homepage":null,"size":387526,"stargazers_count":648,"watchers_count":648,"language":"Nix","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":804,"mirror_url":null,"open_issues_count":739,"forks":804,"open_issues":739,"watchers":648,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/NixOS/nixpkgs/pulls/5870"},"html":{"href":"https://github.com/NixOS/nixpkgs/pull/5870"},"issue":{"href":"https://api.github.com/repos/NixOS/nixpkgs/issues/5870"},"comments":{"href":"https://api.github.com/repos/NixOS/nixpkgs/issues/5870/comments"},"review_comments":{"href":"https://api.github.com/repos/NixOS/nixpkgs/pulls/5870/comments"},"review_comment":{"href":"https://api.github.com/repos/NixOS/nixpkgs/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/NixOS/nixpkgs/pulls/5870/commits"},"statuses":{"href":"https://api.github.com/repos/NixOS/nixpkgs/statuses/d2fa06c37a4f1945ae7408c2d6a78fc658d32685"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":8,"review_comments":0,"commits":1,"additions":1,"deletions":1,"changed_files":1}}