[05:13:47] the man page for ssh_config says that "IdentityFile may be used in conjunction with IdentitiesOnly to select which identities in an agent are offered during authentication." I was a bit confused by that -- how do you use a file path to represent a key that is held by the agent? [05:14:29] it turns out that you can use IdentityFile to point to the public key that is associated with the private key that is held by the agent [05:29:56] I think pointing via public key is only needed if your private key is held in a smart card [05:30:10] but good to know that there is a way to handle that [05:31:14] yeah, this was for the yubikey [15:33:44] ori, AaronSchulz: https://gerrit.wikimedia.org/r/#/c/56567 <-- thank you! [17:25:26] someone is porting composer to ruby: https://github.com/ikappas/php-composer [17:27:44] whyyyyyy [17:29:29] whatttt [17:31:19] I'm not really sure: https://github.com/composer/semver/issues/30#issuecomment-162458985 [17:31:24] the gitlab link is a 500 for me [18:35:29] legoktm: https://github.com/gitlabhq/gitlabhq/pull/9301 -- looks like it is some kind of attempt to make gitlab act as a private Packagist registry? [18:37:01] o.O [18:47:22] there's someone that I recently spoke with who I think would be awesome for working on SecurePoll. He's "homunq" on #wikimedia-analytics [18:47:30] that seems like throwing him in the deep end, though [19:13:05] ostriches: do you know why our Gerrit has the commit-msg hook at https://gerrit.wikimedia.org/r/tools/hooks/commit-msg and not https://gerrit.wikimedia.org/tools/hooks/commit-msg ? git-review looks at the latter URL [19:13:14] legoktm: ^ [19:13:31] it's INCREDIBLY annoying [19:14:15] in -releng he said you have to use it over ssh [19:14:23] i know [19:14:27] but this should work too [19:15:56] MatmaRex: All of gerrit is at /r/ [19:16:36] but… tools assume the wrong URL [19:16:42] is that not a problem for you? :/ [19:16:52] gerrit is actually redit [19:20:14] Well the tool should know the correct url if you clone it from a proper url. [19:20:17] ostriches: nothing in .gitreview points the tool to /r/. [19:20:17] Perhaps someone could patch up git-review to do the right thing then? [19:20:54] Or, you know, not use git-review. It's not a terribly nice tool. [19:22:40] ostriches: legoktm: can we set up a rewrite rule for this in [puppet]/modules/gerrit/templates/gerrit.wikimedia.org.erb ? [19:22:57] (can you?) [19:22:59] Sure no reason we couldn't. [19:32:18] ostriches: https://gerrit.wikimedia.org/r/257396 does it look like it'll work? i hate rewrite rules [19:34:14] lgtm [19:35:23] ostriches: then, can you deploy it? :P (or do i have to sign up for puppetswat or something?) [19:37:04] I don't have root so nerpppp [19:37:11] Either puppetswat or bribe someone [20:09:03] AaronSchulz: thank you to have finished UUIDv1 support for UUIDGenerator ( https://gerrit.wikimedia.org/r/#/c/56567 ) :-} [20:43:34] hasher: I wish that class was a library [20:43:56] though that would require librarizing some other stuff first and redoing the singleton() pattern [20:44:26] I guess we could have a MW specific factory class that has getInstance() instead of UIDGenerator::singleton [20:44:47] it always sucks when you have singleton() and then need to inject some configuration [23:32:42] https://phabricator.wikimedia.org/T120757 "Overhaul how Maintenance scripts are run (especially in extensions)" [23:34:23] Ah, a dupe [23:36:53] TimStarling: https://lists.wikimedia.org/pipermail/mediawiki-l/2015-December/045042.html [23:36:55] Very nice! [23:37:47] "You are an essential [23:37:51] part of their infrastructure." my favorite line [23:38:04] (I guess two lines, dur) [23:38:27] I suspect you only have to google a bit to find stories of owned wordpress installs etc [23:38:35] Presumably there's been some MW ones, but seemingly not as common [23:38:51] I wish we had like a pet security pen tester who could demonstrate things to people [23:38:56] MW is much more secure than wordpress or drupal [23:38:57] I'm not saying owning their machines [23:39:13] my wordpress install had spam for a couple weeks when I wasn't watching, pretty common [23:39:15] But putting files where they shouldn't be etc [23:39:24] well, there's spam and there's getting owned [23:39:33] I checked a CVE search for mediawiki, it looks like we haven't had a single shell execution vulnerability discovered that affects 1.13 [23:39:59] I know we have nowhere near as many security bugs as WP etc, and certainly, it's stuff like path disclosure, not machine owning [23:40:18] As long as you don't install any shady extensions... [23:40:35] yeah, we've had loads of XSS vulnerabilities, but we have a policy of not allowing escalation from XSS to owning the machine [23:41:40] whereas drupal and wordpress historically have allowed the admin to control the server [23:42:32] so I think if you are running MW 1.13 on PHP 5.1 or something, then PHP 5.1 is actually your weakest point [23:42:45] since it has loads of exploitable heap corruption vulnerabilities [23:44:37] confirmed, 1.13 does call exif_read_data() which has had several vulnerabilities in it [23:44:50] TBH, this seems like a good reason to keep with bumping to 5.5 etc... If you're unwilling or unable to upgrade your systems and/or find another host that will, why should we support you? [23:45:07] have you seen the survey results? [23:45:20] https://docs.google.com/forms/d/1Z-io754bUxVujh100D4xvIwkiBIFk9Ef0j4TYrJ2zMc/viewanalytics?usp=form_confirm [23:45:46] also the raw responses are shared with all staff: https://docs.google.com/spreadsheets/u/1/d/1kT4l4TiewtsJYNmx6UfX9xDqrhWBcpw1fKrgbd55oMc/edit [23:46:34] "Very hard (would require begging or switching providers) 20 39.2%" [23:46:36] That's interesting [23:47:16] I wonder how many of those correlate to < PHP 5.5 etc [23:49:26] Linux VPS or bare metal, and you have root access Hard (over an hour) [23:49:45] Linux VPS or bare metal, and you have root access Very hard (would require begging or switching providers) [23:49:47] ... [23:50:42] I'll see if I can load the responses into a local mysql, that'll make it easier to do some intersections [23:53:32] Reedy: probably they don't know how [23:53:49] I wonder if asking "Technical expertise" would be useful or a red herring [23:54:18] I think I said VPS + hard, mainly because before an OS upgrade I'd want to backup everything, and we currently don't do that very well. [23:54:58] I guess if the provider doesn't provide snapshotting or similar [23:55:20] me having root is different from having access to the VPS account :P [23:55:40] Also true [23:57:55] Saying that, for commercial software that we have to pay a licence fee to use, and maintenance... Not been upgraded in 16 months. Ask about doing it [23:57:58] "Therefore we wouldn’t advise upgrading if it is working fine for you at the moment." [23:58:07] "Basically if it’s not broken don’t fix it scenario." [23:58:22] Just do as I fricken ask [23:58:49] It's behaviour like that, that I'm still supporting a dos application running on a laptop that's falling apart [23:59:08] it dualboots windows 95 and the dos app...