From e3b94a8415d280cf0a9744561eff30f39e4ce681 Mon Sep 17 00:00:00 2001 From: Jorijn van der Graaf Date: Tue, 1 Dec 2026 14:22:05 +0100 Subject: [PATCH] AGENTS.md, imsd: an ISIM's identity has registered on a network MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit AGENTS.md §5 said that this daemon had sent no network a REGISTER with names it read from an ISIM and no real ISIM an AUTHENTICATE, §13 that it had not sent the US card's network the card's own names, and a comment of the shell that no AKA in a real ISIM had run on this code. A reporter's journal of 2026-11-25 has imsd read that card's ISIM and register under its names on AT&T's network, without the line an application that gives no result for the challenge leaves (imsd 1.2.4 by the reporter's word; the fp6 journal's 2026-12-01-min-se-retry capture, evidence/). §13 has what the journal shows. --- AGENTS.md | 20 +++++++++++++++----- implementations/main.cpp | 3 +-- 2 files changed, 16 insertions(+), 7 deletions(-) diff --git a/AGENTS.md b/AGENTS.md index 63e58cf..0e2a42c 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -625,9 +625,10 @@ Rules: under the standing registration's names) and fresh registrations before which an ISIM that gave none at the bring-up is read again: giving its identity at the first, or none again at the first and its identity at - the second. The reads' commands ran on two reporters' cards in the - journal's probe, §13; this daemon has sent no network a REGISTER with - names it read from an ISIM, and no real ISIM an AUTHENTICATE); a + the second. On real cards: the reads' commands ran on two reporters' + cards in the journal's probe, and a reporter's journal has this daemon + read the US card's ISIM, register under its names on AT&T's network + and refresh that registration, with no `AKA:` line (§13)); a Security-Server list `PersistState` writes empty (one with a quote, a backslash or a newline — neither KPN's nor O2's list has one; the resume of such a file ran with a hand-edited empty key, @@ -3629,8 +3630,17 @@ the related code. (2026-11-09: a journal has the answer in the second the REGISTER was sent, a dump of such an answer has no Reason, Warning or Retry-After) — what TS 24.229 5.3.1.3 has an I-CSCF answer - when the HSS lookup "cannot be completed"; this daemon has not sent - that network the card's own names. + when the HSS lookup "cannot be completed". Under the card's own names + imsd registered on that network (the reporter's phone, 2026-11-25, imsd + 1.2.4 by the reporter's word; the fp6 journal's `2026-12-01-min-se-retry` + capture): the `identity:` line with the three names above; a + `Security-Server` of one `ipsec-3gpp` mechanism (`hmac-sha-1-96`, + `aes-cbc`) to the two-cipher offer; `REGISTERED (fresh)` in the second + after `FRESH registration`, and no `AKA:` line; a 200 without a + Service-Route, with a `tel:` P-Associated-URI and a `sip:` one at + `one.att.net`, and a binding of `expires=2112`; two refreshes within + the hour. Each of the five calls placed in that boot ended `INVITE + final 422`. - **A folded `WWW-Authenticate`** — the 401 to the unprotected REGISTER came with its `WWW-Authenticate` over four lines on KPN (2026-07-18) and on Odido (2026-07-13), the nonce on the second (RFC 3261 7.3.1; one diff --git a/implementations/main.cpp b/implementations/main.cpp index 605f932..455a8e9 100644 --- a/implementations/main.cpp +++ b/implementations/main.cpp @@ -2875,8 +2875,7 @@ private: // 7.1.2) and the IMS AKA context of an ISIM (TS 31.103 7.1.2), and both // answer RES, CK and IK under tag DB. // An ISIM that gives no result is not the end of the attempt: the same - // card's USIM is asked, where 1.2.2 sent every challenge — - // no AKA in a real ISIM has run on this code (AGENTS.md §5). + // card's USIM is asked, where 1.2.2 sent every challenge. std::optional Authenticate(std::span rand16, std::span autn16) { std::string what; auto result = AkaIn(reg_.aid, rand16, autn16, what);