a4i / haraka-plugin-auth-enc-file

Haraka plugin that uses an SHA512 salted and hashed password file to authenticate users

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

NPM

haraka-plugin-auth-enc-file

Greenkeeper badge

This plugin uses an encrypted file to authenticate a user. Currently only SHA512CRYPT is supported.

Configuration

Configuration is stored in config/auth_enc_file.ini and uses the INI style formatting.

Example:

[users]
user@domain.com={SHA512-CRYPT}$6$...

SHA512-CRYPT hashes can be generated using Dovecot like this:

doveadm pw -s SHA512-CRYPT -u user@domain.com -p 'password'

or using the provided gen.js like this:

node ./gen.js [username] [password]

About

Haraka plugin that uses an SHA512 salted and hashed password file to authenticate users

License:MIT License


Languages

Language:JavaScript 100.0%