Menu

Encrypted passwords???

thahulth
2005-04-21
2013-03-27
  • thahulth

    thahulth - 2005-04-21

    Hi, I got a running copy of Verlihub but wan't to use this great hub some times when I'm not running that one and the problem is that I have some passwords encrypted, and wonder if there are any way to use thos encrypted passwords in this hub, how should I need to rewrite the hub?

     
    • Jeremy Evans

      Jeremy Evans - 2005-04-28

      I'm not familiar with Verlihub's password encryption.  However, assuming you can duplicate it (hopefully it is something common like MD5 or SHA1), you just need to add a function to the hub that encrypts the password (let's call it encryptpass), and modify parseMyPass:

          def parseMyPass(self, user, args):
              password = encryptpass(args)
              return (password, )

      I'd recommend making a hub subclass that does this, see PrivateDCHub.py for an example.

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.