Nitrokey / fido-authenticator

FIDO authenticator Trussed app.
Apache License 2.0
4 stars 0 forks source link

Add dynamic estimation of remaining credential space #92

Closed sosthene-nitrokey closed 3 months ago

sosthene-nitrokey commented 3 months ago

The estimation is pretty rough and in most cases pessimistic. It reserves multiple blocks of margin to prevent filling up the device.

With the default configuration of the usbip runner, it estimates the value to be around 40, and I could generate more than 60.

For now, this PR removes the hard-coded limitation when generating credentials. This makes credential generation faster, but at the same time this could prove to be an issue when listing credential (even the USBIP version is pretty slow to list all credentials).

sosthene-nitrokey commented 3 months ago

This depends on https://github.com/trussed-dev/trussed-staging/pull/27