Arranging your SSL websites for very cautious people

Suppose that you have a very valuable SSL certificate (for example,you are a bank) and a rather complex application (for example, you aredoing online banking). You want to limit the damage of a compromiseas much as possible and especially you do not want to have the highvalue SSL certificate compromised, because that would be a gold mine forsophisticated attackers.

Here is one approach to this problem that has recently struck me:

  • your application runs on your pool of servers as usual, but each of

賈樟柯和杜海濱(有更動)

賈樟柯和杜海濱的座談昨天爆滿(這種時候我竟然沒帶相機!)。希望今天的首場放映也能告捷。兩部都是優美沉穩、寵辱不驚的片子。

(去年看《無用》時,片子播到一半,同伴忍不住轉過頭來跟我說,怎麼可以這麼好看呢。

弱智兒童, 樂趣無窮





台灣的 盧廣仲 小朋友以傻氣但不造作的歌路和形象大受歡迎, 令我聯想到「根岸祟一」 (漫畫《 爆粗Band友 》的主角). 不過根岸沒有像盧廣仲般一舉成名天下知, 相反卻兜踎非常, 要化身為死亡金屬搖滾魔王Ioannes Krauser二世, 才得到萬

Another consequence of the Debian OpenSSL security bug

Here is another consequence of the Debian OpenSSL security bug that I did not hearabout (or realize) until recently: it lets an attacker steal any ofyour SSL certificates that were created with the broken (weak) OpenSSLversions. This includes signed certificates, with all that thatentails .

How the attacker does it is simple. They get your actual certificatesimply by connecting to your SSL-protected service (such as yourwebsite); the SSL protocol exchange necessarily sends them a copy ofyour certificate, complete with


你有想過拯救地球嗎?


看《20世紀少年》而會感動的,可能已經不是少年,這是一個肯定過去,否定現在的故事。

《20世紀少年》的漫畫好看,因為它不比一般漫畫複雜很多。六十年代的小孩子,幾個好朋友結成的小圈子,不知天高地厚,懷著沉

秋高開始氣爽,行山將會更爽。

Continue reading...

蘋 果 批 -- 救 市 方 案 被 否 決 : 政 治 再 失 敗

金 融 海 嘯 係 政 客 「 政 治 失 敗 」 之 後 轉 而 歸 咎 「 市 場 失 敗 」

Continue reading...

今晚狂掃金!

黃金突跌(現價$875)因為美元overnight LIBOR升至10%,其效果和加息一樣,令美匯高開,金價大跌。

這是千載難逢的入金契機,因為若Bailout plan work out, LIBOR會回落,到時黃金就會升。

假如bailout plan doesn't work out at all, 黃金會發揮它的"資金天

Using Python to find out what cipher a SSL server is using

I have a new-found interest in finding outwhat ciphers various SSL servers around here are using in some easy andconvenient way. Doing this in Perl is easy (there's an example here ), but I prefer Python.I'd normally use pyOpenSSL , my favorite Python OpenSSL module , butunfortunately it doesn't (currently) have an interface to thenecessary 'get the connection's cipher' OpenSSL routine, andthere's no visible substitute for it.

(While the .get


The consequences of your SSL certificate getting compromised

Suppose that your web server's SSL certificate's private key iscompromised and stolen by an attacker. Further suppose that you detectthis and replace the compromised certificate with a new one. Now, here'sa question: what damage can the attacker still do with their stolencertificate?

  • they can impersonate your web server. In theory they can only do thisuntil their stolen certificate expires; in practice, I think that manyusers ignore 'expired certificate' errors because they are relativelycommon.

    (SSL certificate