Skip to Content.
Sympa Menu

perfsonar-dev - Re: [pS-dev] LS usage in SSHTELNET MP

Subject: perfsonar development work

List archive

Re: [pS-dev] LS usage in SSHTELNET MP


Chronological Thread 
  • From: Stijn Melis <>
  • To: Guilherme Fernandes <>
  • Cc: Michael Bischoff <>, "" <>
  • Subject: Re: [pS-dev] LS usage in SSHTELNET MP
  • Date: Wed, 04 Jun 2008 14:30:29 +0200

I took a quick look at the code of the ssh/telnet mp on trunk and have two suggestions.

I can see that you are using DES and that the encryption key is hardcoded. DES is easily bruteforceable, you might want to switch to AES 256bits. The encryption key should be set by the administrator and put in the config file, otherwise someone can just get the encrypted password from the source code that is publicly available to decipher it.

But I don't think this type of information should be registered to the LS anyways.

Cheers,

Guilherme

If others share your feelings about this, I have no problem with changing this and creating a seperate metadata config file for registration to the LS. It looks like I'll have to do this anyway, in order for the eventTypes to be registered to the LS as well.

As far as I remember I tried using AES, but it didn't work. Because I was pressed with time, I left the DES as it was. Would you still have a problem with using DES if the information wasn't registered to the LS, because than this information wouldn't be made public?

Cheers,

Stijn



Archive powered by MHonArc 2.6.16.

Top of Page