UICKeyChainStore icon indicating copy to clipboard operation
UICKeyChainStore copied to clipboard

Touch ID Remove/Add does not trigger Authentication Dialog

Open wcwynn opened this issue 8 years ago • 1 comments

When a Touch ID protected item is added after it has been removed, the authentication dialog does not display.

Following the instructions for Adding/Removal of a Touch ID protected item, should an Add operation always result in the system to display the authentication dialog?

I'm seeing that ordinarily, the system dialog will display. However, when an item is added after it has been removed, the authentication dialog does not display.

Specifically, I see the following when adding, reading, and removing an item:

  • Add, Read, Remove => OK -- dialog shows for the Add and the Read
  • Read, Add, Remove => OK -- dialog shows for the Read and the Add
  • Remove, Add => NG -- dialog not displayed for the Add
  • Remove, Add, Add => NG -- dialog is only displayed for the 2nd Add
  • Add, Add, Read => OK -- dialog is displayed for both Adds and the Read

So it would seem that the first Add following the Remove of an item is not resulting in the dialog being displayed. (The value is however being written even though the dialog is not displayed)

Tested on iPhone 6s 10.1.1 and iPhone 6 Plus 10.2 using version 2.1 (where all operations are using the same key @"kishikawakatsumi" and Adds are using the value @"01234567-89ab-cdef-0123-456789abcdef")

Its possible I'm doing something wrong in testing but I haven't been able to identify the cause yet so wanted to ask for clarification of expected behavior.

wcwynn avatar Jan 16 '17 07:01 wcwynn

I am also seeing this behavior on an iPhone SE 10.2, and get the exact same results as wcwynn, using version 2.1

jvanmetre avatar Jan 19 '17 20:01 jvanmetre