What You'll Learn
- When you can change your password
- Step-by-step password change process
- Updating your key file
- Password requirements and best practices
Prerequisites
You can only change your password if you're using custom password encryption. If you're using automatic (machine-specific) encryption, you must reinitialize with a custom password first.
Before You Start
- Make sure you know your current password
- Choose a strong new password
- Update your key file if you use one
- Update all devices using this password
Changing Your Password
Step 1: Run the Change Password Command
# Change password interactively
filefortress --password CurrentPassword device change-password
# You'll be prompted for your new password
Step 2: Update Your Key File (If Used)
If you use a key file for convenience, update it with your new password:
# Create new key file with new password
echo "YourNewPassword" > ~/filefortress.key
# Set proper permissions (Linux/Mac)
chmod 600 ~/filefortress.key
Step 3: Update Other Devices
If you use FileFortress on multiple devices, you'll need to update each one to use the new password.
Password Requirements
- Minimum length: 8 characters
- Recommended: 16+ characters for strong security
- Mix of characters: Letters, numbers, symbols
- Avoid: Dictionary words, personal information
Pro Tip
Use a password manager to generate and store a strong, random password. A passphrase like "correct-horse-battery-staple" is also secure and easier to remember.
Related Articles
- Encryption Guide - Understanding encryption options
- Multi-Device Setup - Using on multiple devices