Security
In this article
Passwords
Passwords are hashed using Bcrypt. Resetting a password can be done using a Password Reset Link. These links have a 24h expiry date.
Password policies are coming soon.
Two-factor authentication
Users can set up two-factor authentication when auth_enable_2fa is true. To require it from all users, set:
auth_force_2fa: true
This also enables auth_enable_2fa.
Captchas
To use a captcha, set the keys of reCAPTCHA (auth_recaptcha_key, auth_recaptcha_secret) or of hCaptcha (auth_hcaptcha_key, auth_hcaptcha_secret).
Login attempts
After too many failed logins, the login is locked for some time.
| Setting | Default | Use |
|---|---|---|
| auth_freeze_login_after_failed_attempts | 5 | Number of failed logins that locks the login |
| auth_freeze_login_failed_attempts_period | 300 | Period, in seconds, in which the failed logins are counted |
| auth_freeze_login_duration | 900 | Duration, in seconds, of the lock |
Set auth_check_username_availability: true to check the availability of the username on the signup form. This also enables the public endpoint of this check.
Sessions
auth_session_ttl (default: 300) is the lifetime, in seconds, of the authentication. Only the remember cookie of the login can renew it.
Sessions are signed with the secret_key: changing it logs every user out.
Stored credentials
Kantree encrypts the credentials it stores (integration tokens, OAuth secrets, API keys) with the credential_encryption_keys. See Secret keys.
Outgoing requests
webhooks_whitelist (default: []) is the allowlist of the instance for the URLs of outgoing webhooks and of the “remote URL” automation actions.
Identifiers
Usernames and emails are not encrypted. This would prevent us from sending you emails or displaying your username in the application.
SSL
All connections to Kantree are made via a secure connection using SSL. See a report here: https://www.ssllabs.com/ssltest/analyze.html?d=kantree.io&latest (A+ grade)