auth password in plain text!

General support for problems installing or using Deluge
Post Reply
simonbcn
Leecher
Leecher
Posts: 53
Joined: Tue Sep 18, 2007 7:10 pm
Location: Barcelona, Spain
Contact:

auth password in plain text!

Post by simonbcn »

Hi,
In wiki it explains the way of save passwords: http://dev.deluge-torrent.org/wiki/User ... entication
But in that example the password is saved in plain text, very insecure!! :shock: :?
Is there a way to save this password encrypted?
Simón
Usuario Linux nº 413.257 (http://counter.li.org/)
Usuario Ubuntu nº 11312 (http://ubuntucounter.geekosophical.net/)
johnnyg
Top Bloke
Top Bloke
Posts: 1522
Joined: Sun Oct 28, 2007 4:00 am
Location: Sydney, Australia

Re: auth password in plain text!

Post by johnnyg »

Not currently.
However, your auth file should only be readable by you, so it's not a huge security risk.
simonbcn
Leecher
Leecher
Posts: 53
Joined: Tue Sep 18, 2007 7:10 pm
Location: Barcelona, Spain
Contact:

Re: auth password in plain text!

Post by simonbcn »

johnnyg wrote:Not currently.
However, your auth file should only be readable by you, so it's not a huge security risk.
Yes, it's a security risk: http://en.wikipedia.org/wiki/Password#F ... _passwords, http://www.readwriteweb.com/archives/ro ... swords.php, http://www.mirrorten.com/plain-text-pas ... torage.php, etc...
If you search in Google, for example, by "password plain text security", you'll see many pages saying that this is the worst manner of do this.
By other side, in my auth file there is two entries: localclient and mine. localclient is created automatically by deluge daemon and its password is encrypted!! Why has localclient a encrypted password and mine can't?
Simón
Usuario Linux nº 413.257 (http://counter.li.org/)
Usuario Ubuntu nº 11312 (http://ubuntucounter.geekosophical.net/)
johnnyg
Top Bloke
Top Bloke
Posts: 1522
Joined: Sun Oct 28, 2007 4:00 am
Location: Sydney, Australia

Re: auth password in plain text!

Post by johnnyg »

I didn't say it wasn't a security risk, just not a huge one; if someone gains access to your account, I think controlling your torrents isn't your biggest problem...
That said, there are plans to have it store a cryptographic hash of the password instead.

localclient's password is also stored in plaintext; what you see is its password (it just happens to look encrypted).
Post Reply