[SOLVED] How to generate SSHA1 password

Ask for help and report issues not specific to either the Mac OS X or GTK+ versions of Transmission
Post Reply
pecet
Posts: 3
Joined: Fri Mar 26, 2010 9:52 am

[SOLVED] How to generate SSHA1 password

Post by pecet »

... for transmission-daemon? As far i understand this is not normal SHA1, but SHA1 with salt or something like that, right? So... how can i generate password to put in settings.json without any GUI? Is there are any console tool for GNU/Linux to do that without any fancy dependencies (like perl/python/ruby/php/whatever), or better web based one (i mean - hosted, i don't want webui for it)?
Thank you in advance.
Last edited by pecet on Tue Mar 30, 2010 11:01 pm, edited 1 time in total.
rb07
Posts: 1400
Joined: Sun Aug 24, 2008 3:14 am

Re: How to generate SSHA1 password

Post by rb07 »

You don't need to encrypt it, the daemon will do it... from http://trac.transmissionbt.com/wiki/Con ... Parameters
A new password can be entered via command line utilities or directly in plain text and will replaced with the encrypted version when the configuration file is next saved.
I don't know what "command line utilities" are those, since the most common, htpasswd and openssl, do not produce the kind of string the daemon stores.
Post Reply