fix(auth): jose durch pure-JS RS256-Implementierung ersetzen #163

Closed
opened 2026-05-02 21:21:15 +02:00 by admin-mrrm · 0 comments
Owner

Problem

jose nutzt crypto.subtle.importKey für JWT-Signaturverifikation. In React Native/Hermes ist crypto.subtle nicht verfügbar → Fehler beim Login.

Fix

  • jose komplett entfernen
  • RS256-Verifikation via BigInt modPow + @noble/hashes/sha256
  • JWKS selbst fetchen + cachen
## Problem `jose` nutzt `crypto.subtle.importKey` für JWT-Signaturverifikation. In React Native/Hermes ist `crypto.subtle` nicht verfügbar → Fehler beim Login. ## Fix - `jose` komplett entfernen - RS256-Verifikation via BigInt modPow + `@noble/hashes/sha256` - JWKS selbst fetchen + cachen
Sign in to join this conversation.
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
admin-mrrm/mrrmlabapp#163
No description provided.