diff options
| author | JP Dillingham <jp@dillingham.me> | 2022-10-07 09:12:44 -0500 |
|---|---|---|
| committer | JP Dillingham <jp@dillingham.me> | 2022-10-07 09:12:44 -0500 |
| commit | 33eb63ce219fb03113819a7442a1e8af403d8785 (patch) | |
| tree | eaf65088980b35cbbe83e6cf88258d0488a75307 /src/slskd/Program.cs | |
| parent | a1632c18d37fdeb62499000dd9da4b1a1b71256d (diff) | |
| download | slskd-33eb63ce219fb03113819a7442a1e8af403d8785.tar.gz | |
fix broken Base62 encoding
Diffstat (limited to 'src/slskd/Program.cs')
| -rw-r--r-- | src/slskd/Program.cs | 4 |
1 files changed, 2 insertions, 2 deletions
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; } |
