Comments (4)
This is now implemented! It will automatically use OpenSSL if available, and fall back to building with the reference implementations in src/external/ if not.
from gamenetworkingsockets.
Please take console and mobile platforms into consideration with these changes. I'm not sure what kind of restrictions they have over crypto but it may require using their crypto libraries? I do know they require it to varying degrees for basically all communication at this point.
Edit: Oh, the next tab I opened: #45 👍
from gamenetworkingsockets.
Refactored some stuff, should be much more straightforward to do this now.
These functions would be relevant.
https://www.openssl.org/docs/man1.1.1/man3/EVP_PKEY_get_raw_private_key.html
This means we would require OpenSSL 1.1. (Or we could support older OpenSSL, using the existing Donna support? I kind of wanna delete all that code, though.)
from gamenetworkingsockets.
Welp, I implemented all the functions in crypto_25519_openssl.cpp, but it's not working. EVP_PKEY_get_raw_public_key is failing. I need to actually step into OpenSSL, and I don't want to go through the work to get all that setup right now. I need to go back to actually shipping this in Steam.
If anybody else wants to poke at this, go for it!
I'll come back to this later.
from gamenetworkingsockets.
Related Issues (20)
- Update go wrapper HOT 2
- How to build the library for steam runtime (scout?) HOT 1
- str_size macro
- incorrectly detecting if bcrypt is available HOT 3
- Building fails on Archlinux with error HOT 3
- thread sanitizer detects issues HOT 4
- valgrind: Conditional jump or move depends on uninitialised value HOT 6
- lets move to zpp::bits!? HOT 2
- Steps to build for iOS and Android
- VCPKG / Building x86-windows-static
- Where/Who to contact for console access HOT 1
- cs2 and csgo ping HOT 1
- Early Retry Mechanism for SteamNetworkingSockets Authentication HOT 9
- Build fails to succeed for Windows / Visual Studio HOT 1
- Request to add compression
- minbase_decls.h always defines DLL_EXPORT on Windows (issues with static pthread)
- Build fails with clang 16 from non utf-8 garbage character
- Q: Performance warning
- Segmentation fault on CreateListenSocketIP using WSL2 Ubuntu
- Fail to build in windows 10 x64 due to openssl HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gamenetworkingsockets.