Skip to main content

CMS password generator

LICENSE STYLE CIRCLECI

EUA

EUA rules implemented in this script are:

  • Must start with a letter

  • At least one number (0-9)

  • At least one Lowercase alphabetic character (a-z)

  • At least one Upper Case alphabetic character (A-Z)

  • MUST BE EXACTLY 8 characters long

  • May not include “punctuation characters” (undocumented)

Rules NOT implemented:

  • Cannot include your EUA UserID and any part of your name

  • Cannot include any word/word portion prohibited by the defined CMS dictionary

  • Password can’t contain 50% characters from previous password

  • Be different from the previous 24 passwords

CloudVPN

CloudVPN rules implemented in this script are:

  • Cannot contain keyboard walks of 3 or more consecutive keyboard keys in a row (e.g. asd, zaq, 123, was, pol, ser, gyu, bhj, 9o0, p;[, etc.)

  • Password length greater than 15 characters.

  • Contain 3 out of 4 the following:

    • 1 digits (0-9).

    • 1 symbols (!, @, #, $, %, *, etc.).

    • 1 uppercase English letters (A-Z).

    • 1 lowercase English letters (a-z).

Rules NOT implemented:

  • Password must differ from previous password by 24 password(s).

  • Password must be at least 1day(s) since last password change.

Installation

You need python3:

brew install python3
python3 -m pip install cmspw

Usage

Cryptographically random alphanumeric strings are generated, printing the first that complies with the EUA/CloudVPN ruleset to the standard output.

$ python3 -m cmspw --help
usage: cmspw [-h] --ruleset RULESET [--length NUM]

generates passwords for CMS

optional arguments:
  -h, --help            show this help message and exit
  --ruleset RULESET, -r RULESET
                        rule set to validate against. can be one of ['eua', 'vpn'].
  --length NUM, -l NUM  password length. if ruleset is 'eua', this is ignored.
$ python3 -m cmspw --ruleset eua
qJbcNJ2Y
$ python3 -m cmspw --ruleset vpn --length 24
4H+-X^#XV(8'&wB5ZNn'H%>q

Development

You need poetry:

brew install poetry

Inside the project directory you can enter a virtual environment like so:

poetry install && poetry shell

Metadata

Release files for cmspw 1.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for cmspw 1.1.2
File Size Uploaded Provenance Actions
cmspw-1.1.2.tar.gz 9.2 kB Without provenance Details for cmspw-1.1.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for cmspw 1.1.2
File Interpreter ABI Platform Actions
cmspw-1.1.2-py3-none-any.whl Python 3 none any Details for cmspw-1.1.2-py3-none-any.whl

Total release size: 18.9 kB

Release files / cmspw-1.1.2.tar.gz

Download URL cmspw-1.1.2.tar.gz
Size 9.2 kB
Tags Source
SHA-256 checksum
How to use checksums
6761135ccce06c5711b3bfbecdd41f66d4a44b1b4ff47c69475926a9143fbfe0
BLAKE2b-256 checksum
How to use checksums
35406562ff739debacd6be08cd02e1573352a53540e27ab78cd781e18ed5072a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.4 CPython/3.8.6 Darwin/19.6.0

Release files / cmspw-1.1.2-py3-none-any.whl

Download URL cmspw-1.1.2-py3-none-any.whl
Size 9.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
72265c5f784b4c303847ff48adada1e6c3e7c4f4f6b27fcd0a41f15e81d56836
BLAKE2b-256 checksum
How to use checksums
7f5c552b322d1766ff0ef7fdb4beffaaf6372240c9e007b492bcaafc80c6daaa
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.4 CPython/3.8.6 Darwin/19.6.0

Security for cmspw 1.1.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.1.2 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page