0chain / 0chain/blobber

0chain owner can delete unencrypted file.

未關閉
#561 2 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
post-mainnet
主要語言
Go
星號
20
分支
26
PR 合併指標
30 天內沒有已合併 PR

描述

The [0chain owner](https://github.com/0chain/0chain/blob/staging/docker.local/config/0chain.yaml#L41) should have a manual way to delete an unencrypted file with a public exposed path as authtoken.

Hopefully, we will be able to do this by adding extra validation to the `delete file` endpoint.

貢獻指南

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

研究方向

在程式碼庫中找到「刪除檔案」端點,很可能在 HTTP 處理程式中。檢查現有的驗證邏輯。此變更涉及新增對 0chain 擁有者的檢查,使用來自 docker.local/config/0chain.yaml 的設定。尋找目前如何驗證 authtokens 和檔案路徑。測試端點以確保新的擁有者特定刪除功能正常運作。

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

評估

技術堆疊
go
領域
backend, security
Issue 類型
功能
難度
3/5
預估耗時
1-2 天
活躍度
停滯
描述清晰度
基本清楚
新手友好度
45/100

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

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