Using TLS With Godot 4.2! C#
Вставка
- Опубліковано 28 чер 2024
- Subscribe and learn more from me about Game Development and Programming!
In this video, we discuss the basics of how to do TLS and ecryption in Godot 4.2! This is useful for securing your network connections!
RESOURCES
Putty: putty.org/
Wireshark: www.wireshark.org/
Lets Encrypt: letsencrypt.org/
CertBot: certbot.eff.org/
NameCheap: www.namecheap.com/
BE MY FRIEND:
🐦Add me on Twitter: / finepointcgi
Check out my Website: finepointcgi.io/
Trello of Upcoming Tutorials: trello.com/b/cJWPaVyV/godot-t...
You can support me on Patreon: / finepointcgi
Hang Out with the Guys on Discord: / discord
TIMESTAMPS
00:00 - Start
00:56 - Prereqs for This Tutorial
02:07 - Going Over Why We Are Doing This GD Script Example
05:28 - How Does This Encryption Work?
08:42 - Getting Into Godot and Genererating a Certificate
15:07 - How Do We Use Our CERT To Secure Our Data
18:58 - Using Certs With the Client Code
22:16 - Testing Our Encryption
22:49 - How To Use Wireshark
23:56 - Discussing NCAP
29:54 - How To Get a Proper Non Self Signed CERT
39:08 - Outro
MUSIC
Music provided by TheRelaxedMovement.
Check it out here: / therelaxedm...
HASHTAGS:
#Encryption #Godot #Multiplayer
ABOUT MY CHANNEL:
I've been a software developer for over 7 years. I've worked in the game industry for 3 of those years. This channel is used for news on the gaming\programming industry and for tutorials for game\programming development.
Using TLS With Godot 4.2! C#
❤ Awesome tutorial
this will be awesome
👍
Help me with in-app orientation please - The game on the phone is only in landscape mode, but the in-app opens only in portrait mode and the game in the background change view and looks horrible. How can I block this behavior or have the in-app open only in landscape mode?
You can set the screen orientation in Project Settings> Window>Handheld>Orientation set it to Landscape or Sensor Landscape it shouldn't go to Portrait.
@@FinePointCGI Already do that and test in two ways, but nothing changes
How to make 3d game in godot 4 using c# in 2024 pls
I watched your in-game purchases video for android and your steamworks video for achievements
could you make one about implementing steam purchases in godot, please?
there aren't a lot of them on the internet
Steam purchases? Like the marketplace? I can look into it. I wanted to look at steamworks networking as well.
@@FinePointCGI sorry i am not sure how to say this but:
i mean stuff like selling skins, since my game is free to play
@simpmator makes sense it's definitely on my list!
@@FinePointCGI Thank you!
That'll be a life saver!
Maybe I'm missing something but why use client certificates? Seems pretty unrealistic to manage and validate client certificates on even a small scale. Plus, do you even need to validate each client? Seems like you'd be better off just setting up cert-manager on the server side and having each client connect over TLS only (no client certs).
You wouldn't the server is holding the private key the client is holding the public key. You could have the client ask for the cert and just have the server pass it down and that would work
please help i stuck i don,t now what to do like my sdk version is 33 and java version is 17 then why this happens.
I'm not sure what your asking what is your error?
@@FinePointCGI editor/export/editor_export_platform.h:182 - Export: Building of Android project failed, check output for the error:
Starting a Gradle Daemon, 2 incompatible and 1 stopped Daemons could not be reused, use --status for details
> Task :clean
> Task :assetPacks:installTime:clean
> Task :preBuild UP-TO-DATE
> Task :preDebugBuild UP-TO-DATE
> Task :compileDebugRenderscript NO-SOURCE
> Task :assetPacks:installTime:generateAssetPackManifest
> Task :generateDebugResValues
> Task :generateDebugResources
> Task :processDebugAssetPackManifests
> Task :createDebugCompatibleScreenManifests
> Task :extractDeepLinksDebug
> Task :mergeDebugResources
> Task :processDebugMainManifest
> Task :mapDebugSourceSetPaths
> Task :linkDebugManifestForAssetPacks
> Task :processDebugManifest
> Task :processApplicationManifestDebugForBundle
> Task :mergeDebugShaders
> Task :compileDebugShaders NO-SOURCE
> Task :generateDebugAssets UP-TO-DATE
> Task :mergeDebugAssets
> Task :compileDebugAidl NO-SOURCE
> Task :generateDebugBuildConfig
> Task :checkDebugAarMetadata
> Task :processDebugJavaRes NO-SOURCE
> Task :processDebugManifestForPackage
> Task :checkDebugDuplicateClasses
> Task :desugarDebugFileDependencies
WARNING:C:\Users\ADMIN\.gradle\caches\transforms-3\8dca7980fb192054f00e20bdf1587154\transformed\jetified-godot-lib.template_debug\jars\classes.jar: D8: One or more classes has class file version >= 56 which is not officially supported.
> Task :bundleDebugResources
> Task :mergeLibDexDebug
> Task :javaPreCompileDebug
> Task :mergeDebugJniLibFolders
> Task :mergeDebugNativeLibs
> Task :assetPackDebugPreBundleTask
> Task :processDebugResources
> Task :compileDebugKotlin NO-SOURCE
> Task :compileDebugJavaWithJavac FAILED
> Task :mergeDebugJavaResource
> Task :mergeExtDexDebug
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':compileDebugJavaWithJavac'.
> error: invalid source release: 17
* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
* Get more help at help.gradle.org
BUILD FAILED in 59s
30 actionable tasks: 30 executed
@@FinePointCGI editor/export/editor_export_platform.h:182 - Export: Building of Android project failed, check output for the error:
Starting a Gradle Daemon, 2 incompatible and 1 stopped Daemons could not be reused, use --status for details
> Task :clean
> Task :assetPacks:installTime:clean
> Task :preBuild UP-TO-DATE
> Task :preDebugBuild UP-TO-DATE
> Task :compileDebugRenderscript NO-SOURCE
> Task :assetPacks:installTime:generateAssetPackManifest
> Task :generateDebugResValues
> Task :generateDebugResources
> Task :processDebugAssetPackManifests
> Task :createDebugCompatibleScreenManifests
> Task :extractDeepLinksDebug
> Task :mergeDebugResources
> Task :processDebugMainManifest
> Task :mapDebugSourceSetPaths
> Task :linkDebugManifestForAssetPacks
> Task :processDebugManifest
> Task :processApplicationManifestDebugForBundle
> Task :mergeDebugShaders
> Task :compileDebugShaders NO-SOURCE
> Task :generateDebugAssets UP-TO-DATE
> Task :mergeDebugAssets
> Task :compileDebugAidl NO-SOURCE
> Task :generateDebugBuildConfig
> Task :checkDebugAarMetadata
> Task :processDebugJavaRes NO-SOURCE
> Task :processDebugManifestForPackage
> Task :checkDebugDuplicateClasses
> Task :desugarDebugFileDependencies
WARNING:C:\Users\ADMIN\.gradle\caches\transforms-3\8dca7980fb192054f00e20bdf1587154\transformed\jetified-godot-lib.template_debug\jars\classes.jar: D8: One or more classes has class file version >= 56 which is not officially supported.
> Task :bundleDebugResources
> Task :mergeLibDexDebug
> Task :javaPreCompileDebug
> Task :mergeDebugJniLibFolders
> Task :mergeDebugNativeLibs
> Task :assetPackDebugPreBundleTask
> Task :processDebugResources
> Task :compileDebugKotlin NO-SOURCE
> Task :compileDebugJavaWithJavac FAILED
> Task :mergeDebugJavaResource
> Task :mergeExtDexDebug
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':compileDebugJavaWithJavac'.
> error: invalid source release: 17
* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
* Get more help at help.gradle.org
BUILD FAILED in 59s
30 actionable tasks: 30 executed
editor/export/editor_export_platform.h:182 - Export: Building of Android project failed, check output for the error:
FAILURE: Build failed with an exception.
* Where:
Build file 'C:\Users\ADMIN\Documents\gamefaar\android\build\build.gradle' line: 16
* What went wrong:
Plugin [id: 'com.android.application', version: '8.3'] was not found in any of the following sources:
- Gradle Core Plugins (plugin is not in 'org.gradle' namespace)
- Plugin Repositories (could not resolve plugin artifact 'com.android.application:com.android.application.gradle.plugin:8.3')
Searched in the following repositories:
Gradle Central Plugin Repository
Google
* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
> Get more help at help.gradle.org.
So youtube ate your comment but I understand you are exporting your 3d project to aab and its not working however i need the actual error code or i cant help.
Will there be a gdscript version?
I already did, ua-cam.com/video/2eGkj9eBxAo/v-deo.html
@@FinePointCGI perfect I'm not at that point in my game so I hadn't checked it out yet just wanted to make sure it included TLD because that is a must