Requesting user presence with security CLI 'add-generic-password'

Hi,

I cannot find potential attributes to enable 'User Presence' when accessing passwords stored with 'add-generic-password'.

The idea is to make sure the user is prompted with session's password (or TouchID) each time a generic password is fetched from Keychain. This can be done using Security.framework but I'm looking for an equivalent in a shell script.

Has anybody done such a thing ?

Regards,

Jerome T
Requesting user presence with security CLI 'add-generic-password'
 
 
Q