Giter VIP home page Giter VIP logo

pwrulevalidator's Introduction

pwrulevalidator

Go Report Card

The Password Rule Validator a micro-services application that checks a given password against a set of configurable rules.

Requirements

Architecture

  • API specification in OpenAPI / Swagger
  • rules set aka validator is a ressource (from OpenAPI perspective)

Features

  • configuratble via a set of rules, see [[#Parameterisable Rules]]
  • persistant reference of rules
  • only tranfer of pw candidate withouth user id
  • support of historie of passwords without clear text transmission
  • support of bcrypt hashes to avoid clear text transmission

Operation

  • docker environment
  • support of logging
  • Makefile

Parameterisable Rules

simple minimal password length      x chars for users *without* a priviliged rights 
priviliged minimal password length  y chars for users *with* a priviliged rights
password complexity                 passwort must fulfill x out y features:
                                    upper case, lower case, special char and number
password age	                    at most y day(s)
                                    at least x day(s)
Passworthistorie                    password history of y

API Specification

  • Create a new validator in response to a valid POST request at /validator
  • Fetch list of all validators in response to a valid GET request at /validators
  • Delete a validator in response to a valid DELETE request at /validator/{id}
  • Validate a password in response to a valid POST request at /validator/{id}
  • Updata a validator in response to a valid PUT request at /validator/{id} Validate a password

Description

In our simple application we will have a validator which has

  • id - a unique identfifier for the validator
  • ruleset - a struct containing all parameters for the validator
  • description - a description of the validator

pwrulevalidator's People

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.