From 6bfa979a30e47b6a1626c909a04388fd4bb7ce55 Mon Sep 17 00:00:00 2001 From: JP Dillingham Date: Fri, 7 Oct 2022 09:13:16 -0500 Subject: fix more broken base62 --- src/slskd/Core/Options.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/slskd/Core/Options.cs b/src/slskd/Core/Options.cs index 7debb525..22e8487c 100644 --- a/src/slskd/Core/Options.cs +++ b/src/slskd/Core/Options.cs @@ -30,6 +30,7 @@ namespace slskd using FluentFTP; using NetTools; using slskd.Configuration; + using slskd.Cryptography; using slskd.Validation; using Soulseek.Diagnostics; using Utility.CommandLine; @@ -1330,7 +1331,7 @@ namespace slskd [StringLength(255, MinimumLength = 16)] [Secret] [RequiresRestart] - public string Key { get; init; } = Cryptography.Random.GetBytes(16).ToBase62String(); + public string Key { get; init; } = Cryptography.Random.GetBytes(16).ToBase62(); /// /// Gets the TTL for JWTs, in milliseconds. -- cgit v1.2.3