René's URL Explorer Experiment


Title: B.3: end-to-end LWS10-CID auth — sign-in, ES256K JWK VM, JWT signing by melvincarvalho · Pull Request #4 · JavaScriptSolidServer/doctor · GitHub

Open Graph Title: B.3: end-to-end LWS10-CID auth — sign-in, ES256K JWK VM, JWT signing by melvincarvalho · Pull Request #4 · JavaScriptSolidServer/doctor

X Title: B.3: end-to-end LWS10-CID auth — sign-in, ES256K JWK VM, JWT signing by melvincarvalho · Pull Request #4 · JavaScriptSolidServer/doctor

Description: Closes #3. Pairs with the now-merged JSS#398 (server-side LWS10-CID JWT verifier). After this merges, the full strict-LWS10-CID round-trip works on JSS pods: doctor signs a JWT, the pod's verifier accepts it, the user is authenticated. Strategy Same secp256k1 key, two signature schemes. Nostr signs Schnorr/BIP-340; the same private key trivially signs ECDSA. ES256K (RFC8812) is a registered JWS algorithm, so signing an LWS10-CID JWT with it is fully spec-conformant — no Schnorr-as-JWS gymnastics, no ECDSA tooling install, no new key material. A user's existing nsec hex doubles as their LWS-CID auth key. What ships lib/lws-cid-client.js — derives a JsonWebKey VM (kty:EC, crv:secp256k1, alg:ES256K, x, y, kid) from a secp256k1 privkey; signs LWS10-CID JWTs locally via @noble/curves. New section in the UI: sign-in via Solid-OIDC (using the standalone solid-oidc package via esm.sh — zero deps on the doctor side, the package handles PKCE + DPoP + IndexedDB session persistence), privkey input (in-memory only, never persisted), "Add VM to profile" button (GET → merge → PUT), "Test auth" button (sign JWT → GET WebID with Authorization: Bearer → show result). Idempotent VM merge — replaces an existing VM with the same id, otherwise appends. End-to-end verified A node round-trip script signs a JWT using the exact recipe in lib/lws-cid-client.js and feeds it through the JSS verifier (src/auth/lws-cid.js). Result: accepted, returns the canonical WebID. Same @noble/curves primitives used on both sides. Privkey UX For this first cut the user pastes a hex privkey directly, held in memory for the tab. Encrypted-at-rest persistence (passkey-wrapped or password-derived) is deferred. NIP-07 doesn't expose ECDSA signing, so xlogin-style signers can't drive this path without a privkey export — that's a known limitation of the strict-LWS10-CID-with-Schnorr-keys story. Test plan JWT signed by lib/lws-cid-client.js verified by JSS's lws-cid.js verifier (cross-repo round-trip) Static asset checks (HTML/CSS/JS load, syntax) Manual: deploy preview, sign in to a JSS pod, paste privkey, PATCH succeeds, test-auth returns 200 Manual: stale signed-in WebID different from diagnosed WebID is rejected with a clear error Manual: invalid privkey shows clean error Manual: signing out clears state correctly Refs LWS10-CID FPWD RFC8812 — ES256K JWS algorithm solid-oidc package JavaScriptSolidServer/JavaScriptSolidServer#386 — overall convergence tracker (this is Phase 3a, client side) JavaScriptSolidServer/JavaScriptSolidServer#398 — server-side verifier (paired)

Open Graph Description: Closes #3. Pairs with the now-merged JSS#398 (server-side LWS10-CID JWT verifier). After this merges, the full strict-LWS10-CID round-trip works on JSS pods: doctor signs a JWT, the pod's verif...

X Description: Closes #3. Pairs with the now-merged JSS#398 (server-side LWS10-CID JWT verifier). After this merges, the full strict-LWS10-CID round-trip works on JSS pods: doctor signs a JWT, the pod's v...

