From what I can see -GeneratePassword actually generates a UID.
if ($GeneratePassword.IsPresent) { $fields['password'] = [Keepersecurity.Utils.CryptoUtils]::GenerateUid() }
This generated password does not meet many password requirements like special characters etc.
I now resort to generating a password seperately
$PasswordGenerationOptions = New-Object KeeperSecurity.Utils.PasswordGenerationOptions -Property @{
Length = 16
Lower = 1
Upper = 1
Digit = 1
Special = 1
}
$KeeperRecordPassword = [Keepersecurity.Utils.CryptoUtils]::GeneratePassword($PasswordGenerationOptions)
But users could benefit from using -GeneratePassword generating stronger passwords.
From what I can see -GeneratePassword actually generates a UID.
if ($GeneratePassword.IsPresent) { $fields['password'] = [Keepersecurity.Utils.CryptoUtils]::GenerateUid() }This generated password does not meet many password requirements like special characters etc.
I now resort to generating a password seperately
But users could benefit from using
-GeneratePasswordgenerating stronger passwords.