Generate secure multiword passwords/passphrases, inspired by XKCD

Generate secure multiword passwords/passphrases, inspired by XKCD

A flexible and scriptable password generator which generates strong passphrases, inspired by XKCD 936/XKPasswd and uses the xkcdpass PyPI project.

Use Case:
If your service desk team have ever needed to generate human readable passwords that still meet complexity requirements for temporary passwords, this script will give them a quick option to generate.

Installation Instructions:
  1. Download the attachment.
  2. Ensure you have Python installed on the server running ServiceDeskPlus.
  3. Open Command Prompt (as Administrator) and type 'pip install xkcdpass' to install the module.
  4. Copy generatePasswords.py to "[SDP_Home]\integration\custom_scripts"
    - Remember to update the URL and Technician API Key fields.
  5. Copy generatePasswords.txt to "[SDP_Home]\integration\custom_scripts\executor_files"
  6. Open the ServiceDeskPlus admin portal --> Developer Space --> Custom Menu.
  7. Add New Menu named "Create Random Password".

  8. Set the Action Type to "Execute Script" and enter "generatePassword.txt"
  9. From a request, you will now be able to clic "Custom Actions" --> "Generate Random Password"


    Example:


This will add the note to the request history and also post a private note on the request with the password.

      • Topic Participants

      • Daryl

                  New to ADSelfService Plus?