{"library":"hades-auth","type":"library","category":null,"description":"Hades Auth is a client-side authentication library (v1.0.63) that uses elliptic-curve cryptography (ECDSA with P-384) for public/private key identity. It provides functions to generate key pairs, onboard devices, sign requests, and wrap fetch calls with signed headers. Unlike token-based auth (JWT/sessions), it never sends secrets to the server; only public keys are stored, making database leaks less catastrophic. The library is ESM-only, ships TypeScript definitions, and is actively released on npm. It is designed for browser use (uses Web Crypto API) and includes a fetch wrapper that automates request signing. The package is maintained by OracularHades.","language":"javascript","status":"active","version":"1.0.63","tags":["javascript","authentication","auth","elliptic","public key","private key","signing","oracularhades","identity","typescript"],"last_verified":"Mon Apr 27","install":[{"cmd":"npm install hades-auth","imports":["import { generate_new_credentials } from 'hades-auth'","import { sign } from 'hades-auth'","import { fetch_wrapper } from 'hades-auth'","import { onboard_new_device } from 'hades-auth'","import hadesAuth from 'hades-auth'"]},{"cmd":"yarn add hades-auth","imports":[]},{"cmd":"pnpm add hades-auth","imports":[]}],"homepage":null,"github":null,"docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/hades-auth","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}