It is possible to use a YubiKey protected database in AutoFill mode by using Virtual Hardware Key's. You can read more about Virtual Hardware Key's and why they are needed for AutoFill mode here. You must know the secret you programmed your YubiKey with to create a Virtual Hardware Key.
Creating a Virtual Hardware Key
- Tap your database to begin the unlock sequence.
- If you are using a PIN Code, Touch ID or Face ID convenience unlock then you need to fail or cancel out of this to get to the manual unlock screen.
- Now under 'Hardware Key' tap 'Configure...' or tap your existing Hardware Key configuration if that was set.
- Under 'Virtual Hardware Keys' tap 'Add New...'
- Enter a name for your new Virtual Hardware Key, e.g. "My AutoFill Virtual Hardware Key"
- Enter your HMAC-SHA1 secret (which you programmed your YubiKey with) string (without spaces) in to the HMAC-SHA1 Secret field.
- You can switch on the "AutoFill Only" switch if you want this key to be available only in AutoFill mode.
- You may or may not need to switch on the "Fixed Length Input" switch depending on how you originally programmed your YubiKey.
- Tap Add to complete the creation of your Virtual Hardware Key.
If you chose to make your key available to the main app as well as AutoFill you can now immediately check if it works by selecting it in the Unlock screen. Otherwise, switch over to AutoFill mode and try it out.
Note: It may be considered more secure to make your Virtual Hardware Key because of the limited access to your database from AutoFill mode.