Ark is a secure, command-line based password and sensitive information manager designed for developers and security-conscious users. It provides a robust, encrypted storage solution for your sensitive data, right on your local machine.
- Strong Encryption: Uses AES-GCM for authenticated encryption, providing both confidentiality and integrity.
- Secure Key Management: Implements key encryption key (KEK) for added security.
- Password-Based Key Derivation: Utilizes PBKDF2 with a high iteration count for deriving keys from passwords.
- Ark Locking: Automatically locks the ark after a period of inactivity.
- Secure File Operations: Implements secure deletion and permission management for ark files.
- Backup and Restore: Allows users to create and restore backups of their ark.
- Key Rotation: Supports rotating encryption keys for enhanced security.
- Clipboard Integration: Copies retrieved passwords to clipboard for convenience.
- Implements strict access controls on ark files and directories.
- Uses constant-time comparison for password verification to prevent timing attacks.
- Securely overwrites memory to prevent sensitive data leakage.
- Disables core dumps to prevent unintended exposure of sensitive information.
- Implements integrity checks to detect tampering with ark files.
- Provides protection against concurrent access attempts.
pip install ark
ark init
###Add a new entry
ark add <key> <value>
ark get <key>
ark list
ark delete <key>
ark change-password
ark backup <backup_path>
ark restore <backup_path>
ark destroy
To set up the development environment:
git clone https://github.com/yourusername/ark.git
cd ark
python -m venv venv
source venv/bin/activate # On Windows use `venv\Scripts\activate`
pip install -r requirements.txt
pytest
Contributions are welcome! Please feel free to submit a Pull Request.
This project is licensed under the MIT License - see the LICENSE file for details.
While Ark implements various security measures, no system is 100% secure. Use at your own risk and always follow best practices for password management and system security.