Self signed certificates
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 30/100
- Tipo di issue
- Documentazione
- Chiarezza
- Da chiarire
- Stato di attività
- Ferma
- Stack tecnologico
- cpp
- Ambito
- documentation, networking, security
Direzione di ricerca
Inizia da isteamnetworkingsockets.h e dall’output di certtool descritto nell’issue, quindi segui SetCertificate() e STEAMNETWORKINGSOCKETS_HARDCODED_ROOT_CA_KEY. Chiarisci come vengono configurati i certificati autofirmati, le chiavi private e i dati binari dei certificati, e fornisci un esempio di configurazione di base o della documentazione che risolva questi dubbi.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
I'm trying to figure out how to use self signed certificates to prevent MITM. I managed to create a cert via the certtool (the output includes other metadata and shows the cert in base64 - why doesn't it just export to a binary file as that's what SetCertificate() expects anyway? Or am I wrong here?) and then hardcoding the key with STEAMNETWORKINGSOCKETS_HARDCODED_ROOT_CA_KEY (this is required because it's self signed right?). But now it's complaining about it missing a private key. I can't really find how to set this to be honest. It seems like the private key could either be part of the cert (I can't find how to embed this) or setting it manually, but I can't find the API for this.
Any guidance is much appreciated. Perhaps some documentation on the subject wouldn't be a bad idea either. The documentation in isteamnetworkingsockets.h is pretty good in general, but there's very little about setting up encryption using self signed keys, which is pretty necessary for any serious game. Unless I'm just looking in the wrong place.
A basic example on how to set this up would be absolutely fantastic.
- Lingua principale
- C++
- Stelle
- 10k
- Fork
- 747
- Merge medio
- 5g 19h
- PR unite (30g)
- 1
Preparare l'ambiente
Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di ValveSoftware/GameNetworkingSockets
-
Native ICE resolves STUN/TURN hostnames under the global lockForse già presa @tintinhamans l’ha presa 11 giorni fa. Aperta
Difficoltà 4/5 3-5 giorni Idoneità per principianti 55/100
-
WebRTC ICE keeps an idle thread per STUN/TURN hostname lookupForse già presa @tintinhamans l’ha presa 11 giorni fa. Aperta
Difficoltà 3/5 1-2 giorni Idoneità per principianti 68/100
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 25/100
ValveSoftware/GameNetworkingSockets#425 · 7 commenti ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 38/100
-
steamworks
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
ValveSoftware/GameNetworkingSockets#386 · 2 commenti ·
Tutte le issue di ValveSoftware/GameNetworkingSockets
Issue simili
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
gavinlouuu-kpt/mib-studio-qt#517 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
I maintainer di solito rispondono entro 1 giorno
-
ws_bridge: stripping format=evr for matchmaker connections can concatenate the path and queryApertabug
Difficoltà 2/5 1-3 ore Idoneità per principianti 73/100
EchoTools/nevr-runtime#116 ·
I maintainer di solito rispondono entro 1 giorno
-
code-quality libc++
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 82/100
llvm/llvm-project#229284 ·
I maintainer di solito rispondono entro 1 giorno
-
test-issue
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
llvm/offload-test-suite#1557 ·
I maintainer di solito rispondono entro 1 giorno