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.

Home Page:https://autsec.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

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://autsec.io


Languages

Language:Python 100.0%