Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/joebb10/autsec-passkey
A Python script implementing a new authentication system using encrypted passkeys. Users can generate passkeys, register devices, and securely login. Simplifies user authentication with an easy-to-use passkey mechanism.
https://github.com/joebb10/autsec-passkey
2fa authentication authentication-backend cybersecurity passkey-manager passkeys
Last synced: about 1 month ago
JSON representation
A Python script implementing a new authentication system using encrypted passkeys. Users can generate passkeys, register devices, and securely login. Simplifies user authentication with an easy-to-use passkey mechanism.
- Host: GitHub
- URL: https://github.com/joebb10/autsec-passkey
- Owner: joebb10
- Created: 2024-03-31T20:05:43.000Z (9 months ago)
- Default Branch: main
- Last Pushed: 2024-03-31T20:10:19.000Z (9 months ago)
- Last Synced: 2024-07-30T19:49:11.567Z (5 months ago)
- Topics: 2fa, authentication, authentication-backend, cybersecurity, passkey-manager, passkeys
- Language: Python
- Homepage: https://autsec.io
- Size: 3.91 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Autsec-Passkey
This Python script implements a new authentication system using passkeys for users. Passkeys are generated, encrypted, and stored along with user information. Users can register devices, generate passkeys, and login using their passkeys.
# Features
- Passkey Generation: Generates random passkeys for users.
- Passkey Encryption: Encrypts passkeys for secure storage.
- Device Registration: Allows users to register devices for authentication.
- Login Authentication: Validates users' login attempts based on passkeys and registered devices.# Usage
# Installation:
- Ensure you have Python installed on your system.
- Running the Application:
- Run the Python script using the following command:python passkey.py
# Registration and Login:
- Enter your username, email, and device ID when prompted.
- The script will generate a passkey, register the device, and attempt to login.#Endpoint
POST /generate-passkey:
- Generates a passkey for the given user.
- Returns the generated passkey.# Security Considerations
The passkeys are encrypted before storage for enhanced security.
Ensure to handle passkeys and user data securely to prevent unauthorized access.
Implement additional security measures as needed for production use.