Re: System Configuration framework (setting AuthPassword)
Re: System Configuration framework (setting AuthPassword)
- Subject: Re: System Configuration framework (setting AuthPassword)
- From: Vincent Lubet <email@hidden>
- Date: Tue, 26 Feb 2002 09:28:22 -0800
Here is the info I managed to gather about AuthPasswordEncryption.
We don't currently encrypt passwords right now so the key
AuthPasswordEncryption is just a place holder waiting for the day we
have values like "Plain", "MD5", "KEYCHAIN", whatever...
Today, the you can currently just test the presence of this key:
- If it is not there ---> plain text (a.k.a. CFDATA)
- If it is there, you probably will not be able to decode the password.
That way your code will not break in the future (trying to read
something encoded), when we introduce crypto.
Vincent
On Tuesday, February 26, 2002, at 06:53 AM, Paul Popovich wrote:
Hello all,
I'm fairly new to this framework (System Configuration), so my question
may seem really naive.
I'm using the framework to configure ISP network setting, namely, DNS,
phone number, account name, various ppp options, and a password (ppp
preference pane).
Now, everything gets configured successfully, with an exception of the
password key. The password key does not get encrypted correctly, so
everytime I test dial out, I get authentication errors. I finally
noticed that I'm only setting AuthPassword key, but there's also
AuthPasswordEncryption key and AuthProtocol key.
Now, AuthProtocol has values for it listed as "CHAP" or "PAP". But,
AuthPasswordEncryption key remains a mystery. I can't find any
information anywhere on how to set it, and most importantly, do I need
to set it? And furthermore, do these keys also get set in the PPP
dictionary, or somewhere else?
My problem in a nutshell, to summarize, is that I need to set the
AuthPassword key properly so it encrypts properly, and whatever further
action that implies.
Thank you in advance,
Paul Popovich.
_______________________________________________
macnetworkprog mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/macnetworkprog
Do not post admin requests to the list. They will be ignored.
_______________________________________________
macnetworkprog mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/macnetworkprog
Do not post admin requests to the list. They will be ignored.