From 556d02870e5730eb4ca818cc2aa901bc46d70b80 Mon Sep 17 00:00:00 2001 From: Developer 02 Date: Wed, 11 Dec 2024 14:56:30 +0100 Subject: [PATCH] refactor(CodeGeneratorParams): DefaultTotpSecretKeyLength auf 20 setzen. --- .../Configurations/CodeGeneratorParams.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/EnvelopeGenerator.Application/Configurations/CodeGeneratorParams.cs b/EnvelopeGenerator.Application/Configurations/CodeGeneratorParams.cs index f4c8e1b1..2ba65399 100644 --- a/EnvelopeGenerator.Application/Configurations/CodeGeneratorParams.cs +++ b/EnvelopeGenerator.Application/Configurations/CodeGeneratorParams.cs @@ -4,7 +4,8 @@ { public string CharPool { get; init; } = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz01234567890123456789012345678901234567890123456789"; - public int DefaultTotpSecretKeyLength { get; init; } = 32; + //TODO: Increase the DefaultTotpSecretKeyLength (e.g. to 32) but make sure that the QR code is generated correctly and can be scanned by the authenticator. + public int DefaultTotpSecretKeyLength { get; init; } = 20; public string TotpIssuer { get; init; } = "signFlow";