mirror of
https://github.com/AChep/keyguard-app.git
synced 2025-01-22 18:40:22 +01:00
improvement: Limit the max lines of RSA private key to 24
This commit is contained in:
parent
464cbaad4a
commit
2df62a995a
@ -1015,6 +1015,10 @@ private fun RememberStateFlowScope.oh(
|
||||
title = translate(Res.string.private_key),
|
||||
value = sshKey.privateKey,
|
||||
verify = verify.takeIf { concealFields },
|
||||
// Private key might be too long to show if you
|
||||
// select a 4096-bit RSA. There's no point in
|
||||
// torturing the device rendering that string.
|
||||
maxLines = 24,
|
||||
monospace = true,
|
||||
colorize = true,
|
||||
elevated = true,
|
||||
|
Loading…
Reference in New Issue
Block a user