Overview
The@proton/pass package is the shared codebase for Proton Pass, providing password management, secure credential storage, and vault functionality. It includes Redux state management, cryptographic operations, import/export capabilities, and browser extension support.
Installation
Key Features
- Secure password and credential storage
- Multi-vault support
- Password generation
- Passkeys support
- 2FA/OTP code generation
- Import/export functionality
- Browser extension integration
- Secure notes and credit cards
- Password health monitoring
- Breach monitoring
- Alias management
Package Structure
Items
Password, note, credit card, and alias management
Vaults
Vault creation and management
Crypto
End-to-end encryption using Proton’s crypto
Extension
Browser extension utilities and rules
Core Modules
Items Management
Manage passwords, notes, credit cards, and other secure items.Vault Management
Create and manage vaults for organizing credentials.Password Generation
Authentication
Login and Session Management
Two-Factor Authentication
Passkeys
Support for WebAuthn passkeys.Aliases
Email alias management for privacy.Import/Export
Importing Passwords
Exporting Passwords
Search
Full-text search across items.Security Monitoring
Password Health
Breach Monitoring
Browser Extension
Autofill
Content Script Rules
Sharing
Securely share items with other Proton Pass users.Cryptography
Proton Pass uses end-to-end encryption powered by@proton/crypto.
Organization Features
B2B Management
Groups
Offline Support
Proton Pass supports offline access with IndexedDB caching.Settings
TypeScript Types
Events and Telemetry
Testing
Development Scripts
Dependencies
Core Dependencies
Core Dependencies
@protontech/pass-rust-core- Rust core for cryptographic operations@proton/crypto- End-to-end encryption@proton/srp- SRP authentication@proton/shared- Shared utilities@reduxjs/toolkit- State managementotpauth- OTP/2FA generationformik- Form managementidb- IndexedDB wrapper for offline storage
Import/Export Dependencies
Import/Export Dependencies
papaparse- CSV parsingclient-zip- ZIP file creation@zip.js/zip.js- ZIP file handlingx2js- XML to JSON conversion
Browser Extension Support
Built for Chrome, Firefox, Edge, Brave, and other Chromium-based browsers.Related Packages
@proton/crypto
Cryptography utilities
@proton/srp
SRP authentication
@proton/shared
Shared utilities