[L-2] Docs/portal inaccuracies: MyKad validation promised but absent, mdidtest credentials advertised, wrong Alpine claims, deprecated script referenced #32

Closed
opened 2026-11-14 18:28:56 +01:00 by amiryahaya · 0 comments
Owner

Finding

README and the served dev portal promise MyKad serialNumber format validation with a specific 400 error shape — no such code exists (removed in d69c944; SubjectValidator only blacklists chars). Portal and start-docker scripts advertise mdidtest credentials the server 401s. README claims an Alpine base; the image is Debian. README still points at the deprecated start-docker.sh.

Evidence

  • README.md:96, 252, 223; lib/mdid_ws_web/controllers/page_html/dev_doc.html.heex:219, 261, 333-339, 451-458; scripts/docker-sh.sh:7

Impact

Integrators code against a validation contract that doesn't exist; onboarding credentials fail.

Fix

  • Implement the MyKad check (fits M-7) or remove the claims from README + portal
  • Fix credential examples, base-image docs, and remove the deprecated script reference

Line numbers refer to the initial import commit 282cb11. Source: comprehensive audit, 2026-11-12 (first review of this codebase).

## Finding README and the served dev portal promise MyKad serialNumber format validation with a specific 400 error shape — no such code exists (removed in d69c944; SubjectValidator only blacklists chars). Portal and start-docker scripts advertise `mdidtest` credentials the server 401s. README claims an Alpine base; the image is Debian. README still points at the deprecated start-docker.sh. ## Evidence - `README.md:96, 252, 223`; `lib/mdid_ws_web/controllers/page_html/dev_doc.html.heex:219, 261, 333-339, 451-458`; `scripts/docker-sh.sh:7` ## Impact Integrators code against a validation contract that doesn't exist; onboarding credentials fail. ## Fix - [ ] Implement the MyKad check (fits M-7) or remove the claims from README + portal - [ ] Fix credential examples, base-image docs, and remove the deprecated script reference _Line numbers refer to the initial import commit `282cb11`. Source: comprehensive audit, 2026-11-12 (first review of this codebase)._
Sign in to join this conversation.
No description provided.