Charles Majola wrote: > Can anyone tell me how I can go about changing firefox's saved proxy > password from an external program. I'm trying to use libnss but I can't > seem to figure out how it stores/retrieve the password.
There's a sample program that shows how to decrypt those passwords. See it at http://lxr.mozilla.org/security/source/security/nss/cmd/pwdecrypt/pwdecrypt.c The difficult part is done by PK11SDR_Decrypt(). There's also a corresponding PK11SDR_Encrypt(). These are parts of the "Secret Decoder Ring" API. See the prototypes at http://lxr.mozilla.org/security/source/security/nss/lib/pk11wrap/pk11sdr.h#44 -- Nelson B _______________________________________________ dev-tech-crypto mailing list dev-tech-crypto@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-tech-crypto