warning: 'AuthorizationExecuteWithPrivileges' is deprecated: first deprecated in OS X 10.7
Opened this issue · 8 comments
Apparently AuthorizationExecuteWithPrivileges() is deprecated in OS X 10.7. Everything compiles (with warnings about this deprecation) but when running the extension in Firefox 25, after clicking "Start Capturing" and authenticating, an error is thrown
osx_run_privileged: AuthorizationExecuteWithPrivileges() failed: -60031
The deprecated code is in osx_platform.cpp.
More info about this on stack overflow.
yeah I encountered this last night as well on OSX10.9/FF25. Going to have a play with it today to see what I can do..
EDIT: yeah seems to occur regardless of where the backend binary is placed/executed.
If sudo firesheep-backend --fix-permisions is called from a prompt then the error is avoided. Is this experienced on all versions of OSX currenty?
well thats strange, just got a friend to build the latest revision on his 10.8 machine and his version doesnt suffer the -60031..
I have FileVault turned on, could that be it?
—
Sent from my rotary phone
On Thu, Nov 14, 2013 at 7:02 PM, Benjamin Roberts
notifications@github.com wrote:
well thats strange, just got a friend to build the latest revision on his 10.8 machine and his version doesnt suffer the -60031..
Reply to this email directly or view it on GitHub:
#209 (comment)
I run FileVault also... The computer my friend used to build the working version (OSX 10.8, which happened to work on my machine) didnt have it enabled...
You can work around this issue by running:
$ sudo /tmp/firesheep/firesheep-backend --fix-permissions
I'll try to figure out a better solution, but it seems the new official API requires codesigning.
This thread has some truly awful hacks involving applescript. I'd be interested to know what that actually does under the hood.
http://stackoverflow.com/questions/6841937/authorizationexecutewithprivileges-is-deprecated
Just a curious sidenote: I built a copy on 10.8, installed it onto my 10.9 machine and it worked. I did read that section about helper tools and codesigning, seems like alot of hoops to jump through
@codebutler So, what should I do to compile firesheep successfully?