Mercurial > prosody-modules
view mod_s2s_auth_monkeysphere/README.markdown @ 4832:bfd4af4caddc
mod_password_policy: Support for additional policies provided by other modules
E.g. check a password contains an uppercase character:
module:provides("password-policy", {
name = "contains_uppercase";
check_password = function (password, policy)
return (policy ~= true) or (not not password:match("%u"));
end;
})
Config:
password_policy = {
contains_uppercase = true;
}
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Wed, 22 Dec 2021 14:48:46 +0000 |
parents | 8d1141025b43 |
children |
line wrap: on
line source
--- labels: - 'Stage-Alpha' - 'Type-S2SAuth' summary: Monkeysphere certificate checking for s2s --- ## Introduction [Monkeysphere](http://web.monkeysphere.info/) is a project aiming to introduce PGP's web of trust to protocols such as SSH and TLS (which XMPP uses). ## Details This module is currently just a prototype, it has numerous issues and is **not** suitable for production use. ## Compatibility ------- ----------------------------- trunk Works (not tested recently) 0.11 Works (not tested) 0.10 Does not work 0.9 Does not work ------- -----------------------------