Extension Password Criteria


Extension Basics

Title
Password Criteria
Name
ckanext-password
Type
Public extension
Description
Enables configurable password criteria for user registration in CKAN, allowing administrators to define password complexity requirements via regex.
CKAN versions
Download-Url (zip)
Last commit
4 years ago (2021-04-08 12:29:42)
Url to repo
Category
Authentication & Security


Background Infos

Description (long)
Show details

ckanext-password

Extension that enables configurable password criteria for user registration in CKAN.

Installation

  1. Activate your CKAN virtual environment:

    . /usr/lib/ckan/default/bin/activate

  2. Install the ckanext-password Python package:

    pip install ckanext-password

  3. Add custom_password_criteria to the ckan.plugins setting in your CKAN config file.

  4. Restart CKAN.

Config Settings

# Regex expression to validate password
ckanext.password.password_regex = 

# Message to display when the password is invalid
ckanext.password.invalid_password_message = 

Default password criteria: Password must consist of at least 8 characters and at least three of following four character types: Uppercase letter, Lowercase letter, Number, Special characters: !, @, #, $, %, ^, &, *.

License

AGPL-3.0

Copyright (c) Keitaro Inc

Version
0.0.1
Version release date
2021-04-08
Contact name
Keitaro Inc
Contakt email
Contact Url
(not set)


Installation Guide

Configuration hints

Add ‘custom_password_criteria’ to ckan.plugins. Configure password regex and invalid password message in ckan.ini.

Plugins to configure (ckan.ini)
custom_password_criteria
CKAN Settings (ckan.ini)
# ckanext.password.password_regex = 
# ckanext.password.invalid_password_message = 
DB migration to be executed
(not set)
<< back to Extensions