From 33eb63ce219fb03113819a7442a1e8af403d8785 Mon Sep 17 00:00:00 2001 From: JP Dillingham Date: Fri, 7 Oct 2022 09:12:44 -0500 Subject: fix broken Base62 encoding --- src/slskd/Program.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/slskd/Program.cs b/src/slskd/Program.cs index fd80d649..29531978 100644 --- a/src/slskd/Program.cs +++ b/src/slskd/Program.cs @@ -264,13 +264,13 @@ namespace slskd if (GenerateCertificate) { - GenerateX509Certificate(password: Cryptography.Random.GetBytes(16).ToBase62String(), filename: $"{AppName}.pfx"); + GenerateX509Certificate(password: Cryptography.Random.GetBytes(16).ToBase62(), filename: $"{AppName}.pfx"); return; } if (GenerateApiKey) { - Log.Information($"API Key: {Cryptography.Random.GetBytes(32).ToBase62String()}"); + Log.Information($"API Key: {Cryptography.Random.GetBytes(32).ToBase62()}"); return; } -- cgit v1.2.3