🔧 AI Nachrichten Major AI platforms go down in unprecedented simultaneous outage(03.09.2026 um 17:34 Uhr)
🔧 AI Nachrichten ChatGPT, Claude, and Grok Down? Users Report Widespread Outages(03.09.2026 um 19:14 Uhr)
🔧 AI Nachrichten OpenAI Launches GPT-6 Astra, Says We May Have Entered the AGI Era(03.09.2026 um 22:08 Uhr)
🔧 AI Nachrichten Claude Comes to CarPlay as Fifth Major AI Chatbot App(05.09.2026 um 05:31 Uhr)
🔧 AI Nachrichten OpenAI’s GPT-6 Astra Is AGI, Says NVIDIA CEO Jensen Huang(07.09.2026 um 06:31 Uhr)
🔧 AI Nachrichten Blame AI companies for Mac mini and Mac Studio shortage(31.08.2026 um 10:32 Uhr)
🔧 AI Nachrichten Major AI platforms go down in unprecedented simultaneous outage(03.09.2026 um 17:34 Uhr)
🔧 AI Nachrichten ChatGPT, Claude, and Grok Down? Users Report Widespread Outages(03.09.2026 um 19:14 Uhr)
🔧 AI Nachrichten OpenAI Launches GPT-6 Astra, Says We May Have Entered the AGI Era(03.09.2026 um 22:08 Uhr)
🔧 AI Nachrichten Claude Comes to CarPlay as Fifth Major AI Chatbot App(05.09.2026 um 05:31 Uhr)
🔧 AI Nachrichten OpenAI’s GPT-6 Astra Is AGI, Says NVIDIA CEO Jensen Huang(07.09.2026 um 06:31 Uhr)
🔧 AI Nachrichten Blame AI companies for Mac mini and Mac Studio shortage(31.08.2026 um 10:32 Uhr)

🔧 Programmierung 🕛 kürzlich 2 Min Lesezeit
0

Filling the PASETO gap in JavaScript: paseto-kit (v3/v4 + full PASERK)

↗ Quelle (dev.to)
🗣️ Stimme:
📑 Inhaltsübersicht




The gap



PASETO is a "secure alternative to JWT" — no algorithm-confusion footguns, versioned

protocols, sensible defaults. On Node, the reference implementation was panva/paseto.

In March 2025 it was archived read-only. The maintained libraries that remain are v4-only

and don't implement PASERK — the companion standard for serializing, wrapping, and sealing

keys.



So there was no maintained JS library that covered both PASETO and full PASERK. That's

the gap paseto-kit fills.





What's in it





  • PASETO v4 — XChaCha20 + BLAKE2b (local), Ed25519 (public)


  • PASETO v3 — the NIST/FIPS-friendly profile: P-384 / AES-256-CTR / HMAC-SHA384


  • Full PASERK (all 11 types, per version): local/public/secret serialization,
    lid/pid/sid key IDs, local-wrap/secret-wrap, password wrapping with Argon2id (v4)
    and PBKDF2 (v3), and seal (X25519 / P-384 ECDH)


  • Registered-claims validation (exp, nbf, iss, aud, sub) with clock tolerance


  • Runtime-agnostic — one build for Node, Deno, Bun, browsers, edge. No node: imports,
    no Buffer; just Uint8Array + WebCrypto's CSPRNG, on the audited @noble/* primitives





Using it




CODE
import { generateKeyPair, sign, verify } from 'paseto-kit';

const { secretKey, publicKey } = generateKeyPair();
const token = sign(secretKey, { role: 'admin' });
const { payload } = verify(publicKey, token);



Need the NIST profile? Everything's mirrored under a v3 namespace, with distinct key types

so a v4 key can never be used on a v3 token:




CODE
import { v3 } from 'paseto-kit';
const key = v3.generateLocalKey();
v3.decrypt(key, v3.encrypt(key, { sub: 'u1' }), { validate: { exp: true } });





On correctness



Crypto libraries earn trust by being boring and verifiable. paseto-kit implements no novel

cryptography — it assembles audited primitives per spec, and it's tested against the official

PASETO and PASERK test vectors, including the expect-fail cases (e.g. non-canonical

base64url, which must be rejected to prevent token malleability).



Honest caveat: it's pre-1.0 and has not had an independent third-party security audit.

Review it before production use, and file issues — especially on the crypto.



npm: npm install paseto-kit · repo: https://github.com/Elalitareq/paseto-kit


Vollständiger Original-Bericht
Ausführliche Details, Code-Beispiele & Hersteller-Stellungnahme auf dev.to.
↗ Original-Artikel auf dev.to lesen
Wie bewertest du diesen Beitrag?
1 Klick Feedback
Teilen mit Netzwerk & Team:

Community-Analysen & Experten-Meinungen 0

Verfasse deine eigene Analyse, teile Workarounds oder diskutiere diesen Vorfall im Blog.
Noch keine Community-Analyse verfasst. Markiere einen Textabschnitt oder klicke oben auf Eigene Analyse verfassen“!
Community Pulse: Relevanz-Einschätzung
1 Klick Experten-Votum
🔴 Akute Relevanz 0%
🟡 In Evaluierung 0%
🟢 Keine Auswirkung 0%
Spannende Innovation 0%
Verwandte Story-Cluster & Quellen (Vektor-KI)
Port 8095 Engine
3 Quellen
GPT-6 Astra Release Today? OpenAI’s Next Major AI Model Is Almost Here
1 Quelle
Apple accuses OpenAI of destroying evidence as trade-secrets fight intensifies
1 Quelle
Major AI platforms go down in unprecedented simultaneous outage
Ähnliche Beiträge
🔍 Verwandte News

Auch interessante Nachrichten Filling the PASETO gap in JavaScript: paseto-kit (v3/v4 + full PASERK)

Thematisch verwandte Begriffe: Filling, PASETO, JavaScript, pasetokit · 6 Treffer

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...