stable

Clone or download

Read-only

feat: Use webauthn lib for ssh keys add button

Part of story #31177 check my identity when doing a risky action Adding a ssh key to an account is a potential vector of attack. So before doing it, check identity of user with its passkey *Testing:* Try to add a ssh key to your account, the behavior of the button in the modal is the same as before except that if you have a registered passkey you will be asked to used it. Change-Id: I7a300fe7c18d91e771c09e948dee0b0e83bde3d0

Modified Files

Name
M plugins/webauthn/scripts/account/src/account.ts +1 −2 Go to diff View file
D plugins/webauthn/scripts/account/themes/style.scss +0 −22 Go to diff View file
M plugins/webauthn/templates/account.mustache +4 −4 Go to diff View file
M plugins/webauthn/templates/name-modal.mustache +2 −2 Go to diff View file
M plugins/webauthn/templates/remove-modal.mustache +3 −3 Go to diff View file
M src/common/User/Account/templates/ssh-keys.mustache +40 −33 Go to diff View file
M src/scripts/main/package.json +2 −0 Go to diff View file
M src/scripts/main/pnpm-lock.yaml +6 −0 Go to diff View file
M src/scripts/main/src/account/keys-tokens.ts +30 −3 Go to diff View file
M src/themes/BurningParrot/css/account/account.scss +4 −0 Go to diff View file