Opengraph URL: https://github.com/JavaScriptSolidServer/doctor/pull/4

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.114.3

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:e0ac656f-e8ec-c515-4b92-5f0f880eaa0f
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id9276:1864C7:7CAFE6:A6073C:6B039680
html-safe-nonce85ea7059e224737b6acaf6ad5a4bd7ad8a3f53e369b7207b0f98a0f664c699e4
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5Mjc2OjE4NjRDNzo3Q0FGRTY6QTYwNzNDOjZCMDM5NjgwIiwidmlzaXRvcl9pZCI6IjE1Mzk4Nzk2MDg1OTIzNDA2MDgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacb62c431a043478ed221364acbf8dfa9b478fdaf4ee435f759396a23bd59fd01f
hovercard-subject-tagpull_request:3655012567
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/JavaScriptSolidServer/doctor/pull/4/files
twitter:imagehttps://avatars.githubusercontent.com/u/65864?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/65864?s=400&v=4
og:image:altCloses #3. Pairs with the now-merged JSS#398 (server-side LWS10-CID JWT verifier). After this merges, the full strict-LWS10-CID round-trip works on JSS pods: doctor signs a JWT, the pod's verif...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/JavaScriptSolidServer/doctor git https://github.com/JavaScriptSolidServer/doctor.git
octolytics-dimension-user_id205442424
octolytics-dimension-user_loginJavaScriptSolidServer
octolytics-dimension-repository_id1233629856
octolytics-dimension-repository_nwoJavaScriptSolidServer/doctor
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id1233629856
octolytics-dimension-repository_network_root_nwoJavaScriptSolidServer/doctor
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release423dbb54c5e7bfecc838eb387c1435eb3d0e760d
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/JavaScriptSolidServer/doctor/pull/4/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FJavaScriptSolidServer%2Fdoctor%2Fpull%2F4%2Ffiles
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FJavaScriptSolidServer%2Fdoctor%2Fpull%2F4%2Ffiles
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=JavaScriptSolidServer%2Fdoctor
Reloadhttps://github.com/JavaScriptSolidServer/doctor/pull/4/files
Reloadhttps://github.com/JavaScriptSolidServer/doctor/pull/4/files
Reloadhttps://github.com/JavaScriptSolidServer/doctor/pull/4/files
JavaScriptSolidServerhttps://github.com/JavaScriptSolidServer
doctorhttps://github.com/JavaScriptSolidServer/doctor
Codehttps://github.com/JavaScriptSolidServer/doctor
Issueshttps://github.com/JavaScriptSolidServer/doctor/issues
Pull requestshttps://github.com/JavaScriptSolidServer/doctor/pulls
Actionshttps://github.com/JavaScriptSolidServer/doctor/actions
Projectshttps://github.com/JavaScriptSolidServer/doctor/projects
Security and qualityhttps://github.com/JavaScriptSolidServer/doctor/security
Insightshttps://github.com/JavaScriptSolidServer/doctor/insights
Sign up for GitHub https://github.com/signup?return_to=%2FJavaScriptSolidServer%2Fdoctor%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2FJavaScriptSolidServer%2Fdoctor%2Fissues%2Fnew%2Fchoose
melvincarvalhohttps://github.com/melvincarvalho
gh-pageshttps://github.com/JavaScriptSolidServer/doctor/tree/gh-pages
issue-3-lws-cid-authhttps://github.com/JavaScriptSolidServer/doctor/tree/issue-3-lws-cid-auth
Conversation 35 https://github.com/JavaScriptSolidServer/doctor/pull/4
Commits 8 https://github.com/JavaScriptSolidServer/doctor/pull/4/commits
Checks 0 https://github.com/JavaScriptSolidServer/doctor/pull/4/checks
Files changed https://github.com/JavaScriptSolidServer/doctor/pull/4/files
Please reload this pagehttps://github.com/JavaScriptSolidServer/doctor/pull/4/files
B.3: end-to-end LWS10-CID auth — sign-in, ES256K JWK VM, JWT signing https://github.com/JavaScriptSolidServer/doctor/pull/4/files#top
Show all changes 8 commits https://github.com/JavaScriptSolidServer/doctor/pull/4/files
b0f2daa B.3: end-to-end LWS10-CID auth — sign-in, ES256K JWK VM, JWT signing melvincarvalho May 9, 2026 https://github.com/JavaScriptSolidServer/doctor/pull/4/commits/b0f2daad63117aa5232463d31b2c14e71e94f723
e43a4af Address copilot pass 1 on #4 melvincarvalho May 9, 2026 https://github.com/JavaScriptSolidServer/doctor/pull/4/commits/e43a4af3a789497330777214e86d00d3e3aef518
a9ba933 Address copilot pass 2 on #4 melvincarvalho May 9, 2026 https://github.com/JavaScriptSolidServer/doctor/pull/4/commits/a9ba933ff178a11404eb8d63a06c1c416415b905
c3a813d Address copilot pass 3 on #4 melvincarvalho May 9, 2026 https://github.com/JavaScriptSolidServer/doctor/pull/4/commits/c3a813daccf26bf4fa9360c3344a0bfd6166c568
614d512 Address copilot pass 4 on #4 melvincarvalho May 9, 2026 https://github.com/JavaScriptSolidServer/doctor/pull/4/commits/614d5125461b157c4d17f356c8407630b012e88c
2116c05 Address copilot pass 5 on #4 melvincarvalho May 9, 2026 https://github.com/JavaScriptSolidServer/doctor/pull/4/commits/2116c05342f5ec4f47f65907a2c161380e010bc1
9c2e001 Address copilot pass 6 on #4 melvincarvalho May 9, 2026 https://github.com/JavaScriptSolidServer/doctor/pull/4/commits/9c2e001762b305d73576c859747207c9cc137604
12e3acf Address copilot pass 7 on #4 melvincarvalho May 9, 2026 https://github.com/JavaScriptSolidServer/doctor/pull/4/commits/12e3acf06e86746eb57adbd4e795700fa7820ccc
Clear filters https://github.com/JavaScriptSolidServer/doctor/pull/4/files
Please reload this pagehttps://github.com/JavaScriptSolidServer/doctor/pull/4/files
Please reload this pagehttps://github.com/JavaScriptSolidServer/doctor/pull/4/files
README.md https://github.com/JavaScriptSolidServer/doctor/pull/4/files#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5
doctor.css https://github.com/JavaScriptSolidServer/doctor/pull/4/files#diff-2324af0c270138de4eeee188726b971be45f5a4701e5b0e3e0532c99c0d0c85f
doctor.js https://github.com/JavaScriptSolidServer/doctor/pull/4/files#diff-949a7fe916be433924a854e3770571308f2b378b187c8cc0c9da595ec5c5cbaf
index.html https://github.com/JavaScriptSolidServer/doctor/pull/4/files#diff-0eb547304658805aad788d320f10bf1f292797b5e6d745a3bf617584da017051
lws-cid-client.js https://github.com/JavaScriptSolidServer/doctor/pull/4/files#diff-620215be7f4c99c8c3a3af0ca0cf3054118f0bf5eaa9221b1d325253b5c876b8
README.mdhttps://github.com/JavaScriptSolidServer/doctor/pull/4/files#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5
View file https://github.com/JavaScriptSolidServer/doctor/blob/12e3acf06e86746eb57adbd4e795700fa7820ccc/README.md
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/JavaScriptSolidServer/doctor/pull/4/{{ revealButtonHref }}
https://github.com/JavaScriptSolidServer/doctor/pull/4/files#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5
https://github.com/JavaScriptSolidServer/doctor/pull/4/files#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5
doctor.csshttps://github.com/JavaScriptSolidServer/doctor/pull/4/files#diff-2324af0c270138de4eeee188726b971be45f5a4701e5b0e3e0532c99c0d0c85f
View file https://github.com/JavaScriptSolidServer/doctor/blob/12e3acf06e86746eb57adbd4e795700fa7820ccc/doctor.css
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/JavaScriptSolidServer/doctor/pull/4/{{ revealButtonHref }}
https://github.com/JavaScriptSolidServer/doctor/pull/4/files#diff-2324af0c270138de4eeee188726b971be45f5a4701e5b0e3e0532c99c0d0c85f
Please reload this pagehttps://github.com/JavaScriptSolidServer/doctor/pull/4/files
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Response headers:
Servergithub.com
Content-Typetext/html; charset=utf-8
Cache-Controlno-cache

Viewport: width=device-width


URLs of crawlers that visited me.