Categorygithub.com/Aran404/Goauth
repository
0.0.0-20240814024829-a727419628d8
Repository: https://github.com/aran404/goauth.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author

# README

Goauth

An open source proof of concept license authentication system inspired by Keyauth. A cryptographically secure server with a pre-made SDK/client as an example.

Features (Cryptography)

  • JWT Protected Endpoints
  • Bcrypt Password Hashing
  • SHA-512 HMAC Request Signing
  • DHKE w/AES-256-GCM Encrypted Requests
  • Customizable Context Windows

Features (API)

  • / (WS: Preform DHKE)
  • /license (Encrypted: Validate License)
  • /register (Encrypted: Create Account)
  • /login (Encrypted: Returns JWT Tokens)
  • /logout (JWT: Delete JWT Token)
  • /refresh (JWT: Refresh Access Token)
  • /create-owner (Admin: Creates an OwnerID)
  • /create-application (Owner: Creates an Application)
  • /create-license (Owner: Creates a License)

API Reference

Validate a license

  POST /license
ParameterTypeDescription
integrity_signaturestringRequired. A hash of the binary
fingerprintstringRequired. A device-based fingerprint
app_idstringRequired. Application ID
owner_idstringRequired. Owner ID
license_keystringRequired. Unique License Key

License

GPL 3.0