Identity and Sessions coverage
Personal-agent identity, User IDs, the Session header and delegated keys (§4.1, §5). Upstream: personalagentprotocol.org/docs/spec.
70 entries: 66 implemented, 2 partial, 2 not-applicable. Each row is one atomic statement of the upstream text, with the SDK symbols that implement it (Python; TypeScript mirrors them), the tests and shared conformance cases that show it, and its status.
| ID | Section | Level | Role | Requirement | SDK symbol | Tests | Status |
|---|---|---|---|---|---|---|---|
PAP-4.1-01 | §4.1 | MUST | personal-agent | A Personal Agent's client_id MUST be an HTTPS URL that returns its metadata document. | ClientMetadata.validate_urlsAgentIdentity.website | test_identity.py::test_fetches_metadata_and_public_jwks | implemented |
PAP-4.1-02 | §4.1 | MUST | both | client_id MUST equal the URL the document was fetched from. | AgentIdentityClient.fetch_metadata | test_identity.py::test_rejects_substituted_client_idtest_identity.py::test_client_metadata_does_not_follow_redirectssecurity.client-assertion-alg-none | implemented |
PAP-4.1-03 | §4.1 | MUST | both | jwks_uri MUST be an HTTPS URL on the same domain as client_id. Each entry of redirect_uris MUST be an HTTPS URL on the same domain as client_id, or a loopback redirect URI for an app on the User's computer, as RFC 8252 §7.3 defines. | ClientMetadatais_loopback_redirect | test_models.py::test_client_metadata_requires_same_domain_for_security_urlstest_auth.py::test_a_loopback_redirect_matches_with_any_port | implemented |
PAP-4.1-04 | §4.1 | MUST | personal-agent | The client assertion's aud MUST be the Company's issuer, as a single string. | build_client_assertion_claimsSessionClientRefreshTokenClientDeviceSignInClientDirectSignInClient | test_sessions.py::test_a_client_assertion_names_the_issuer_and_lives_at_most_five_minutestest_sessions.py::test_a_client_assertion_names_the_issuer_and_lives_one_minutetest_conformance.py::test_python_agent_python_company_over_tls | implemented |
PAP-4.1-05 | §4.1 | MUST | company | Companies MUST reject a client assertion with any other aud, compared character for character, including their token endpoint URL. | verify_assertionCompanyService._client | test_security_review.py::test_o2_a_client_assertion_names_the_issuer_onlytest_conformance.py::test_python_agent_python_company_over_tlssecurity.client-assertion-bad-audiencesecurity.client-assertion-token-endpoint-audience | implemented |
PAP-4.1-06 | §4.1 | MUST | personal-agent | Client assertions follow RFC 7523 §3. The Personal Agent MUST make them short-lived, and MUST include iat and a unique, unguessable jti. | ASSERTION_MAX_LIFETIME_SECONDSClientAssertionClaimsverify_assertion | test_sessions.py::test_a_client_assertion_names_the_issuer_and_lives_at_most_five_minutestest_security_review.py::test_o7_an_assertion_lives_at_most_five_minutes_and_names_a_long_jtitest_conformance.py::test_python_agent_python_company_over_tls | implemented |
PAP-4.1-07 | §4.1 | MUST | company | Companies MUST accept client assertions signed with ES256. | verify_session_jwt | test_blind_signing.py::test_a_company_takes_an_agent_that_signs_everything_blindly | implemented |
PAP-4.1-08 | §4.1 | SHOULD | company | Companies SHOULD accept client assertions signed with PS384. | verify_session_jwt | test_blind_signing.py::test_a_company_takes_an_agent_that_signs_everything_blindly | implemented |
PAP-5.1-01 | §5.1 | MUST | personal-agent | The Personal Agent MUST give each of its Users a User ID for each Company, using the Company's identifier (3.2). | SqlitePairwiseUserIdStorePAIRWISE_USER_ID_STORESDiscoveredCompany.identifier | test_pairwise.py::test_persists_stable_pairwise_ids_by_exact_tenant_user_and_issuertest_conformance.py::test_python_agent_python_company_over_tlstest_issuerless.py::test_user_ids_are_scoped_by_the_identifierlifecycle.parallel-sessions | implemented |
PAP-5.1-02 | §5.1 | MUST NOT | personal-agent | It MUST NOT contain or be derived from personal information, such as an email address, phone number, or name, even with a keyed hash. | generate_pairwise_user_id | test_sessions.py::test_generates_random_pairwise_identifier_without_personal_data | implemented |
PAP-5.1-03 | §5.1 | MUST NOT | personal-agent | A Personal Agent MAY instead give a User a new User ID for each anonymous browsing session ... The Personal Agent uses the ID for nothing else, discards it when the browsing session ends, and MUST NOT send an access token in a Session that uses it (5.4). | SqlitePairwiseUserIdStore | — | not-applicable: The SDK offers no anonymous browsing mode: every User ID comes from the pairwise store, one stable ID per tenant, user, and issuer, so there is no anonymous ID to refuse a sign-in with. |
PAP-5.1-04 | §5.1 | MUST NOT | personal-agent | The Agent ID follows the same rules as the User ID: it is stable, opaque, different for each Company, and MUST NOT contain or be derived from personal information. | — | test_sessions.py::test_an_agent_id_rides_in_the_session | partial: The SDK checks the Agent ID's form (an opaque URL-safe identifier); the host chooses it and owns keeping personal information out of it, as for User IDs. |
PAP-5.1-05 | §5.1 | MUST | personal-agent | The Personal Agent holds the User IDs and Agent IDs of each of its Users at every Company, and MUST keep that mapping confidential. | SqlitePairwiseUserIdStorePairwiseUserIdStore | test_pairwise.py::test_persists_stable_pairwise_ids_by_exact_tenant_user_and_issuertest_canaries.py::test_no_credential_reaches_logs_errors_urls_or_model_text | implemented |
PAP-5.1-06 | §5.1 | MUST NOT | personal-agent | it MUST NOT publish it or share it with third parties, other than service providers that process it on the Personal Agent's behalf. | SqlitePairwiseUserIdStore | test_pairwise.py::test_persists_stable_pairwise_ids_by_exact_tenant_user_and_issuer | implemented |
PAP-5.2-01 | §5.2 | MUST | personal-agent | The Personal Agent MUST send a Poppy-Session header on every request to a Company's APIs, conversations, and other resource endpoints this protocol or an extension defines. The destinations come from the Company's poppy.json. Sharing a hostname with one of these URLs doesn't make another URL a Session destination. | SessionHttpClient.requestConversationClientApiClient.call | test_transport.py::test_signed_out_requests_carry_the_session_header_alonetest_transport.py::test_session_ended_restarts_once_with_a_fresh_jwt_and_a_redirect_gets_nothingtest_conformance.py::test_python_agent_python_company_over_tlstest_conversations.py::test_start_and_continue_preserve_message_ids_and_parse_waited_eventsconversations.start-and-replysecurity.session-header-missing | implemented |
PAP-5.2-18 | §5.2 | MUST NOT | personal-agent | The Personal Agent MUST NOT send a Company's Session JWT to any other destination, except the website pages below. Discovery and description documents and OAuth endpoints don't carry this header. | SessionHttpClientDiscoveryClient | test_transport.py::test_session_ended_restarts_once_with_a_fresh_jwt_and_a_redirect_gets_nothingtest_canaries.py::test_no_credential_reaches_logs_errors_urls_or_model_texttest_published_04.py::test_documents_and_oauth_endpoints_on_the_same_host_never_carry_the_header | implemented |
PAP-5.2-19 | §5.2 | SHOULD | personal-agent | A Personal Agent that fetches a page of the Company's website with its own HTTP client, rather than a browser, SHOULD send the Session header with it, so the Company can tell which Personal Agent and Session the request is from. | PageClient.fetchpage_carries_sessionCompanyService.page_session | test_published_04.py::test_a_page_fetched_without_a_browser_carries_the_session_header_signed_outtest_published_04.py::test_only_pages_on_the_host_that_served_poppy_json_carry_the_headertest_published_04.py::test_a_redirect_gets_a_new_session_jwt_only_on_the_same_host | implemented |
PAP-5.2-20 | §5.2 | MUST NOT | personal-agent | The Personal Agent MUST NOT send an access token with these requests, so the JWT has no ath and the request is signed out (5.4), even when a browser joined to the Session is signed in. | PageClient.fetch | test_published_04.py::test_a_page_fetched_without_a_browser_carries_the_session_header_signed_outtest_published_04.py::test_the_company_answers_a_bad_page_header_with_invalid_session | implemented |
PAP-5.2-02 | §5.2 | MUST | both | typ MUST be poppy-session+jwt, so the JWT can't be mistaken for a client assertion, delegation, or any other JWT (RFC 8725 §3.11). | verify_session_jwtCompanyService._caller | test_delegated_keys.py::test_a_session_jwt_has_the_specs_header_and_claimstest_crypto.py::test_rejects_private_material_in_a_public_jwktest_security_review.py::test_a_copied_access_token_is_worth_nothing_without_the_agents_session_jwttest_conformance.py::test_python_agent_python_company_over_tlssecurity.session-jwt-wrong-typ | implemented |
PAP-5.2-03 | §5.2 | MUST | both | alg MUST be ES256, so every Personal Agent and Company can work together. | DelegatedSessionSignerverify_session_jwt | test_delegated_keys.py::test_a_session_jwt_has_the_specs_header_and_claimssecurity.session-jwt-alg-none | implemented |
PAP-5.2-04 | §5.2 | MUST | personal-agent | sid is the Session ID. The Personal Agent MUST choose it at random, so it can't be guessed | SessionSignerInMemoryDelegatedKeysSessionClient.start | test_sessions.py::test_a_session_id_is_at_least_128_random_bitstest_delegated_keys.py::test_each_user_id_has_its_own_key_and_delegationtest_draft_03.py::test_a_new_sid_starts_a_session_and_the_same_sid_continues_it | implemented |
PAP-5.2-05 | §5.2 | MUST NOT | personal-agent | and MUST NOT use it for any other Session, so Companies can't link Sessions by it. | SessionClient.start | test_sessions.py::test_a_session_starts_with_no_request_and_a_new_random_sidtest_sessions.py::test_a_new_session_replaces_an_ended_one_for_the_same_user | implemented |
PAP-5.2-06 | §5.2 | MUST | personal-agent | The Personal Agent MUST include every claim except agent_id, and ath when there's no access token. | session_jwt_claims | test_delegated_keys.py::test_a_session_jwt_has_the_specs_header_and_claims | implemented |
PAP-5.2-07 | §5.2 | MUST | personal-agent | It MUST send the same sub and agent_id, or no agent_id, in every Session JWT for a Session. | SessionClient.start | test_draft_03.py::test_a_new_sid_starts_a_session_and_the_same_sid_continues_ittest_draft_03.py::test_a_session_keeps_the_agent_id_it_started_with | implemented |
PAP-5.2-08 | §5.2 | MUST | company | alg is ES256 or PS384. Companies MUST accept delegations signed with ES256. | verify_delegation | test_blind_signing.py::test_a_company_takes_an_agent_that_signs_everything_blindlytest_delegated_keys.py::test_a_session_jwt_has_the_specs_header_and_claims | implemented |
PAP-5.2-17 | §5.2 | SHOULD | company | Companies SHOULD accept delegations signed with PS384. | verify_delegation | test_blind_signing.py::test_a_company_takes_an_agent_that_signs_everything_blindlytest_delegated_keys.py::test_a_session_jwt_has_the_specs_header_and_claims | implemented |
PAP-5.2-09 | §5.2 | MUST | both | typ MUST be poppy-delegation+jwt, so a delegation can't be used as a Session JWT. | verify_delegationJoseSigner | test_crypto.py::test_each_purpose_signs_with_its_own_typetest_conformance.py::test_python_agent_python_company_over_tlssecurity.session-jwt-delegation-wrong-typ | implemented |
PAP-5.2-10 | §5.2 | MUST NOT | both | cnf.jwk is the delegated public key, in the confirmation claim of RFC 7800. It MUST NOT contain private key members. | verify_delegationpublic_jwk | test_delegated_keys.py::test_a_delegation_with_a_private_member_is_refusedtest_crypto.py::test_rejects_private_material_in_a_public_jwk | implemented |
PAP-5.2-11 | §5.2 | MUST | both | exp MUST be at most 24 hours after iat. | verify_delegationdelegation_claims | test_delegated_keys.py::test_a_delegation_over_24_hours_or_expired_is_invalid_sessionsecurity.session-jwt-delegation-over-24-hours | implemented |
PAP-5.2-12 | §5.2 | MUST NOT | personal-agent | The Personal Agent MUST NOT put a User ID, an Agent ID, a Company's issuer, or anything else about the User or the Companies they use in a delegation. | delegation_claims | test_delegated_keys.py::test_a_delegation_names_no_user_and_no_company | implemented |
PAP-5.2-13 | §5.2 | MUST NOT | personal-agent | The Personal Agent MUST NOT sign a Session JWT after its delegation's exp. | DelegatedSessionSigner | test_delegated_keys.py::test_a_delegation_is_rotated_before_it_expires_and_never_signed_past | implemented |
PAP-5.2-14 | §5.2 | MUST | company | When verifying a Session header (5.3), the Company MUST reject, with invalid_session, a Session JWT without a delegation, including one signed directly with a key from jwks_uri, and a Session JWT whose delegation fails any of these checks. | verify_session_jwtCompanyService._caller | test_delegated_keys.py::test_a_session_jwt_signed_directly_with_a_jwks_key_is_invalid_sessiontest_delegated_keys.py::test_a_delegation_over_24_hours_or_expired_is_invalid_sessiontest_delegated_keys.py::test_a_session_jwt_has_the_specs_header_and_claimstest_security_review.py::test_a_copied_access_token_is_worth_nothing_without_the_agents_session_jwttest_conformance.py::test_python_agent_python_company_over_tlssecurity.session-jwt-signed-with-jwks-keysecurity.session-jwt-expired-delegationsecurity.session-jwt-delegation-over-24-hourssecurity.session-jwt-delegation-wrong-typsecurity.session-jwt-delegation-stranger-key | implemented |
PAP-5.2-15 | §5.2 | MUST NOT | company | So a Company MUST NOT expect a User's delegated key to stay the same between requests or Sessions, or treat a new one as a reason to reject a request. | verify_session_jwt | test_blind_signing.py::test_a_company_takes_an_agent_that_signs_everything_blindlytest_delegated_keys.py::test_a_delegation_is_rotated_before_it_expires_and_never_signed_past | implemented |
PAP-5.2-16 | §5.2 | MUST | personal-agent | The Personal Agent MUST use each delegated key, and its delegation, for one User ID only: it signs with it only that User ID's Session JWTs. | DelegatedSessionSigner | test_delegated_keys.py::test_each_user_id_has_its_own_key_and_delegationtest_fixtures.py::test_local_fixture_casesecurity.delegated-key-shared-across-user-ids | implemented |
PAP-5.3-01 | §5.3 | MUST | both | Without an access token, ath MUST be absent. | verify_session_jwtsession_jwt_claims | test_transport.py::test_signed_out_requests_carry_the_session_header_alonetest_conformance.py::test_python_agent_python_company_over_tlssecurity.session-jwt-ath-without-token | implemented |
PAP-5.3-02 | §5.3 | MUST | company | The Company MUST complete the following checks before relying on Session claims, of which the fourth: looks up the Session by client_id, sid, and User ID. An unknown combination starts a signed-out Session with the verified client_id, User ID, and optional Agent ID, and a known one continues its Session. | CompanyService._session | test_draft_03.py::test_a_known_sid_with_another_user_id_is_another_sessiontest_draft_03.py::test_a_session_keeps_the_agent_id_it_started_withsecurity.session-found-by-user-id | implemented |
PAP-5.3-03 | §5.3 | MUST | company | The Company MUST complete the following checks before relying on Session claims for client or User identity, ownership, continuity, or access to state, including creating or continuing a Session. | verify_session_jwtCompanyService._caller_headers | test_delegated_keys.py::test_a_session_jwt_has_the_specs_header_and_claimstest_security_review.py::test_a_copied_access_token_is_worth_nothing_without_the_agents_session_jwttest_conformance.py::test_python_agent_python_company_over_tlstest_security_review.py::test_finding_10_a_repeated_session_header_is_invalid_sessionsecurity.session-header-twice | implemented |
PAP-5.3-04 | §5.3 | MUST | company | The Company MUST complete these checks: the JWT's delegation and signature verify, as Delegated keys (5.2) describes, then typ and the claims. | verify_session_jwtverify_delegation | test_delegated_keys.py::test_a_session_jwt_has_the_specs_header_and_claimstest_security_review.py::test_a_copied_access_token_is_worth_nothing_without_the_agents_session_jwttest_conformance.py::test_python_agent_python_company_over_tlssecurity.session-jwt-alg-nonesecurity.session-jwt-wrong-signaturesecurity.session-jwt-wrong-kid | implemented |
PAP-5.3-05 | §5.3 | MUST | company | The Company MUST complete these checks: aud is its Company's identifier, compared character for character. | verify_session_jwt | test_conformance.py::test_python_agent_python_company_over_tlstest_conformance.py::test_python_agent_python_company_with_no_issuer_over_tlssecurity.session-jwt-other-audiencesecurity.session-jwt-token-endpoint-audienceno-issuer.session-audience | implemented |
PAP-5.3-06 | §5.3 | MUST | company | The Company MUST complete these checks: htm and htu match the request as RFC 9449 §4.3 describes for DPoP proofs. | verify_session_jwtCompanyService._caller | test_delegated_keys.py::test_a_session_jwt_has_the_specs_header_and_claimstest_security_review.py::test_a_copied_access_token_is_worth_nothing_without_the_agents_session_jwttest_conformance.py::test_python_agent_python_company_over_tlssecurity.session-jwt-method-mismatchsecurity.session-jwt-url-mismatch | implemented |
PAP-5.3-07 | §5.3 | MUST | company | The Company MUST complete these checks: iat is within an acceptance window it chooses, such as one minute. | verify_session_jwtCompanyService._caller | test_delegated_keys.py::test_a_session_jwt_has_the_specs_header_and_claimstest_security_review.py::test_a_copied_access_token_is_worth_nothing_without_the_agents_session_jwttest_conformance.py::test_python_agent_python_company_over_tlssecurity.session-jwt-stalesecurity.session-jwt-from-the-future | implemented |
PAP-5.3-08 | §5.3 | MUST | company | The Company MUST complete these checks: if the request carries an access token, ath matches it, and the token was issued to the same client_id as iss. | verify_session_jwtCompanyService._caller | test_delegated_keys.py::test_a_session_jwt_has_the_specs_header_and_claimstest_security_review.py::test_a_copied_access_token_is_worth_nothing_without_the_agents_session_jwttest_conformance.py::test_python_agent_python_company_over_tlssecurity.session-jwt-ath-mismatchsecurity.session-jwt-ath-missingsecurity.access-token-of-another-agent | implemented |
PAP-5.3-09 | §5.3 | MUST | company | The Company MUST reject a request without the Session header when handling it depends on Session claims. | CompanyService._callerCompanyService._tokenCompanyService._mcp_caller | test_draft_03.py::test_an_access_token_without_the_session_header_is_invalid_sessiontest_conformance.py::test_python_agent_python_company_over_tlstest_mcp_and_web.py::test_an_mcp_token_is_refused_everywhere_but_its_mcp_serverlifecycle.mcp-token-only-at-mcpsecurity.session-header-missing | implemented |
PAP-5.3-10 | §5.3 | SHOULD | company | Companies SHOULD verify the Session header on every request that carries it. | CompanyService._caller | test_conformance.py::test_python_agent_python_company_over_tls | implemented |
PAP-5.3-11 | §5.3 | MUST NOT | company | The Company MUST NOT use unverified Session claims to attribute a request to a Personal Agent, User, or Session, or to look up their state. | CompanyService._caller | test_conformance.py::test_python_agent_python_company_over_tls | implemented |
PAP-5.3-12 | §5.3 | SHOULD | personal-agent | A Personal Agent SHOULD also sign requests carrying the Session header with an HTTP Message Signature (RFC 9421), using Web Bot Auth, so traffic-management infrastructure can authenticate the operator before the request reaches the Company's application. | session_headersWebBotAuthSignerverify_operator_signatureCompanyService._operator_signature | test_conformance.py::test_python_agent_python_company_with_operator_signatures_over_tlstest_operator_signatures.py::test_every_attempt_is_signed_anew_and_covers_the_session_jwt_it_carries | implemented |
PAP-5.3-13 | §5.3 | MUST | personal-agent | The Personal Agent's operator signature MUST cover poppy-session, and authorization when present, so it binds to the Session JWT and access token. | sign_operator_requestverify_operator_signature | test_conformance.py::test_python_agent_python_company_with_operator_signatures_over_tlstest_operator_signatures.py::test_a_request_with_a_token_needs_it_covered_but_one_without_does_not | implemented |
PAP-5.3-14 | §5.3 | MUST | company | Before trusting any Session claim, the Company MUST verify the Session JWT independently (5.3), whatever an operator signature says. | CompanyService._caller | test_conformance.py::test_python_agent_python_company_over_tlstest_conformance.py::test_python_agent_python_company_with_operator_signatures_over_tls | implemented |
PAP-5.4-01 | §5.4 | MUST NOT | personal-agent | The Personal Agent MUST NOT send an access token in a Session that uses an anonymous browsing User ID (5.1). | — | — | not-applicable: The SDK offers no anonymous browsing User IDs (5.1). |
PAP-5.4-02 | §5.4 | SHOULD | personal-agent | A Personal Agent SHOULD start a new Session rather than use a second account in one Session, so accounts don't get mixed up across Sessions. | SessionClient.start | test_company_rules.py::test_a_signed_out_session_can_use_another_accounts_token | partial: Which Session carries which account is the host's: the SDK starts a Session when asked, and sends the token it is given. |
PAP-5.4-03 | §5.4 | MUST | personal-agent | A Personal Agent MUST use Direct or Device Sign-In only when the User signs in themselves. | DirectSignInClient.beginDeviceSignInClient.begin | test_direct_and_api.py::test_signed_out_then_direct_sign_in_then_a_read_and_a_proposed_exchangetest_device.py::test_device_sign_in_paces_polling_and_protects_tokens | implemented |
PAP-5.5-01 | §5.5 | MUST | personal-agent | A request for a remembered ended Session gets session_ended (HTTP 400, JSON body), and the Personal Agent MUST then start a new Session with a new sid and send the request again in it. | SessionClient.startsession_endedSessionHttpClient.requestCompanyService.end_session | test_delegated_keys.py::test_the_company_remembers_an_ended_sid_and_the_agent_starts_again_oncetest_sessions.py::test_a_new_session_replaces_an_ended_one_for_the_same_usertest_accounts.py::test_invalid_grant_forgets_the_token_and_the_sessions_go_on_signed_outtest_draft_03.py::test_an_ended_sessions_sid_is_refused_not_a_new_session | implemented |
PAP-5.5-02 | §5.5 | SHOULD NOT | personal-agent | The Personal Agent SHOULD NOT sign in to that account again unless the User asks. | disconnectRefreshTokenClient.revoke | test_accounts.py::test_revocation_forgets_the_token_once_the_company_answerstest_accounts.py::test_invalid_grant_forgets_the_token_and_the_sessions_go_on_signed_out | implemented |
PAP-5.6-01 | §5.6 | MUST | company | Companies MUST accept the Session header and access token without requiring cookies. | CompanyService._caller | test_conformance.py::test_python_agent_python_company_over_tlssecurity.authorization-header-without-cookies | implemented |
PAP-5.6-02 | §5.6 | MUST NOT | personal-agent | Personal Agents MUST NOT leave out the Session header to appear to the Company as a person on their own. | SessionHttpClient.request | test_conversations.py::test_start_and_continue_preserve_message_ids_and_parse_waited_events | implemented |
PAP-5.6-03 | §5.6 | MUST NOT | personal-agent | Personal Agents MUST NOT send tokens or Session JWTs in a URL, and Companies MUST NOT accept them from one. | SessionHttpClient.requestConversationClient._query | test_transport.py::test_session_ended_restarts_once_with_a_fresh_jwt_and_a_redirect_gets_nothingtest_conformance.py::test_python_agent_python_company_over_tlssecurity.token-in-url-refused | implemented |
PAP-5.6-04 | §5.6 | MUST NOT | company | Personal Agents MUST NOT send tokens or Session JWTs in a URL, and Companies MUST NOT accept them from one. | CompanyService._caller | test_conformance.py::test_python_agent_python_company_over_tlssecurity.token-in-url-refused | implemented |
PAP-5.6-05 | §5.6 | MUST | personal-agent | A Company that limits how often a Personal Agent can make requests returns HTTP 429 with a Retry-After header when a request goes over the limit, on any of its endpoints, APIs, conversations, or website. The Personal Agent MUST wait at least that long before sending the request again. | ApiClient.callConversationClient._rejectedSessionClient.token_request | test_mediated.py::test_rate_limited_is_reported_with_retry_after_and_no_credentialtest_fixtures.py::test_local_fixture_caselifecycle.rate-limit-retry-after | implemented |
PAP10-4.1-01 | §4.1 (1.0) | MUST | personal-agent | Client assertions follow RFC 7523 §3. The Personal Agent MUST include iat and a unique, unguessable jti, and MUST set exp at most 5 minutes after iat. | build_client_assertion_claims | test_published_10.py::test_an_assertion_lasts_at_most_five_minutes_and_one_that_does_is_accepted | implemented |
PAP10-4.1-02 | §4.1 (1.0) | MUST NOT | company | A Company MAY reject a client assertion that lasts longer than 5 minutes, and MUST NOT reject one for lasting 5 minutes or less. | verify_assertion | test_published_10.py::test_an_assertion_lasts_at_most_five_minutes_and_one_that_does_is_accepted | implemented |
PAP10-4.1-03 | §4.1 (1.0) | MUST | company | Companies MUST accept client assertions signed with ES256 and with PS384. | verify_assertionRSA_KEY_BITS | test_published_10.py::test_companies_accept_ps384_assertions_and_delegationstest_published_10.py::test_an_rsa_key_outside_2048_to_4096_bits_is_refusedtest_blind_signing.py::test_a_company_takes_an_agent_that_signs_everything_blindly | implemented |
PAP10-5.2-01 | §5.2 (1.0) | MUST | company | alg is ES256 or PS384. Companies MUST accept delegations signed with ES256 and with PS384. | verify_delegation | test_published_10.py::test_companies_accept_ps384_assertions_and_delegations | implemented |
PAP11-5.1-01 | §5.1 (1.1) | MUST NOT | personal-agent | It MAY also replace an ID on its own once 28 days have passed since it last used a Session with it, but MUST NOT while it holds a refresh token for the User at the Company, however long the ID has gone unused. | may_replace_unusedreplace_user_idSqlitePairwiseUserIdStore.last_used | test_draft_11.py::test_an_unused_id_ages_out_after_28_days_and_never_with_a_refresh_tokentest_draft_11.py::test_what_stops_a_replacement_leaves_the_old_id_in_place | implemented |
PAP11-5.1-02 | §5.1 (1.1) | MUST NOT | personal-agent | Apart from anonymous browsing (below) and a change of the Company's identifier (3.2), it MUST NOT replace User IDs in other cases, so a Company can count its Users and limit each one (5.6). | replace_user_id | test_draft_11.py::test_what_stops_a_replacement_leaves_the_old_id_in_place | implemented |
PAP11-5.1-03 | §5.1 (1.1) | MUST | personal-agent | The Personal Agent replaces an ID between tasks, when no Session uses it. If it holds a refresh token for the User at the Company, it MUST first sign out (5.5), because the account would link the old ID and the new one. | replace_user_idUserIdData | test_draft_11.py::test_replacing_a_user_id_signs_out_first_and_discards_what_the_old_one_heldtest_draft_11.py::test_what_stops_a_replacement_leaves_the_old_id_in_place | implemented |
PAP11-5.1-04 | §5.1 (1.1) | MUST NOT | personal-agent | It MUST NOT send the Company anything it used or received under the old ID, so nothing it sends links the two. | replace_user_idUserIdData | test_draft_11.py::test_replacing_a_user_id_signs_out_first_and_discards_what_the_old_one_held | implemented |
PAP11-5.1-05 | §5.1 (1.1) | MUST | personal-agent | It MUST discard the old ID's identifiers and keys: the User's Agent IDs, sids, DPoP keys (4.5), delegated keys (5.2), its browser's cookies and other site data for the Company (section 6), and the IDs the Company gave it, such as conversation_ids. | replace_user_idUserIdDataSqlitePairwiseUserIdStore.replaceDerivedPairwiseUserIds.replace | test_draft_11.py::test_replacing_a_user_id_signs_out_first_and_discards_what_the_old_one_heldtest_draft_11.py::test_the_store_replaces_one_users_id_and_remembers_when_it_was_usedtest_draft_11.py::test_a_keyed_hash_replaces_one_users_id_with_a_counter | implemented |
PAP11-5.1-06 | §5.1 (1.1) | MUST NOT | company | The Company sees a new User, and MUST NOT expect a User or account to keep one User ID. | CompanyService | test_draft_11.py::test_a_company_limits_new_user_ids_by_client_id_and_links_none_to_an_account | implemented |
PAP11-5.3-01 | §5.3 (1.1) | SHOULD | personal-agent | A Personal Agent SHOULD also sign requests carrying the Session header, and its requests to the Company's pushed authorization request, token, device authorization, and revocation endpoints (3.2), with an HTTP Message Signature (RFC 9421), using Web Bot Auth. | sign_oauth_requestSessionClient.token_requestDirectSignInClient.beginDeviceSignInClient.beginRefreshTokenClient.revoke | test_draft_11.py::test_the_agent_signs_its_requests_to_the_four_oauth_endpointsoperator.oauth-signed-vector | implemented |
PAP11-5.3-02 | §5.3 (1.1) | MUST | personal-agent | A request to one of those OAuth endpoints carries neither, so its operator signature MUST cover content-digest (RFC 9530), which binds it to the client assertion in the body. | content_digestsign_operator_requestverify_operator_signatureOperatorSignatureRequest | test_draft_11.py::test_an_operator_signature_covers_the_session_header_or_the_content_digesttest_draft_11.py::test_a_signature_over_the_content_digest_binds_the_bodytest_draft_11.py::test_the_agent_signs_its_requests_to_the_four_oauth_endpointsoperator.oauth-signed-vector | implemented |
Conformance case IDs name protocol/fixtures/conformance cases; see the conformance report for their outcome in every language pairing.