From: Masami Watanabe Subject: RE: [PATCH][Take 2] VNC authentification Date: Tue, 03 Oct 2006 11:04:21 +0900 Message-ID: References: <3AAA99889D105740BE010EB6D5A5A3B202A3D2@paddington.ad.cl.cam.ac.uk> <20060929221145.GE8564@redhat.com> <20061002162232.GB1730@redhat.com> <45214B54.8060805@us.ibm.com> <20061002181231.GC1730@redhat.com> <3AAA99889D105740BE010EB6D5A5A3B202A4F0@paddington.ad.cl.cam.ac.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <3AAA99889D105740BE010EB6D5A5A3B202A4F0@paddington.ad.cl.cam.ac.uk> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Ian Pratt , "Daniel P. Berrange" , Anthony Liguori Cc: xen-devel@lists.xensource.com, masami.watanabe@jp.fujitsu.com List-Id: xen-devel@lists.xenproject.org Hi, Thanks all, I will marshal code about the password from config file. (It doesn't use base64 decode and DES decrypt to the password of config file) And, I think that chmod 600 is necessary also for /var/log/xend.log. Regards, Masami Watanabe On Mon, 2 Oct 2006 20:15:13 +0100, Ian Pratt wrote: > > > Why even bother encrypting the password? We're using a well known > DES > > > key so there is no security here. A user must still take > appropriate > > > precautions to protect the config files. In fact, I think munging > the > > > password like this gives a false sense of security. > > > > Yeah, we really need to chmod 700 the /etc/xen directory to protect > > the passwords. Once this is done, there isn't much to be gained > > from encryption in the file itself except for obfuscating it from > > the benign casual observer. Using plain text in the config file would > > make life easier to tools too, because they won't have to carry about > > this VNC-specific DES encryption routine just to create passwds in the > > guest config > > Yep, let's change the permissions and use plain text passwords. No point > giving people a false sense of security. > > Ian