tillitis / tkey-fido

TKey U2F/FIDO
GNU General Public License v2.0
7 stars 2 forks source link

Possibility to avoid keeping the counter? #4

Open quite opened 1 year ago

quite commented 1 year ago

If you keep the counter here as 0 at all times, you could perhaps get by without ever increasing it; avoiding to store it all together... https://github.com/tillitis/tkey-fido/blob/b23ef936b3f1e4edb57e5e1cf5530aa3f830f4cf/cmd/tkey-fido/softhid.go#L200

See https://www.imperialviolet.org/2023/08/05/signature-counters.html and https://www.imperialviolet.org/2023/07/23/u2f-to-passkeys.html