diff --git a/.gitattributes b/.gitattributes index 58e09b0246..70bb56362c 100644 --- a/.gitattributes +++ b/.gitattributes @@ -18,4 +18,3 @@ *.ogg binary *.dll binary *.exe binary -*.cs text eol=crlf diff --git a/OpenSim/Framework/Util.cs b/OpenSim/Framework/Util.cs index 6ef4785e87..513bd515eb 100644 --- a/OpenSim/Framework/Util.cs +++ b/OpenSim/Framework/Util.cs @@ -1421,7 +1421,7 @@ namespace OpenSim.Framework } } - return $"{Convert.ToHexString(iv)}:{Convert.ToHexString(encryptedText)}"; + return $"{Convert.ToHexString(iv)}:{Convert.ToHexString(encryptedText).ToLower()}"; } [MethodImpl(MethodImplOptions.AggressiveInlining)] diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs index a01bc3c320..2bfa6c047d 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs @@ -6549,7 +6549,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api OSSLShoutError("osAESEncrypt: Failed to encrypt!"); return LSL_String.Empty; } - return ret.ToString().ToLower(); + return ret.ToString(); } public LSL_String osAESDecrypt(string secret, string encryptedText) @@ -6577,7 +6577,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api OSSLShoutError("osAESEncryptTo: Failed to encrypt!"); return LSL_String.Empty; } - return ret.ToString().ToLower(); + return ret.ToString(); } public LSL_String osAESDecryptFrom(string secret, string encryptedText, string ivString) diff --git a/bin/OpenSim.ini.example b/bin/OpenSim.ini.example index 3c2ff30b47..458b44b4e4 100644 --- a/bin/OpenSim.ini.example +++ b/bin/OpenSim.ini.example @@ -309,7 +309,7 @@ ;; default is false ; TelehubAllowLandmark = false - + ;; Let's Encrypt and others ".pem" certificates converter settings. ;; Enabling this feature will automatically convert the CA .pem certificates to ;; OpenSim compatible PKCS12 .p12 and .pfx certificates on every server startup.