-
Notifications
You must be signed in to change notification settings - Fork 47
Commit
Issue: #237
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -90,6 +90,8 @@ func recoverClevisPassword(t luks.Token, luksVersion int) ([]byte, error) { | |
} | ||
|
||
func recoverFido2Password(devName string, credential string, salt string, relyingParty string, pinRequired bool, userPresenceRequired bool, userVerificationRequired bool) ([]byte, error) { | ||
loadModules("usbhid").Wait() | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
anatol
Author
Owner
|
||
|
||
ueventContent, err := os.ReadFile("/sys/class/hidraw/" + devName + "/device/uevent") | ||
if err != nil { | ||
return nil, fmt.Errorf("unable to read uevent file for %s", devName) | ||
|
Perhaps wait for
hid_sensor_hub
as well? #236