[#47386] [Backport92 - Backport #6958][Open] buggy BigDecimal#integer? — "adrianomitre (Adriano Mitre)" <adriano.mitre@...>
7 messages
2012/09/01
[#47409] [ruby-trunk - Feature #6973][Open] Add an #integral? method to Numeric to test for whole-number values — "regularfry (Alex Young)" <alex@...>
12 messages
2012/09/03
[#47444] [ruby-trunk - Bug #6986][Open] Inconsistent result of BigDecimal#power — "phasis68 (Heesob Park)" <phasis@...>
7 messages
2012/09/06
[#47453] [ruby-trunk - Bug #6994][Open] yield plus splat unwraps too much — "headius (Charles Nutter)" <headius@...>
8 messages
2012/09/07
[#47460] [ruby-trunk - Bug #6997][Open] Improve documentation for OptionParser — "eike.rb (Eike Dierks)" <eike@...>
7 messages
2012/09/08
[#47465] [ruby-trunk - Feature #7003][Assigned] Please decide. MVM to be with 2.0? — "shyouhei (Shyouhei Urabe)" <shyouhei@...>
3 messages
2012/09/10
[#47483] [ruby-trunk - Bug #7009][Open] Crash in method_missing — "alexcoplan (Alex Coplan)" <lexy0202@...>
6 messages
2012/09/12
[#47523] [ruby-trunk - Feature #7022][Open] add event hook for garbage collection — "rogerdpack (Roger Pack)" <rogerpack2005@...>
7 messages
2012/09/14
[#47531] [ruby-trunk - Feature #7022] add event hook for garbage collection
— "rogerdpack (Roger Pack)" <rogerpack2005@...>
2012/09/14
[#47540] autoload & require — Xavier Noria <fxn@...>
Hi,
4 messages
2012/09/15
[#47562] feature request: thread pool class — Roger Pack <rogerdpack2@...>
It has always seemed a bit odd to me that Ruby's sdlib doesn't have some kind of
4 messages
2012/09/17
[#47638] [ruby-trunk - Bug #7046][Open] ERB#run and ERB#result are not safe for concurrent use — "headius (Charles Nutter)" <headius@...>
11 messages
2012/09/21
[#47653] [ruby-trunk - Bug #7050][Open] encoding of String#unpack for 'H', 'h', 'B' and 'b' — "Eregon (Benoit Daloze)" <redmine@...>
6 messages
2012/09/22
[#47655] [ruby-trunk - Feature #7051][Open] Extend caller_locations API to include klass and bindings. Allow caller_locations as a method hanging off Thread. — "sam.saffron (Sam Saffron)" <sam.saffron@...>
13 messages
2012/09/23
[#47709] [ruby-trunk - Bug #7076][Open] TestUnicodeEscape#test_basic failure on Windows — "h.shirosaki (Hiroshi Shirosaki)" <h.shirosaki@...>
4 messages
2012/09/27
[#47719] [ruby-trunk - Bug #7082][Open] Process.kill 0 in windows can return spurious success — "rogerdpack (Roger Pack)" <rogerpack2005@...>
6 messages
2012/09/28
[#47730] [ruby-trunk - Bug #7085][Open] Subversion → GitHub gateway stops. — "shyouhei (Shyouhei Urabe)" <shyouhei@...>
27 messages
2012/09/29
[#47731] [ruby-trunk - Bug #7085] Subversion → GitHub gateway stops.
— "shyouhei (Shyouhei Urabe)" <shyouhei@...>
2012/09/29
[#47743] Re: [ruby-trunk - Bug #7085] Subversion → GitHub gateway stops.
— Evan Phoenix <evan@...>
2012/09/29
Hello shyouhei,
[#47746] Re: [ruby-trunk - Bug #7085] Subversion → GitHub gateway stops.
— Urabe Shyouhei <shyouhei@...>
2012/09/30
On 09/30/2012 02:33 AM, Evan Phoenix wrote:
[#48020] [ruby-trunk - Bug #7085] Subversion → GitHub gateway stops.
— "shyouhei (Shyouhei Urabe)" <shyouhei@...>
2012/10/16
[#48953] [ruby-trunk - Bug #7085] Subversion → GitHub gateway stops.
— "shyouhei (Shyouhei Urabe)" <shyouhei@...>
2012/11/05
[#49123] Re: [ruby-trunk - Bug #7085] Subversion → GitHub gateway stops.
— Evan Phoenix <evan@...>
2012/11/08
So sorry for the continual delay. I'm setting this up right now but it appears that I (evanphx on github) don't have access to push to ruby/ruby. When I am added, I can update the repo immediately.
[#47735] [ruby-trunk - Bug #7087][Open] ::ConditionVariable#wait does not work with Monitor because Monitor#sleep does not exist — "rklemme (Robert Klemme)" <shortcutter@...>
10 messages
2012/09/29
[ruby-core:47743] Re: [ruby-trunk - Bug #7085] Subversion → GitHub gateway stops.
From:
Evan Phoenix <evan@...>
Date:
2012-09-29 17:33:19 UTC
List:
ruby-core #47743
Hello shyouhei, I would be happy to have RubyCentral run the gateway but I'd like to run it in colocation. I can guarantee security of the keys by using passphrases and ssh-agent. The machine in question will only run the gateway, nothing else, and be secured with separate ssh keys to secure access to it. Would that be ok? -- Evan Phoenix // evan@phx.io On Saturday, September 29, 2012 at 8:40 AM, shyouhei (Shyouhei Urabe) wrote: > > Issue #7085 has been updated by shyouhei (Shyouhei Urabe). > > > Memo: how to reboot the svn->git gateway > > Prerequisite > > 1. You need be a ruby core committer; you'll have to access the ruby's > canonical svn repo. > > 2. You need have a valid github account. Let me (shyouhei) know your > github id, so that I can let you push things to github/ruby/ruby. > > 3. You need register non-passphrased SSH public keys to both the ruby > repo and github. Securely manage the private counterpart of them. > > 4. You need have a reliable place as I wrote before. > > 5. You need a working server: inside that reliable place, with git(1), > svn(1), as well as git-svn(1) properly set up. > > Installation > > 1. Download following URL. This is the verbatim copy of the gateway > script and its working directory, created right at the moment I > shut my old gateway down. > > ftp://ftp.ruby-lang.org/pub/incoming/ruby-gateway.tar.xz.gpg > > 2. The file mentioned above is a GPG signed LZMA compressed TAR > file. *NEVER* *FORGET* to make sure the thing you downloaded is > properly signed by me. > > 3. Inside the tarball is a tiny script named github.sh (http://github.sh). This is the > gateway itself. Just invoke this script with no args and it will > do everything needed -- works for me at least. You might have to > modify the script to fit your directory placement though. > > 4. Once you are sure the script works well, setup a cron job to > periodically run the script. > > * * * * * sh github.sh (http://github.sh) > > That's all. May the source be with you. > ---------------------------------------- > Bug #7085: Subversion → GitHub gateway stops. > https://bugs.ruby-lang.org/issues/7085#change-29787 > > Author: shyouhei (Shyouhei Urabe) > Status: Open > Priority: Immediate > Assignee: > Category: Project > Target version: > ruby -v: not version dependent > > > Abstract: Sorry for your inconvenience. Due to my resigning job > at netlab.jp (http://netlab.jp), the Subversion to GitHub gateway stops now. The > gateway was located there, maintained by me. > > Biggest problem to reboot the gateway is its ssh private keys. it > first ssh into the canonical svn server to pull the repo, then ssh > into github to push it. Both ssh sessions need private keys and > as the gateway runs totally automatic using cron, those keys are > not passphrased. > > Ruby's canonical repo has once been cracked. GitHub also had > vulnerability before. Leaking these keys is a serious threat > against our project. A malicious codes can be injected by using > (either of) them. > > So sorry, I don't want to put these keys on any VPS, IaaS, or > colocations or anything like that. Doing so is in fact easy, and > makes the gateway working again, but will introduce a huge > security threat. > > In order to properly fix this sitution, a RELIABLE place is > mandatory, where no access is possible from the internet, yet the > gateway itself can connect to ruby-lang.org (http://ruby-lang.org) and github.com (http://github.com). > Normal company intranets behind NATs should suffice, like > netlab.jp (http://netlab.jp) was, Though I doubt a "normal" company intranet will not > welcome a black box like the gateway. > > ========= > > Githubゲートウエイは卜部離職に伴い停止しております。現在のところ復 > 旧の見込みはございません。このようなアナウンスが事後になってしまい > ましたことを深くお詫び申し上げます。根回しが足りてなくてごめんなさ > い。 > > そもそもgithubへのゲートウエイは何らかのプロジェクトで開発されたも > のではなく卜部が少しずつ暇を見つけてはメンテナンスしていたもので、 > その実態はNaCl東京支社の卜部席に設置してあった卜部私物計算機の中で > 動いていました。離職に際しこの計算機は停止の上引き払いました。その > ためサービスも巻き添えで停止したという形です。 > > 復旧に際して問題となるのはssh鍵です。仕組み上、ゲートウエイマシン > はrubyのsvnサーバにsshしてデータを取得した後、次にはgithubにsshし > てデータを更新する必要があり、それをcronで回す関係上、どちらで使う > 秘密鍵も、ゲートウエイマシン上に、パスフレーズなしで存在している必 > 要があります。 > > Rubyのレポジトリにはクラックされた実績があります。githubにも脆弱性 > を突かれた実績があります。したがって、これらのパスフレーズのない > ssh鍵が流出するのはかなり危険です。どちらの鍵が流出しても、Rubyの > ソースコードに悪意ある改変を加えることが可能になります。私としては > この鍵を自分の管理下にない計算機に設置したくありません。どこかの > VPSなどを借りてスクリプトを動かせば、数分から数時間程度でゲートウ > エイを移築できることは確認済みですが、その確認の際にも確認にはssh > agent forwardingを用いました。 > > こういった理由により今すぐにgithubとの同期を復旧するのはなかなかに > 困難です。いや、正確に言うのであれば、べつに技術的な困難はないのだ > が、それをやるとセキュリティ上の懸念がある。少なくとも外部インター > ネット側からのアクセスができない(が、こちらからはruby-lang.org (http://ruby-lang.org)と > github.com (http://github.com)へのコネクションが張れる)ネットワークで、ある程度信頼で > きるホストしか設置されていない場所、に相当する場所を探す必要がある > という認識でおります。べつに普通の企業の社内ネットワークで構わない > と思いますが、そこに社業と関係ない計算機を設置する是非ですよね。 > > > -- > http://bugs.ruby-lang.org/ > >