How to Change Your FileFortress Password
Step-by-step guide to updating your device password securely
Overview
FileFortress allows you to change your custom device password when needed. This feature is only available if you're using custom password encryption - devices with automatic (machine-specific) encryption don't have a user password to change. The password change process ensures your encrypted database remains accessible while updating your security credentials.
Prerequisites
Custom Password Mode Required
Important: You can only change your password if your device uses custom password encryption.
Custom password mode with password or key file authentication
filefortress --password YourPassword init
Automatic (machine-specific) encryption mode
filefortress init
Current Authentication Required
Password Change Methods
Method 1: Interactive Mode (Recommended)
Process
Interactive mode guides you through the password change process with prompts and validation.
Command
filefortress --password YourCurrentPassword change-password
Interactive Experience
Method 2: Script Mode
Process
Script mode allows automation by providing the new password directly as a command option.
Command
filefortress --password YourCurrentPassword change-password --new-password YourNewPassword
Security Note
Password Requirements and Best Practices
Strong Password Guidelines
Example Strong Passwords
Tr0ub4d0ur&J0y!S3cur3-P@ssw0rd-2024C0mpl3x!ty#R@nd0mStep-by-Step Process
Common Scenarios and Solutions
If you can't remember your current password, you cannot change it. You'll need to reinitialize FileFortress.
Change your password every 3-6 months for optimal security.
If you suspect your password has been compromised, change it immediately.
Troubleshooting
Common Error Messages
| Error Message | Cause | Solution |
|---|---|---|
| "This device is not using a custom password" | Device uses automatic encryption | Reinitialize with custom password if needed |
| "Current password is required" | No current password provided | Add --password YourCurrentPassword |
| "New password is required" | Script mode without new password | Add --new-password YourNewPassword |
| "New password must be different from current password" | Same password entered as new | Choose a different password |
| "Passwords do not match" | Confirmation password mismatch | Re-enter passwords carefully |
Failed Password Change
If a password change fails:
Post-Change Considerations
Key File Updates
If you use a key file for convenience, you'll need to update it after changing your password:
Create Updated Key File
# Create new key file with updated password
echo "YourNewPassword" > ~/filefortress.key
# Set appropriate permissions (Linux/Mac)
chmod 600 ~/filefortress.key
Automation Impact
Device Synchronization
Password changes are device-specific and don't sync across devices:
Security Best Practices
Password Management
Do's
Don'ts
Environmental Security
Protect your password change process: