BeyondCodeBootcamp / BeyondCodeBootcamp/passkeys

Thoughts on UX

Abierto
#3 0 comentarios 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
JavaScript
Estrellas
2
Forks
1
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

## Forgot Passkey

- instead of "Forgot Password?" have "Can't Access Passkey?"

## Replace Passkey

- this will make any encrypted storage permanently inaccessible

## Adding a Passkey

- send magic email or text message to allow it
- use password to allow it? maybe not?
- allow creating password if the device doesn't support WebAuthn at all

## Boolean IDs

IDs are a huge pain in the butt:
- the os keychain may or may not be synced between devices
- the current device may or may not have synced with the os keychain
- the current browser on that device may or may not access the system keychain
- the current browser may or may not be synced with its own key storage
- if you've saved IDs to the server, you can't use them as entropy for local encryption
- you can't retrieve IDs from the server without the user ALREADY being logged in \
(otherwise anyone can just grab bunches of IDs for your users, or you have waaay more logic to handle in regards to fingerprinting the user's devices and browsers, etc to ensure that you don't pass them out willy-nilly)
- the IDs are only useful to prevent creation of the same ID, which you get by logging in - otherwise, if you had them, you would already know

THEREFORE, it seems like each device should just have some sort of localStorage that simply indicates a tiny piece of information about each key - such as if the "attestation" issuer is a security key or os keycahin, etc.

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Línea de trabajo

No se mencionan archivos, pruebas ni puntos de entrada. Primero hay que documentar los flujos existentes de passkey y recuperación de cuentas; después, resolver las propuestas relacionadas con passkeys olvidadas, reemplazadas y recién añadidas, incluidas las cuestiones sobre Boolean ID y local-storage. El trabajo solo se considera terminado cuando exista un diseño acordado de UX y seguridad antes de la implementación.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
javascript
Área
authentication, security
Tipo de issue
Nueva funcionalidad
Dificultad
5/5
Tiempo estimado
Más de una semana
Estado de actividad
Estancado
Claridad
Necesita aclaración
Aptitud para principiantes
20/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.