Traditional username/password authentication is broken:
- Passwords get reused across multiple sites
- Breaches expose millions of credentials
- Replacing existing systems is expensive and risky
Instead of replacing your authentication system, we upgrade it with:
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β β
β ββββββββββββ ββββββββββββββββ βββββββββββββββββββββββββββ β
β β Chrome ββββββΆβ Desktop ββββββΆβ Storage Backend β β
β βExtension β β App β β β β
β ββββββββββββ ββββββββββββββββ β βββββββββββββββββββ β β
β β β Google Drive β β β
β Auto-fills Manages keys β β (Home Users) β β β
β credentials & encryption β βββββββββββββββββββ β β
β β β β
β β βββββββββββββββββββ β β
β β β BigchainDB β β β
β β β (Enterprise) β β β
β β βββββββββββββββββββ β β
β βββββββββββββββββββββββββββ β
β β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
| Feature | Description |
|---|---|
| Zero Infrastructure Change | Works on top of existing username/password systems |
| Decentralized Storage | Credentials stored in Google Drive (home) or BigchainDB (enterprise) |
| End-to-End Encryption | AES-256 encryption with Shamir's Secret Sharing |
| Cross-Platform | Chrome extension + Electron desktop app |
| Blockchain-Backed | Enterprise solution uses BigchainDB for immutable audit trails |
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β ALTERNATE AUTHENTICATION β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β β
β βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ β
β β APPLICATION LAYER β β
β β βββββββββββββββββββ βββββββββββββββββββ βββββββββββββββββββββββ β β
β β β Chrome Extensionβ β Desktop App β β OTP Manager β β β
β β β β’ Auto-fill β β β’ Key mgmt β β β’ 2FA support β β β
β β β β’ Form detect β β β’ Encryption β β β’ Authy integ. β β β
β β βββββββββββββββββββ βββββββββββββββββββ βββββββββββββββββββββββ β β
β βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ β
β β β
β βΌ β
β βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ β
β β SECURITY LAYER β β
β β βββββββββββββββββββ βββββββββββββββββββ βββββββββββββββββββββββ β β
β β β AES-256 β β Shamir's Secret β β BIP39 Mnemonic β β β
β β β Encryption β β Sharing β β Key Generation β β β
β β βββββββββββββββββββ βββββββββββββββββββ βββββββββββββββββββββββ β β
β βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ β
β β β
β βΌ β
β βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ β
β β STORAGE LAYER β β
β β βββββββββββββββββββββββββββββ βββββββββββββββββββββββββββββββββ β β
β β β HOME USERS β β ENTERPRISE β β β
β β β βββββββββββββββββββββββ β β βββββββββββββββββββββββββββ β β β
β β β β Google Drive β β β β BigchainDB β β β β
β β β β β’ Personal vault β β β β β’ Immutable ledger β β β β
β β β β β’ OAuth 2.0 β β β β β’ Audit trail β β β β
β β β βββββββββββββββββββββββ β β β β’ Tendermint consensus β β β β
β β β β β βββββββββββββββββββββββββββ β β β
β β β βββββββββββββββββββββββ β β β β β
β β β β On-Premise β β β β β β
β β β β β’ Local storage β β β β β β
β β β βββββββββββββββββββββββ β β β β β
β β βββββββββββββββββββββββββββββ βββββββββββββββββββββββββββββββββ β β
β βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ β
β β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
- Docker & Docker Compose
- Node.js (v14+)
- Google Chrome
# Clone the repository
git clone https://github.com/NP-compete/Alternate-Authentication.git
cd Alternate-Authentication
# Install dependencies
npm install# Start the desktop backend
cd Application/Desktop
npm install
cd backend
node server.jsThen load the Chrome extension:
- Navigate to
chrome://extensions - Enable Developer mode
- Click Load unpacked
- Select the
Application/Extension/folder
# Start BigchainDB
cd Enterprise/BlockChain/Server/bigchaindb
make run
# Start the desktop app
cd ../../../../Application/Desktop
npm install
npm startAlternate-Authentication/
βββ Application/
β βββ Desktop/ # Electron desktop application
β β βββ backend/ # Express server for key management
β β βββ ...
β βββ Extension/ # Chrome browser extension
β βββ background.js # Service worker
β βββ contentscript.js
β βββ popup.js
βββ Enterprise/
β βββ BlockChain/ # BigchainDB integration
β βββ Server/ # BigchainDB server setup
β βββ assetManager.js
β βββ passwordManager.js
βββ Home/
β βββ Gdrive/ # Google Drive storage backend
β βββ OnPrem/ # On-premise storage option
βββ package.json
This project implements multiple layers of security:
- AES-256 Encryption: All credentials encrypted before storage
- Shamir's Secret Sharing: Master key split across multiple shares
- BIP39 Mnemonics: Human-readable key backup
- Zero-Knowledge: Server never sees plaintext credentials
See SECURITY.md for our security policy and how to report vulnerabilities.
Contributions are what make the open source community amazing! Any contributions you make are greatly appreciated.
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature) - Commit your Changes (
git commit -m 'Add some AmazingFeature') - Push to the Branch (
git push origin feature/AmazingFeature) - Open a Pull Request
See CONTRIBUTING.md for detailed guidelines.
- Dr. Y V Subba Rao
- Dr. Anjenya Swami Kare
Distributed under the MIT License. See LICENSE.md for more information.
- Smart India Hackathon for the platform
- KG Info System Pvt. Ltd for the problem statement
- BigchainDB for the blockchain infrastructure
- All contributors and supporters