Basic authentication is not really possible to get working with manually-issued certs

未關閉
#237 7 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

維護者通常 23 天內回覆

@ResakaGit 已經在處理了。

開始於 2026年8月18日。

  • #427 來自 @ResakaGit —— 未關閉

評估

難度
5/5
預估耗時
一週以上
新手友好度
35/100
Issue 類型
功能
描述清晰度
基本清楚
活躍度
冷清
技術堆疊
cpp

研究方向

首先檢查原始碼中金鑰交換的公開金鑰簽章路徑,以及 issue 中提到的現有憑證式介面。判斷是否可以透過目前的介面設定簽章金鑰和驗證金鑰;如果不行,則為它們界定 API 的範圍,並定義如何驗證其 MITM 防護行為。

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

描述

enhancement

From my quick look at code, i found out that there is key exchange public key signing in source, but no way to set keys for it are provided in the interface. (It is possible to set them through certificates, but certificates don't look like they are made for usage outside Steamworks).
And my question is: can i set keys for signing and verifying key exchange public keys using only interface?
If no, i think it's worth considering adding some simple API for that, for example:

AddKeyExchangePublicKeys(CECSigningPublicKey* keys, size_t keyCount);
SetKeyExchangePrivateKey(CECSigningPrivateKey key);

(CECSigningPublic/PrivateKey are here for example)
I think, it will improve protection against MITM.

主要語言
C++
星號
10.1k
分支
781
PR 合併指標
30 天內沒有已合併 PR

環境準備

這個專案沒有提供開發容器、Dockerfile 或貢獻指南,環境需要你自己搭建:先看它的 README,通用步驟見我們的新手貢獻指南。

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

ValveSoftware/GameNetworkingSockets 的其他 Issue

查看 ValveSoftware/GameNetworkingSockets 的全部 Issue

相似的 Issue

更多 C++ Issue

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

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