View Source mix scr.audit (SecretVault v1.2.2)

Performs audit of passwords, detect duplicates and weak passwords. Exits with exit code 1 if at least one check fails.

Usage

$ mix scr.audit

Check options

  • --no-similarity - to disable password similarity check
  • --digits - to enforce passwords having at least one digit
  • --uppercase - to enforce uppercase letters in password
  • --mix-length=N - to enforce minimul length requirement
  • --no-plaintext - to disable checking for unencrypted passwords

Config override

You can override config options by providing command line arguments.

  • :cipher - specify a cipher module to use;
  • :priv_path - path to priv directory;
  • :prefix - prefix to use (defaults to default);
  • :password - use a password that's different from the one that's configured.

Summary

Functions

Callback implementation for Mix.Task.run/1.

Functions

@spec run([String.t()]) :: no_return()

Callback implementation for Mix.Task.run/1.