fix(auth): jose durch pure-JS RS256-Implementierung ersetzen #164
No reviewers
Labels
No labels
app/archiv
app/einkaufslisten
app/imap-client
app/wissensbasis
arch-answered
arch-question
area/api
area/auth
area/infra
area/mobile
area/shared
area/ui
area/web
portfolio-status
prio/high
prio/low
prio/medium
roadmap/public
size/l
size/m
size/s
size/xl
size/xs
status/blocked
status/needs-info
type/bug
type/chore
type/docs
type/feature
type/idea
type/refactor
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
admin-mrrm/mrrmlabapp!164
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "162-fix-jose-crypto-subtle"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
jose(für JWT-Signaturverifikation) nutztcrypto.subtle.importKey— in React Native / Hermes nicht verfügbar → Fehler nach Login.Lösung
Die gesamte
id-token.tswurde ohne externe JWT-Bibliothek neu implementiert:RS256-Verifikation (pure JS)
modPowfür die RSA-Public-Operation:sig^e mod n@noble/hashes/sha256JWKS-Fetching
fetch(), ohnecreateRemoteJWKSetvon josekidvorhandenEntfernt
joseauspackages/auth/package.json(250 transitive Abhängigkeiten entfernt)Closes #163