Saved password in nxs-file

View: New views
2 Messages — Rating Filter:   Alert me  

Saved password in nxs-file

by Thomas Klingbeil :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello,

does somebody have any idea, how the encryption/encoding of the user
password in the nxs-file works?

it is in the following section:

<group name="Login" >
<option key="Auth" value="ENCODED_PASSWORD_HERE" />
...

I have already tried to use Python's crypt.crypt() method with a random
salt, but that does not work; also using the user password value from
the /etc/shadow file does not work (which is basically the same...)

My aim is to automate the generation of the nxs-files.

Thank you!
Thomas
________________________________________________________________
     Were you helped on this list with your FreeNX problem?
    Then please write up the solution in the FreeNX Wiki/FAQ:

http://openfacts2.berlios.de/wikien/index.php/BerliosProject:FreeNX_-_FAQ
 
         Don't forget to check the NX Knowledge Base:
                 http://www.nomachine.com/kb/ 

________________________________________________________________
       FreeNX-kNX mailing list --- FreeNX-kNX@...
      https://mail.kde.org/mailman/listinfo/freenx-knx
________________________________________________________________

Re: Saved password in nxs-file

by Fritz Elfert-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Have a look at the source of OpenNX:
http://sourceforge.net/projects/opennx/

The relevant code is in pwcrypt.cpp

Cheers
 -Fritz

BTW:
Anyone using the OpenNX client? I'd love to get some feedback ...

Thomas Klingbeil schrieb:

> Hello,
>
> does somebody have any idea, how the encryption/encoding of the user
> password in the nxs-file works?
>
> it is in the following section:
>
> <group name="Login" >
> <option key="Auth" value="ENCODED_PASSWORD_HERE" />
> ...
>
> I have already tried to use Python's crypt.crypt() method with a random
> salt, but that does not work; also using the user password value from
> the /etc/shadow file does not work (which is basically the same...)
>
> My aim is to automate the generation of the nxs-files.
>
> Thank you!
> Thomas
> ________________________________________________________________
>      Were you helped on this list with your FreeNX problem?
>     Then please write up the solution in the FreeNX Wiki/FAQ:
>
> http://openfacts2.berlios.de/wikien/index.php/BerliosProject:FreeNX_-_FAQ
>  
>          Don't forget to check the NX Knowledge Base:
>                  http://www.nomachine.com/kb/ 
>
> ________________________________________________________________
>        FreeNX-kNX mailing list --- FreeNX-kNX@...
>       https://mail.kde.org/mailman/listinfo/freenx-knx
> ________________________________________________________________

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iD8DBQFKtBCxboM4mAMyprARAiaBAJ9sTX9pMqGTXd/R+8ARXKfhtjlUxACaAyrv
Qa6D5BCyWp9si13H5mg4AN8=
=C8r0
-----END PGP SIGNATURE-----
________________________________________________________________
     Were you helped on this list with your FreeNX problem?
    Then please write up the solution in the FreeNX Wiki/FAQ:

http://openfacts2.berlios.de/wikien/index.php/BerliosProject:FreeNX_-_FAQ
 
         Don't forget to check the NX Knowledge Base:
                 http://www.nomachine.com/kb/ 

________________________________________________________________
       FreeNX-kNX mailing list --- FreeNX-kNX@...
      https://mail.kde.org/mailman/listinfo/freenx-knx
________________________________________________________________