https://github.com/adorsys/secret-server-rs
A secure Key Server to manage authentication secrets, supporting passkeys, TOTPs and offline funtionality
https://github.com/adorsys/secret-server-rs
Last synced: 3 months ago
JSON representation
A secure Key Server to manage authentication secrets, supporting passkeys, TOTPs and offline funtionality
- Host: GitHub
- URL: https://github.com/adorsys/secret-server-rs
- Owner: adorsys
- License: apache-2.0
- Created: 2025-01-23T15:09:05.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2025-02-06T11:15:24.000Z (8 months ago)
- Last Synced: 2025-06-16T23:37:38.798Z (4 months ago)
- Language: Rust
- Size: 8.79 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Secret-server-rs
The **secure Server** is a secure backend designed to manage user secrets (passkeys, OTPs) for authentication in Progessive Web Apps (PWAs). Ut ensures secure key storag, supports passkey-based authentication, and handles offline scenarios to provide a seamless user experience.## Key Features
- **Key Pair Generation**: Each PWA generates its own key pair for authentication.
- **Secure Secret Storage**: Encrypted user secrets (PINs, passkeys) are securely backed up to the server.
- **Passkey Recovery**: Users can authenticate via passkeys, or recover secrets using their Pin if passkeys are unavailable.
- **TOTP Fallback**: Provides time-based OTPs as a secondary recovery method.
- **Offline Support**: Locally encrypted secrets can be accessed using a PIN in offline mode.## Getting Started
### Prerequisites
- **Rust** (latest stable version)
- **SQLite** for local database storage### Setup
1. **Clone the repository**:
```bash
git@github.com:ADORSYS-GIS/Secret-server-rs.git
```
2. **Build the project**:
```bash
cargo build
```
3. **Run the server**:
```bash
cargo run
```
### Testing
To run the tests:
```bash
cargo test
```