間違いだらけの備忘録

このページの内容は無保証でありこのページの内容によって直接、または間接に損害を受けられたとしても私は責任を取りません。

Which is better RSA or DSA public key?

http://www.linuxquestions.org/questions/linux-security-4/which-is-better-rsa-or-dsa-public-key-12593/

RSA is less secure than DSA but authenticates faster.

http://sourceforge.jp/projects/winscp/wiki/ui_puttygen#h2-.E4.BB.A5.E5.89.8D.E3.81.AB.E4.BD.9C.E6.88.90.E3.81.97.E3.81.9F.E7.A7.98.E5.AF.86.E9.8D.B5.E3.81.AE.E8.AA.AD.E3.81.BF.E8.BE.BC.E3.81.BF.2F.E7.A7.98.E5.AF.86.E9.8D.B5.E3.81.8B.E3.82.89.E5.85.AC.E9.96.8B.E9.8D.B5.E3.82.92.E4.BD.9C.E6.88.90

なお、DSA形式の鍵は内部的な脆弱性があり、「偽の署名」を簡単に作成できてしまいます。そのためDSA形式の鍵を使用する場合は、もし攻撃を受けた場合に問題を最小限に抑えられるよう、サーバーごとに異なる鍵を利用することをおすすめします。

http://winscp.net/eng/docs/ui_puttygen

The WinSCP developers strongly recommend you use RSA. DSA has an intrinsic weakness which makes it very easy to create a signature which contains enough information to give away the private key! This would allow an attacker to pretend to be you for any number of future sessions. WinSCP’s implementation has taken very careful precautions to avoid this weakness, but we cannot be 100% certain we have managed it, and if you have the choice we strongly recommend using RSA keys instead.

http://the.earth.li/~sgtatham/putty/0.53b/htmldoc/AppendixA.html#A

A.7.3 How come PuTTY now supports DSA, when the website used to say how insecure it was?

DSA has a major weakness if badly implemented: it relies on a random number generator to far too great an extent. If the random number generator produces a number an attacker can predict, the DSA private key is exposed - meaning that the attacker can log in as you on all systems that accept that key.

The PuTTY policy changed because the developers were informed of ways to implement DSA which do not suffer nearly as badly from this weakness, and indeed which don't need to rely on random numbers at all. For this reason we now believe PuTTY's DSA implementation is probably OK. However, if you have the choice, we still recommend you use RSA instead.

めも、未検証

このページにはhatena以外のサービスからのコンテンツが埋め込まれています。 hatenaによりGoogle AdSense 広告が埋め込まれています。