On 10/28/19 12:20 PM, Wolfgang Bumiller wrote: > Signed-off-by: Wolfgang Bumiller <w.bumil...@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) { >
applied, but added some hints about how the 32 byte translate to 160 bits in the commit message ;-) _______________________________________________ pve-devel mailing list pve-devel@pve.proxmox.com https://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel