{% extends "base.html" %} {% block title %}Settings — LockBox{% endblock %} {% block content %}

Settings

Account

Username: {{ user.username }}

Email: {{ user.email }}

Member since: {{ user.created_at.strftime('%Y-%m-%d') }}

Change Password

Important: Your encryption key is derived from your password + salt. Changing the password does not automatically re-encrypt existing files. Keep a secure backup of your current password or export keys if you need long-term access to old files.
{{ form.hidden_tag() }}
{{ form.current_password.label(class="form-label") }} {{ form.current_password(class="form-control rounded-3") }}
{{ form.new_password.label(class="form-label") }} {{ form.new_password(class="form-control rounded-3") }}
{{ form.confirm.label(class="form-label") }} {{ form.confirm(class="form-control rounded-3") }}
{{ form.submit(class="btn btn-primary rounded-pill") }}

Security & Encryption

  • Files are encrypted client-side with AES-256-GCM before upload.
  • Encryption key is derived from your password using PBKDF2 + your unique salt.
  • Server and Backblaze B2 only store ciphertext.
  • Sessions use secure, HttpOnly cookies; CSRF protection is enabled.
  • Passwords are hashed with Argon2id.
{% endblock %} {% block content_mobile %}{{ self.content() }}{% endblock %}