http://wiki.sipfoundry.org/display/xecsuser/PIN+retrieval+tool

It's a bit hacky but as far as I can tell it works. Test it and let me know if you have problems/success with it.

Josh Patten
Assistant Network Administrator
Brazos County IT Dept.
(979) 361-4676


On 4/5/2010 5:10 AM, Picher, Michael wrote:

Yes, would be great for export / upgrade situations.

*From:* [email protected] [mailto:[email protected]] *On Behalf Of *Josh Patten
*Sent:* Monday, April 05, 2010 1:07 AM
*To:* Scott Lawrence
*Cc:* [email protected]
*Subject:* Re: [sipX-dev] PIN token encryption method

I have answered my own question, and my assumption was correct. Is anyone interested in a small python script that extracts PIN numbers from the postgres DB?

Josh Patten wrote:

so if I understand correctly the password is stored as such:

4321:pbx.domain.com:PIN

and then turned into a saltless MD5 hash?

If I'm mistaken let me know.

Scott Lawrence wrote:

On Sat, 2010-04-03 at 20:04 -0500, Josh Patten wrote:
    What encryption method does sipX use to encrypt the pintoken attribute

    in the database? My guess is MD5 with salt but I don't know enough about

    such things to make an educated guess.

It's MD5(user:realm:pin) - the H(A1) value from RFC 2617


------------------------------------------------------------------------


_______________________________________________
sipx-dev mailing [email protected]  
<mailto:[email protected]>
List Archive:http://list.sipfoundry.org/archive/sipx-dev
Unsubscribe:http://list.sipfoundry.org/mailman/listinfo/sipx-dev
sipXecs IP PBX --http://www.sipfoundry.org/

_______________________________________________
sipx-dev mailing list [email protected]
List Archive: http://list.sipfoundry.org/archive/sipx-dev
Unsubscribe: http://list.sipfoundry.org/mailman/listinfo/sipx-dev
sipXecs IP PBX -- http://www.sipfoundry.org/

Reply via email to