[pbs-devel] applied-series: [PATCH proxmox-backup v2 0/4] improving webauthn handling

Thomas Lamprecht t.lamprecht at proxmox.com
Wed Mar 3 14:05:57 CET 2021


On 25.02.21 10:01, Dominik Csapak wrote:
> it seems my gui patch for setting the userverification was a bit
> hasty, since the rust crate has some options for that
> 
> this series reverts the gui part, and sets the backend
> to 'discourage' userVerification, since 'Preferred' is not more secure
> and makes logging in harder (on some devices)
> 
> in the future (when [0] is solved), we could expose a server
> setting (either per instance or per user) that sets either always
> 'Discouraged' or 'Required'
> 
> changes from v1:
> * show webauthn errors on login
> * explicitly handle register errors, and try to give a meaningful message
>   for errors that indicate a duplicate authenticator
> 
> 0: https://github.com/kanidm/webauthn-rs/pull/49
> 
> Dominik Csapak (4):
>   config/tfa: set UserVerificationPolicy to Discouraged
>   Revert "ui: window/Settings / WebAuthn: add browser setting for
>     userVerificationo"
>   config/tfa: webauthn: disallow registering a token twice
>   ui: LoginView: show webauthn errors in window
> 
>  src/config/tfa.rs         | 19 ++++++++++++++++---
>  www/LoginView.js          | 19 ++++++++++++++-----
>  www/window/AddWebauthn.js | 34 ++++++++++++++++++++++++++--------
>  www/window/Settings.js    | 30 +-----------------------------
>  4 files changed, 57 insertions(+), 45 deletions(-)
> 



applied series, with a followup for the exception message as talked off-list, thanks!





More information about the pbs-devel mailing list