#42 No need to retry auth 3 times when using file-based dialog
Closed: fixed Opened by rcritten.

The same NSS callback is used for all PIN attempts. This only makes sense when there is some sort of interaction. It definitely shouldn't be used for the file method.

This has the possibility of disabling some hardware devices with built-in limits for authentication failures.


Metadata Update from @rcritten:
- Issue assigned to rcritten

Metadata Update from @rcritten:
- Custom field type adjusted to defect
- Issue set to the milestone: mod_nss-1.0.15

Added new variable to the parg structure to store the maximum # of retries. This defaults to 3 except in the case of a file password dialog where it is just one. The exception is if the dialog is file and the token doesn't exist in the file in which case the value reverts back to 3.

This could be a problem if there are multiple tokens depending on the order the tokens are authenticated by NSS but it is better than it was before.

c099f9bcd16d073a5f122000b034604a53c55a18

Metadata Update from @rcritten:
- Issue close_status updated to: fixed
- Issue status updated to: Closed (was: Open)

Metadata