Skip to content

When adding a new keeper record with -GeneratePassword the password does not meet many complexity requirements. #158

@lennartki

Description

@lennartki

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions