Re: [webauthn] New Authenticator Extension: Time Since UV (#2034)

Padme is great for file sizes, where overhead is a concern. But here you can just round up to the next power of two. I would also trim the values less than 1 second or more than 1 day. The resulting bins are:
```
 0h  0m  1s
 0h  0m  2s
 0h  0m  4s
 0h  0m  8s
 0h  0m 16s
 0h  0m 32s
 0h  1m  5s
 0h  2m 11s
 0h  4m 22s
 0h  8m 44s
 0h 17m 28s
 0h 34m 57s
 1h  9m 54s
 2h 19m 48s
 4h 39m 37s
 9h 19m 14s
18h 38m 28s
```
That's probably still more resolution than RPs need. We could round to the next even power of two to thin it out further.

-- 
GitHub Notification of comment by jschanck
Please view or discuss this issue at https://github.com/w3c/webauthn/issues/2034#issuecomment-1969890072 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Wednesday, 28 February 2024 20:46:10 UTC