404kacper / 404kacper/Cloud-Professor-Backend

Async private key - server side generation

Aperta
#1 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
JavaScript
Stelle
0
Fork
1
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

Current implementation sends masterPassword to backend in order to generate the keys, but when decrypting on frontend the encrypted private key is sent along with iv and decrypted client side.

Potential security risk of having to send masterPassword through unsure medium.
Ideally keys should be generated & encrypted client side - then sent over to backend.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Direzione di ricerca

Look at the current key generation endpoint and the client-side decryption logic. Understand how masterPassword is currently sent and where private key encryption/decryption happens. The goal is to move key generation and encryption to the frontend before sending to the backend. Check existing API routes and Strapi services for cryptographic operations.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
javascript
Ambito
backend, security
Tipo di issue
Funzionalità
Difficoltà
4/5
Tempo stimato
3-5 giorni
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
35/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.