Function processNewPassword

  • Processes new password Use this when a new password is necessary Order of operations are:

    1. Reads --password-new-file
    2. Reads PK_PASSWORD_NEW
    3. Prompts and confirms password If processNewPassword is used when an existing password is needed for authentication, then the existing boolean should be set to true This ensures that this call does not read PK_PASSWORD This may return an empty string

    Parameters

    • Optional passwordNewFile: string
    • fs: FileSystem = ...
    • existing: boolean = false

    Returns Promise<string>

Generated using TypeDoc