Notice (2018-05-24): bugzilla.xamarin.com is now in
Please join us on
Visual Studio Developer Community and in the
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
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 on
Developer Community or GitHub with
your current version information, steps to reproduce, and relevant error
messages or log files if you are hitting an issue that looks similar to
this resolved bug and you do not yet see a matching new report.
### Customer report
Non-public report https://kb.xamarin.com/agent/case/370436
Customer is having trouble accessing the keychain using SecRecord.
It looks like SecRecord is missing a property to enable password access control
(kSecAccessControlApplicationPassword in iOS9+).
Access the internal NSMutableDictionary SecRecord.queryDict property using reflection, and add
a value for kSecUseAuthenticationContext.
Are there plans to extend SecRecord with a UseAuthenticationContext
property (or something similar)? If not, is there an alternative recommended workaround?
Customer included this link for reference:
Confirmed, missing binding in https://github.com/xamarin/xamarin-macios/blob/master/src/security.cs#L514-L582
@Alex please add this to your current work on SecRecord improvements - https://trello.com/c/uw7KfZB3
Propposed PR https://github.com/xamarin/xamarin-macios/pull/842
Fixed in xamarin-macios/master @ 27424075eb802a05312e0849057f41bf4a3d987b