Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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.

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.