404kacper / 404kacper/Cloud-Professor-Backend

Async private key - server side generation

未關閉
#1 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
主要語言
JavaScript
星號
0
分支
1
PR 合併指標
30 天內沒有已合併 PR

描述

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.

貢獻指南

這個儲存庫沒有索引到貢獻指南

研究方向

查看目前的金鑰產生 endpoint 和客戶端解密邏輯。了解 masterPassword 目前是如何傳送的,以及私鑰加密/解密發生的位置。目標是在發送到後端前將金鑰生成和加密移到前端。檢查現有的 API 路由和 Strapi 的服務中的加密作業。

由索引模型根據 Issue 內容生成。

評估

領域
backend, security
Issue 類型
功能
難度
4/5
預估耗時
3-5 天
活躍度
停滯
描述清晰度
基本清楚
新手友好度
35/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。