Truncate SVR2 IDs to 16 bytes rather than 10.

This commit is contained in:
gram-signal
2023-03-30 17:19:18 -06:00
committed by GitHub
parent 84355963f9
commit 781cd0ca3f
3 changed files with 28 additions and 7 deletions

View File

@@ -29,6 +29,7 @@ public class SecureValueRecovery2Controller {
.builder(cfg.userAuthenticationTokenSharedSecret())
.withUserDerivationKey(cfg.userIdTokenSharedSecret())
.prependUsername(false)
.withTruncateLength(16)
.build();
}