Bug 58619 - [Binding] Security.Authorization
Summary: [Binding] Security.Authorization
Status: CONFIRMED
Alias: None
Product: Xamarin.Mac
Classification: Desktop
Component: Library (Xamarin.Mac.dll) (show other bugs)
Version: Master
Hardware: PC Mac OS
: Normal normal
Target Milestone: 15.7
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2017-08-07 14:36 UTC by Aaron Bockover [MSFT]
Modified: 2017-12-11 17:30 UTC (History)
3 users (show)

Tags:
Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report for Bug 58619 on Developer Community or GitHub if you have new information to add and do not yet see a matching new report.

If the latest results still closely match this report, you can use the original description:

  • Export the original title and description: Developer Community HTML or GitHub Markdown
  • Copy the title and description into the new report. Adjust them to be up-to-date if needed.
  • Add your new information.

In special cases on GitHub you might also want the comments: GitHub Markdown with public comments

Related Links:
Status:
CONFIRMED

Description Aaron Bockover [MSFT] 2017-08-07 14:36:38 UTC
Security.Authorization is missing bindings to useful APIs. In fact, the only API it does expose (AuthorizationExecuteWithPrivileges), is actually deprecated since 10.7 and should be updated with availability information.

Further it at a minimum needs bindings for the "external form" APIs, so the authorization can be passed to another process (like /usr/libexec/authopen).

It also needs a ctor override to indicate ownership of the underlying native reference since this will be required for proper `SFAuthorization` support.

The AuthorizationFlags enum needs to be updated to add `NoData = 1 << 20`.
Comment 1 Chris Hardy [MSFT] 2017-09-21 14:54:09 UTC
Moving out to 15.6