Skip to main content

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.

IDSectionLevelRoleRequirementSDK symbolTestsStatus
PAP-4.1-01§4.1MUSTpersonal-agentA Personal Agent's client_id MUST be an HTTPS URL that returns its metadata document.ClientMetadata.validate_urls
AgentIdentity.website
test_identity.py::test_fetches_metadata_and_public_jwksimplemented
PAP-4.1-02§4.1MUSTbothclient_id MUST equal the URL the document was fetched from.AgentIdentityClient.fetch_metadatatest_identity.py::test_rejects_substituted_client_id
test_identity.py::test_client_metadata_does_not_follow_redirects
security.client-assertion-alg-none
implemented
PAP-4.1-03§4.1MUSTbothjwks_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.ClientMetadata
is_loopback_redirect
test_models.py::test_client_metadata_requires_same_domain_for_security_urls
test_auth.py::test_a_loopback_redirect_matches_with_any_port
implemented
PAP-4.1-04§4.1MUSTpersonal-agentThe client assertion's aud MUST be the Company's issuer, as a single string.build_client_assertion_claims
SessionClient
RefreshTokenClient
DeviceSignInClient
DirectSignInClient
test_sessions.py::test_a_client_assertion_names_the_issuer_and_lives_at_most_five_minutes
test_sessions.py::test_a_client_assertion_names_the_issuer_and_lives_one_minute
test_conformance.py::test_python_agent_python_company_over_tls
implemented
PAP-4.1-05§4.1MUSTcompanyCompanies MUST reject a client assertion with any other aud, compared character for character, including their token endpoint URL.verify_assertion
CompanyService._client
test_security_review.py::test_o2_a_client_assertion_names_the_issuer_only
test_conformance.py::test_python_agent_python_company_over_tls
security.client-assertion-bad-audience
security.client-assertion-token-endpoint-audience
implemented
PAP-4.1-06§4.1MUSTpersonal-agentClient 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_SECONDS
ClientAssertionClaims
verify_assertion
test_sessions.py::test_a_client_assertion_names_the_issuer_and_lives_at_most_five_minutes
test_security_review.py::test_o7_an_assertion_lives_at_most_five_minutes_and_names_a_long_jti
test_conformance.py::test_python_agent_python_company_over_tls
implemented
PAP-4.1-07§4.1MUSTcompanyCompanies MUST accept client assertions signed with ES256.verify_session_jwttest_blind_signing.py::test_a_company_takes_an_agent_that_signs_everything_blindlyimplemented
PAP-4.1-08§4.1SHOULDcompanyCompanies SHOULD accept client assertions signed with PS384.verify_session_jwttest_blind_signing.py::test_a_company_takes_an_agent_that_signs_everything_blindlyimplemented
PAP-5.1-01§5.1MUSTpersonal-agentThe Personal Agent MUST give each of its Users a User ID for each Company, using the Company's identifier (3.2).SqlitePairwiseUserIdStore
PAIRWISE_USER_ID_STORES
DiscoveredCompany.identifier
test_pairwise.py::test_persists_stable_pairwise_ids_by_exact_tenant_user_and_issuer
test_conformance.py::test_python_agent_python_company_over_tls
test_issuerless.py::test_user_ids_are_scoped_by_the_identifier
lifecycle.parallel-sessions
implemented
PAP-5.1-02§5.1MUST NOTpersonal-agentIt 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_idtest_sessions.py::test_generates_random_pairwise_identifier_without_personal_dataimplemented
PAP-5.1-03§5.1MUST NOTpersonal-agentA 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.1MUST NOTpersonal-agentThe 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_sessionpartial: 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.1MUSTpersonal-agentThe Personal Agent holds the User IDs and Agent IDs of each of its Users at every Company, and MUST keep that mapping confidential.SqlitePairwiseUserIdStore
PairwiseUserIdStore
test_pairwise.py::test_persists_stable_pairwise_ids_by_exact_tenant_user_and_issuer
test_canaries.py::test_no_credential_reaches_logs_errors_urls_or_model_text
implemented
PAP-5.1-06§5.1MUST NOTpersonal-agentit MUST NOT publish it or share it with third parties, other than service providers that process it on the Personal Agent's behalf.SqlitePairwiseUserIdStoretest_pairwise.py::test_persists_stable_pairwise_ids_by_exact_tenant_user_and_issuerimplemented
PAP-5.2-01§5.2MUSTpersonal-agentThe 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.request
ConversationClient
ApiClient.call
test_transport.py::test_signed_out_requests_carry_the_session_header_alone
test_transport.py::test_session_ended_restarts_once_with_a_fresh_jwt_and_a_redirect_gets_nothing
test_conformance.py::test_python_agent_python_company_over_tls
test_conversations.py::test_start_and_continue_preserve_message_ids_and_parse_waited_events
conversations.start-and-reply
security.session-header-missing
implemented
PAP-5.2-18§5.2MUST NOTpersonal-agentThe 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.SessionHttpClient
DiscoveryClient
test_transport.py::test_session_ended_restarts_once_with_a_fresh_jwt_and_a_redirect_gets_nothing
test_canaries.py::test_no_credential_reaches_logs_errors_urls_or_model_text
test_published_04.py::test_documents_and_oauth_endpoints_on_the_same_host_never_carry_the_header
implemented
PAP-5.2-19§5.2SHOULDpersonal-agentA 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.fetch
page_carries_session
CompanyService.page_session
test_published_04.py::test_a_page_fetched_without_a_browser_carries_the_session_header_signed_out
test_published_04.py::test_only_pages_on_the_host_that_served_poppy_json_carry_the_header
test_published_04.py::test_a_redirect_gets_a_new_session_jwt_only_on_the_same_host
implemented
PAP-5.2-20§5.2MUST NOTpersonal-agentThe 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.fetchtest_published_04.py::test_a_page_fetched_without_a_browser_carries_the_session_header_signed_out
test_published_04.py::test_the_company_answers_a_bad_page_header_with_invalid_session
implemented
PAP-5.2-02§5.2MUSTbothtyp 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_jwt
CompanyService._caller
test_delegated_keys.py::test_a_session_jwt_has_the_specs_header_and_claims
test_crypto.py::test_rejects_private_material_in_a_public_jwk
test_security_review.py::test_a_copied_access_token_is_worth_nothing_without_the_agents_session_jwt
test_conformance.py::test_python_agent_python_company_over_tls
security.session-jwt-wrong-typ
implemented
PAP-5.2-03§5.2MUSTbothalg MUST be ES256, so every Personal Agent and Company can work together.DelegatedSessionSigner
verify_session_jwt
test_delegated_keys.py::test_a_session_jwt_has_the_specs_header_and_claims
security.session-jwt-alg-none
implemented
PAP-5.2-04§5.2MUSTpersonal-agentsid is the Session ID. The Personal Agent MUST choose it at random, so it can't be guessedSessionSigner
InMemoryDelegatedKeys
SessionClient.start
test_sessions.py::test_a_session_id_is_at_least_128_random_bits
test_delegated_keys.py::test_each_user_id_has_its_own_key_and_delegation
test_draft_03.py::test_a_new_sid_starts_a_session_and_the_same_sid_continues_it
implemented
PAP-5.2-05§5.2MUST NOTpersonal-agentand MUST NOT use it for any other Session, so Companies can't link Sessions by it.SessionClient.starttest_sessions.py::test_a_session_starts_with_no_request_and_a_new_random_sid
test_sessions.py::test_a_new_session_replaces_an_ended_one_for_the_same_user
implemented
PAP-5.2-06§5.2MUSTpersonal-agentThe Personal Agent MUST include every claim except agent_id, and ath when there's no access token.session_jwt_claimstest_delegated_keys.py::test_a_session_jwt_has_the_specs_header_and_claimsimplemented
PAP-5.2-07§5.2MUSTpersonal-agentIt MUST send the same sub and agent_id, or no agent_id, in every Session JWT for a Session.SessionClient.starttest_draft_03.py::test_a_new_sid_starts_a_session_and_the_same_sid_continues_it
test_draft_03.py::test_a_session_keeps_the_agent_id_it_started_with
implemented
PAP-5.2-08§5.2MUSTcompanyalg is ES256 or PS384. Companies MUST accept delegations signed with ES256.verify_delegationtest_blind_signing.py::test_a_company_takes_an_agent_that_signs_everything_blindly
test_delegated_keys.py::test_a_session_jwt_has_the_specs_header_and_claims
implemented
PAP-5.2-17§5.2SHOULDcompanyCompanies SHOULD accept delegations signed with PS384.verify_delegationtest_blind_signing.py::test_a_company_takes_an_agent_that_signs_everything_blindly
test_delegated_keys.py::test_a_session_jwt_has_the_specs_header_and_claims
implemented
PAP-5.2-09§5.2MUSTbothtyp MUST be poppy-delegation+jwt, so a delegation can't be used as a Session JWT.verify_delegation
JoseSigner
test_crypto.py::test_each_purpose_signs_with_its_own_type
test_conformance.py::test_python_agent_python_company_over_tls
security.session-jwt-delegation-wrong-typ
implemented
PAP-5.2-10§5.2MUST NOTbothcnf.jwk is the delegated public key, in the confirmation claim of RFC 7800. It MUST NOT contain private key members.verify_delegation
public_jwk
test_delegated_keys.py::test_a_delegation_with_a_private_member_is_refused
test_crypto.py::test_rejects_private_material_in_a_public_jwk
implemented
PAP-5.2-11§5.2MUSTbothexp MUST be at most 24 hours after iat.verify_delegation
delegation_claims
test_delegated_keys.py::test_a_delegation_over_24_hours_or_expired_is_invalid_session
security.session-jwt-delegation-over-24-hours
implemented
PAP-5.2-12§5.2MUST NOTpersonal-agentThe 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_claimstest_delegated_keys.py::test_a_delegation_names_no_user_and_no_companyimplemented
PAP-5.2-13§5.2MUST NOTpersonal-agentThe Personal Agent MUST NOT sign a Session JWT after its delegation's exp.DelegatedSessionSignertest_delegated_keys.py::test_a_delegation_is_rotated_before_it_expires_and_never_signed_pastimplemented
PAP-5.2-14§5.2MUSTcompanyWhen 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_jwt
CompanyService._caller
test_delegated_keys.py::test_a_session_jwt_signed_directly_with_a_jwks_key_is_invalid_session
test_delegated_keys.py::test_a_delegation_over_24_hours_or_expired_is_invalid_session
test_delegated_keys.py::test_a_session_jwt_has_the_specs_header_and_claims
test_security_review.py::test_a_copied_access_token_is_worth_nothing_without_the_agents_session_jwt
test_conformance.py::test_python_agent_python_company_over_tls
security.session-jwt-signed-with-jwks-key
security.session-jwt-expired-delegation
security.session-jwt-delegation-over-24-hours
security.session-jwt-delegation-wrong-typ
security.session-jwt-delegation-stranger-key
implemented
PAP-5.2-15§5.2MUST NOTcompanySo 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_jwttest_blind_signing.py::test_a_company_takes_an_agent_that_signs_everything_blindly
test_delegated_keys.py::test_a_delegation_is_rotated_before_it_expires_and_never_signed_past
implemented
PAP-5.2-16§5.2MUSTpersonal-agentThe 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.DelegatedSessionSignertest_delegated_keys.py::test_each_user_id_has_its_own_key_and_delegation
test_fixtures.py::test_local_fixture_case
security.delegated-key-shared-across-user-ids
implemented
PAP-5.3-01§5.3MUSTbothWithout an access token, ath MUST be absent.verify_session_jwt
session_jwt_claims
test_transport.py::test_signed_out_requests_carry_the_session_header_alone
test_conformance.py::test_python_agent_python_company_over_tls
security.session-jwt-ath-without-token
implemented
PAP-5.3-02§5.3MUSTcompanyThe 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._sessiontest_draft_03.py::test_a_known_sid_with_another_user_id_is_another_session
test_draft_03.py::test_a_session_keeps_the_agent_id_it_started_with
security.session-found-by-user-id
implemented
PAP-5.3-03§5.3MUSTcompanyThe 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_jwt
CompanyService._caller
_headers
test_delegated_keys.py::test_a_session_jwt_has_the_specs_header_and_claims
test_security_review.py::test_a_copied_access_token_is_worth_nothing_without_the_agents_session_jwt
test_conformance.py::test_python_agent_python_company_over_tls
test_security_review.py::test_finding_10_a_repeated_session_header_is_invalid_session
security.session-header-twice
implemented
PAP-5.3-04§5.3MUSTcompanyThe 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_jwt
verify_delegation
test_delegated_keys.py::test_a_session_jwt_has_the_specs_header_and_claims
test_security_review.py::test_a_copied_access_token_is_worth_nothing_without_the_agents_session_jwt
test_conformance.py::test_python_agent_python_company_over_tls
security.session-jwt-alg-none
security.session-jwt-wrong-signature
security.session-jwt-wrong-kid
implemented
PAP-5.3-05§5.3MUSTcompanyThe Company MUST complete these checks: aud is its Company's identifier, compared character for character.verify_session_jwttest_conformance.py::test_python_agent_python_company_over_tls
test_conformance.py::test_python_agent_python_company_with_no_issuer_over_tls
security.session-jwt-other-audience
security.session-jwt-token-endpoint-audience
no-issuer.session-audience
implemented
PAP-5.3-06§5.3MUSTcompanyThe Company MUST complete these checks: htm and htu match the request as RFC 9449 §4.3 describes for DPoP proofs.verify_session_jwt
CompanyService._caller
test_delegated_keys.py::test_a_session_jwt_has_the_specs_header_and_claims
test_security_review.py::test_a_copied_access_token_is_worth_nothing_without_the_agents_session_jwt
test_conformance.py::test_python_agent_python_company_over_tls
security.session-jwt-method-mismatch
security.session-jwt-url-mismatch
implemented
PAP-5.3-07§5.3MUSTcompanyThe Company MUST complete these checks: iat is within an acceptance window it chooses, such as one minute.verify_session_jwt
CompanyService._caller
test_delegated_keys.py::test_a_session_jwt_has_the_specs_header_and_claims
test_security_review.py::test_a_copied_access_token_is_worth_nothing_without_the_agents_session_jwt
test_conformance.py::test_python_agent_python_company_over_tls
security.session-jwt-stale
security.session-jwt-from-the-future
implemented
PAP-5.3-08§5.3MUSTcompanyThe 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_jwt
CompanyService._caller
test_delegated_keys.py::test_a_session_jwt_has_the_specs_header_and_claims
test_security_review.py::test_a_copied_access_token_is_worth_nothing_without_the_agents_session_jwt
test_conformance.py::test_python_agent_python_company_over_tls
security.session-jwt-ath-mismatch
security.session-jwt-ath-missing
security.access-token-of-another-agent
implemented
PAP-5.3-09§5.3MUSTcompanyThe Company MUST reject a request without the Session header when handling it depends on Session claims.CompanyService._caller
CompanyService._token
CompanyService._mcp_caller
test_draft_03.py::test_an_access_token_without_the_session_header_is_invalid_session
test_conformance.py::test_python_agent_python_company_over_tls
test_mcp_and_web.py::test_an_mcp_token_is_refused_everywhere_but_its_mcp_server
lifecycle.mcp-token-only-at-mcp
security.session-header-missing
implemented
PAP-5.3-10§5.3SHOULDcompanyCompanies SHOULD verify the Session header on every request that carries it.CompanyService._callertest_conformance.py::test_python_agent_python_company_over_tlsimplemented
PAP-5.3-11§5.3MUST NOTcompanyThe 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._callertest_conformance.py::test_python_agent_python_company_over_tlsimplemented
PAP-5.3-12§5.3SHOULDpersonal-agentA 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_headers
WebBotAuthSigner
verify_operator_signature
CompanyService._operator_signature
test_conformance.py::test_python_agent_python_company_with_operator_signatures_over_tls
test_operator_signatures.py::test_every_attempt_is_signed_anew_and_covers_the_session_jwt_it_carries
implemented
PAP-5.3-13§5.3MUSTpersonal-agentThe 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_request
verify_operator_signature
test_conformance.py::test_python_agent_python_company_with_operator_signatures_over_tls
test_operator_signatures.py::test_a_request_with_a_token_needs_it_covered_but_one_without_does_not
implemented
PAP-5.3-14§5.3MUSTcompanyBefore trusting any Session claim, the Company MUST verify the Session JWT independently (5.3), whatever an operator signature says.CompanyService._callertest_conformance.py::test_python_agent_python_company_over_tls
test_conformance.py::test_python_agent_python_company_with_operator_signatures_over_tls
implemented
PAP-5.4-01§5.4MUST NOTpersonal-agentThe 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.4SHOULDpersonal-agentA 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.starttest_company_rules.py::test_a_signed_out_session_can_use_another_accounts_tokenpartial: 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.4MUSTpersonal-agentA Personal Agent MUST use Direct or Device Sign-In only when the User signs in themselves.DirectSignInClient.begin
DeviceSignInClient.begin
test_direct_and_api.py::test_signed_out_then_direct_sign_in_then_a_read_and_a_proposed_exchange
test_device.py::test_device_sign_in_paces_polling_and_protects_tokens
implemented
PAP-5.5-01§5.5MUSTpersonal-agentA 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.start
session_ended
SessionHttpClient.request
CompanyService.end_session
test_delegated_keys.py::test_the_company_remembers_an_ended_sid_and_the_agent_starts_again_once
test_sessions.py::test_a_new_session_replaces_an_ended_one_for_the_same_user
test_accounts.py::test_invalid_grant_forgets_the_token_and_the_sessions_go_on_signed_out
test_draft_03.py::test_an_ended_sessions_sid_is_refused_not_a_new_session
implemented
PAP-5.5-02§5.5SHOULD NOTpersonal-agentThe Personal Agent SHOULD NOT sign in to that account again unless the User asks.disconnect
RefreshTokenClient.revoke
test_accounts.py::test_revocation_forgets_the_token_once_the_company_answers
test_accounts.py::test_invalid_grant_forgets_the_token_and_the_sessions_go_on_signed_out
implemented
PAP-5.6-01§5.6MUSTcompanyCompanies MUST accept the Session header and access token without requiring cookies.CompanyService._callertest_conformance.py::test_python_agent_python_company_over_tls
security.authorization-header-without-cookies
implemented
PAP-5.6-02§5.6MUST NOTpersonal-agentPersonal Agents MUST NOT leave out the Session header to appear to the Company as a person on their own.SessionHttpClient.requesttest_conversations.py::test_start_and_continue_preserve_message_ids_and_parse_waited_eventsimplemented
PAP-5.6-03§5.6MUST NOTpersonal-agentPersonal Agents MUST NOT send tokens or Session JWTs in a URL, and Companies MUST NOT accept them from one.SessionHttpClient.request
ConversationClient._query
test_transport.py::test_session_ended_restarts_once_with_a_fresh_jwt_and_a_redirect_gets_nothing
test_conformance.py::test_python_agent_python_company_over_tls
security.token-in-url-refused
implemented
PAP-5.6-04§5.6MUST NOTcompanyPersonal Agents MUST NOT send tokens or Session JWTs in a URL, and Companies MUST NOT accept them from one.CompanyService._callertest_conformance.py::test_python_agent_python_company_over_tls
security.token-in-url-refused
implemented
PAP-5.6-05§5.6MUSTpersonal-agentA 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.call
ConversationClient._rejected
SessionClient.token_request
test_mediated.py::test_rate_limited_is_reported_with_retry_after_and_no_credential
test_fixtures.py::test_local_fixture_case
lifecycle.rate-limit-retry-after
implemented
PAP10-4.1-01§4.1 (1.0)MUSTpersonal-agentClient 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_claimstest_published_10.py::test_an_assertion_lasts_at_most_five_minutes_and_one_that_does_is_acceptedimplemented
PAP10-4.1-02§4.1 (1.0)MUST NOTcompanyA Company MAY reject a client assertion that lasts longer than 5 minutes, and MUST NOT reject one for lasting 5 minutes or less.verify_assertiontest_published_10.py::test_an_assertion_lasts_at_most_five_minutes_and_one_that_does_is_acceptedimplemented
PAP10-4.1-03§4.1 (1.0)MUSTcompanyCompanies MUST accept client assertions signed with ES256 and with PS384.verify_assertion
RSA_KEY_BITS
test_published_10.py::test_companies_accept_ps384_assertions_and_delegations
test_published_10.py::test_an_rsa_key_outside_2048_to_4096_bits_is_refused
test_blind_signing.py::test_a_company_takes_an_agent_that_signs_everything_blindly
implemented
PAP10-5.2-01§5.2 (1.0)MUSTcompanyalg is ES256 or PS384. Companies MUST accept delegations signed with ES256 and with PS384.verify_delegationtest_published_10.py::test_companies_accept_ps384_assertions_and_delegationsimplemented
PAP11-5.1-01§5.1 (1.1)MUST NOTpersonal-agentIt 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_unused
replace_user_id
SqlitePairwiseUserIdStore.last_used
test_draft_11.py::test_an_unused_id_ages_out_after_28_days_and_never_with_a_refresh_token
test_draft_11.py::test_what_stops_a_replacement_leaves_the_old_id_in_place
implemented
PAP11-5.1-02§5.1 (1.1)MUST NOTpersonal-agentApart 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_idtest_draft_11.py::test_what_stops_a_replacement_leaves_the_old_id_in_placeimplemented
PAP11-5.1-03§5.1 (1.1)MUSTpersonal-agentThe 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_id
UserIdData
test_draft_11.py::test_replacing_a_user_id_signs_out_first_and_discards_what_the_old_one_held
test_draft_11.py::test_what_stops_a_replacement_leaves_the_old_id_in_place
implemented
PAP11-5.1-04§5.1 (1.1)MUST NOTpersonal-agentIt MUST NOT send the Company anything it used or received under the old ID, so nothing it sends links the two.replace_user_id
UserIdData
test_draft_11.py::test_replacing_a_user_id_signs_out_first_and_discards_what_the_old_one_heldimplemented
PAP11-5.1-05§5.1 (1.1)MUSTpersonal-agentIt 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_id
UserIdData
SqlitePairwiseUserIdStore.replace
DerivedPairwiseUserIds.replace
test_draft_11.py::test_replacing_a_user_id_signs_out_first_and_discards_what_the_old_one_held
test_draft_11.py::test_the_store_replaces_one_users_id_and_remembers_when_it_was_used
test_draft_11.py::test_a_keyed_hash_replaces_one_users_id_with_a_counter
implemented
PAP11-5.1-06§5.1 (1.1)MUST NOTcompanyThe Company sees a new User, and MUST NOT expect a User or account to keep one User ID.CompanyServicetest_draft_11.py::test_a_company_limits_new_user_ids_by_client_id_and_links_none_to_an_accountimplemented
PAP11-5.3-01§5.3 (1.1)SHOULDpersonal-agentA 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_request
SessionClient.token_request
DirectSignInClient.begin
DeviceSignInClient.begin
RefreshTokenClient.revoke
test_draft_11.py::test_the_agent_signs_its_requests_to_the_four_oauth_endpoints
operator.oauth-signed-vector
implemented
PAP11-5.3-02§5.3 (1.1)MUSTpersonal-agentA 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_digest
sign_operator_request
verify_operator_signature
OperatorSignatureRequest
test_draft_11.py::test_an_operator_signature_covers_the_session_header_or_the_content_digest
test_draft_11.py::test_a_signature_over_the_content_digest_binds_the_body
test_draft_11.py::test_the_agent_signs_its_requests_to_the_four_oauth_endpoints
operator.oauth-signed-vector
implemented

Conformance case IDs name protocol/fixtures/conformance cases; see the conformance report for their outcome in every language pairing.