Skip to content

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.

Notifications You must be signed in to change notification settings

joebb10/Autsec-Passkey

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

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.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages