Strongbox icon indicating copy to clipboard operation
Strongbox copied to clipboard

UX Defect: excessive user interaction with hardware keys configured to require touch

Open marcrhansen opened this issue 2 years ago • 1 comments

Background

Security best practices for using HMAC-SHA1 Challenge-Response set the hardware key to require touch before supplying the response. This prevents malware from surreptitiously exercising the hardware key with a background process to obtaining current valid credentials. 

Problem

The use of hardware keys as implemented in Strongbox 1.17.0 does not cache the response from the hardware key. Perhaps the developer felt this was more secure. In practice, this forces the user to choose between a burdensome user experience of touching the hardware key for every save or disabling the require touch functionality of the key. IMHO, the system is more secure with Strongbox caching the response of the hardware key and reusing the cached response for all subsequent saves than it will be with the require touch functionality disabled. Unquestionably the cached response must be destroyed when the database is locked. Optionaly, the decision to cache the response could be a user-selectable option. 

Related Issues

#611

marcrhansen avatar Apr 03 '22 20:04 marcrhansen

Hi @marcrhansen - Yes, we've got something like this on our backlog

strongbox-mark avatar Apr 05 '22 11:04 strongbox-mark