[pve-devel] [PATCH manager 2/2] ui: TFA: default to a 160 bit secret
Wolfgang Bumiller
w.bumiller at proxmox.com
Mon Oct 28 12:20:43 CET 2019
Signed-off-by: Wolfgang Bumiller <w.bumiller at proxmox.com>
---
www/manager6/dc/TFAEdit.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/www/manager6/dc/TFAEdit.js b/www/manager6/dc/TFAEdit.js
index 7d19127d..8f3017f6 100644
--- a/www/manager6/dc/TFAEdit.js
+++ b/www/manager6/dc/TFAEdit.js
@@ -289,7 +289,7 @@ Ext.define('PVE.window.TFAEdit', {
randomizeSecret: function() {
var me = this;
- var rnd = new Uint8Array(16);
+ var rnd = new Uint8Array(32);
window.crypto.getRandomValues(rnd);
var data = '';
rnd.forEach(function(b) {
--
2.20.1
More information about the pve-devel
mailing list