OCI-WALLET · conformance

Does the reference build do what the specs say?

The exchange, an issuer's connector and the wallet each state, for every requirement of the OCI-WALLET specs, how they meet it, and their own tests are run. A requirement is a pass only when a named test asserts it and passed. The rest are listed openly: they are the work still to do. The specs →

Implementation OCI-WALLET-1 OCI-WALLET-2 OCI-WALLET-3
ociid-api country identity —— 29 / 29 pass all pass
ocitrust-api registry 12 / 13 pass 1 untested ——
ociwallet-api wallet provider 37 / 42 pass 1 diverge · 4 untested 38 / 40 pass 2 untested 77 / 83 pass 1 diverge · 5 untested
ociwallet-exchange-api document exchange 14 / 14 pass all pass 77 / 80 pass 3 untested —
ociwallet-issuer-api issuer connector 49 / 51 pass 2 untested 43 / 44 pass 1 untested —

passfaildivergeuntested Requirements for another role are not counted.

ociid-api · country identity

oci-org/ociid-api at 0438dfa, run 2026-11-30 : 176 tests, 0 failed. Against OCI-WALLET-3 0.1.0.

OCI-WALLET-3 — 29 of 29 pass
WAL-6.1 pass test_an_identity_that_is_not_national_ignores_the_scope
WAL-6.2 pass test_a_wallet_learns_the_national_id_when_the_resident_connects, test_an_identity_that_is_not_national_ignores_the_scope
WAL-6.3 pass The provider name is the `wallet` column of ociid.clients (app/store.py · Client.wallet). test_only_a_wallet_provider_may_ask_and_only_for_its_own_address
WAL-6.4 pass test_pkce_s256_is_required, test_state_nonce_scope_and_response_type_are_checked
WAL-6.5 pass wallet_address is checked only on a request with the national_id scope at a national identity; on any other request it is ignored and never recorded (app/routers/oidc.py · validate_request). test_only_a_wallet_provider_may_ask_and_only_for_its_own_address, test_connecting_sends_the_card
WAL-6.6 pass test_unknown_client_is_not_redirected, test_unregistered_redirect_is_never_redirected_to
WAL-6.7 pass test_authorize_redirect_carries_state_and_issuer, test_wal_6_7_an_error_redirect_carries_iss_and_state
WAL-6.8 pass test_a_resident_without_a_number_cannot_connect
WAL-6.9 pass The sentence above the values always says "and your date of birth", also when none is held and none is shown (app/pages.py · _national_consent). test_wal_6_9_the_consent_page_names_the_provider_and_shows_what_is_shared, test_wal_6_9_no_date_of_birth_is_shown_when_none_is_held, test_the_resident_is_told_what_is_shared_and_where_the_card_goes
WAL-6.10 pass test_wal_6_10_the_consent_page_says_where_the_card_goes_only_when_an_address_is_given, test_the_resident_is_told_what_is_shared_and_where_the_card_goes
WAL-6.11 pass Tested: both answers are on the page; cancel gives access_denied, no code and no wallet link (no code, so no card). Not tested: "equal standing". Both are full-width buttons; Connect is filled and Cancel is outlined (app/pages.py · _national_consent). test_saying_no_shares_nothing, test_wal_6_9_the_consent_page_names_the_provider_and_shows_what_is_shared
WAL-6.12 pass The lifetime is settings.code_ttl, 60 seconds by default (app/config.py); no test asserts the number 60. test_code_is_single_use, test_expired_code_is_rejected, test_code_for_another_client_is_rejected, test_token_with_a_different_redirect_is_rejected, test_wrong_verifier_is_rejected_and_burns_the_code, test_a_wallet_learns_the_national_id_when_the_resident_connects
WAL-6.13 pass test_code_is_single_use, test_expired_code_is_rejected, test_code_for_another_client_is_rejected, test_token_with_a_different_redirect_is_rejected, test_wrong_verifier_is_rejected_and_burns_the_code, test_token_request_shape_errors
WAL-6.14 pass test_wal_6_14_the_id_token_never_carries_the_national_claims, test_a_wallet_learns_the_national_id_when_the_resident_connects, test_without_the_scope_the_wallet_learns_nothing_more
WAL-6.15 pass test_a_wallet_learns_the_national_id_when_the_resident_connects, test_wal_6_15_birthdate_and_gender_are_left_out_when_not_held
WAL-6.16 pass test_wal_6_14_the_id_token_never_carries_the_national_claims, test_a_wallet_learns_the_national_id_when_the_resident_connects, test_wal_6_16_sub_is_not_the_national_id_number
WAL-6.17 pass test_a_refreshed_session_does_not_carry_the_number
WAL-6.18 pass test_a_wallet_learns_the_national_id_when_the_resident_connects, test_without_the_scope_the_wallet_learns_nothing_more, test_wal_6_15_birthdate_and_gender_are_left_out_when_not_held
WAL-6.19 pass test_wal_6_19_errors_have_the_oauth_shape_and_never_the_number, test_userinfo_rejects_bad_tokens
WAL-7.1 pass test_a_wallet_learns_the_national_id_when_the_resident_connects, test_connecting_sends_the_card
WAL-7.2 pass test_connecting_sends_the_card
WAL-7.3 pass Tested: the identity hands its issuer an unsigned card of type IDCRD and signs nothing. That the issuer is a registered, accredited doc_issuer is a fact of the deployment (ID_CARD_ISSUER_ID, app/idcard.py · configured), not of this code. test_wal_7_3_the_identity_sends_its_issuer_an_unsigned_card_and_signs_nothing, test_the_card_is_issued_once_and_pushed_to_the_address
WAL-7.4 pass test_the_card_is_issued_once_and_pushed_to_the_address, test_wal_7_4_a_second_wallet_gets_the_same_card
WAL-7.5 pass The id is the first 16 hex characters of the resident's random internal uuid (app/idcard.py · doc_id). test_the_card_is_issued_once_and_pushed_to_the_address
WAL-7.6 pass test_the_card_is_issued_once_and_pushed_to_the_address, test_wal_7_6_the_card_leaves_out_what_the_identity_does_not_hold
WAL-7.7 pass Tested: the identity's only two calls are to its issuer (issue, then push to the address). The path from the issuer through the exchanges is the issuer's and the exchange's. test_the_card_is_issued_once_and_pushed_to_the_address
WAL-7.8 pass The card is sent from a background task added after the tokens are made (app/routers/oidc.py · token). No test asserts the order on the wire. test_connecting_sends_the_card, test_a_card_that_cannot_be_delivered_does_not_fail_the_connection, test_wal_7_8_a_card_that_cannot_be_issued_leaves_the_connect_as_it_was, test_the_card_is_issued_once_and_pushed_to_the_address
WAL-7.9 pass test_the_card_is_issued_once_and_pushed_to_the_address
WAL-7.10 pass The card is issued from a background task added after the tokens are made (app/routers/oidc.py · token), as for WAL-7.8. No test asserts the order on the wire. test_wal_7_10_without_an_address_the_card_is_issued_and_not_pushed, test_wal_7_10_without_the_scope_no_card_is_issued, test_wal_7_10_a_card_that_cannot_be_issued_leaves_the_token_answer_as_it_was, test_connecting_sends_the_card

ocitrust-api · registry

oci-org/ocitrust-api at 8be04fb, run 2026-11-30 : 51 tests, 0 failed. Against OCI-WALLET-1 0.1.0.

Message models — 4 of 4 calls match the spec

The request and response models in the code, field by field, against the spec's message tables: fields missing or extra, required the same way, same type and allowed values.

GET /v1/doc-types match
GET /v1/doc-types/{country}/{doc_type} match
GET /v1/participants match
PUT /v1/doc-types/{country}/{doc_type} match
OCI-WALLET-1 — 12 of 13 pass · 1 to do
WDOC-3.5 untested At most one home: home is one nullable column (sql/migrations/004 · trust.participants.home; app/routers/participants.py · ParticipantOut.home). No test asserts it as a rule. What a participant with no home can do is addressed to the exchange.
WDOC-3.1 pass test_wdoc_3_1_the_four_document_kinds_are_accepted_and_carry_the_participant_fields, test_document_participants_and_their_home_exchange
WDOC-3.4 pass test_home_is_only_for_issuers_wallets_and_requesters, test_document_participants_and_their_home_exchange
WDOC-3.6 pass test_document_participants_and_their_home_exchange
WDOC-3.10 pass test_document_participants_and_their_home_exchange, test_seed_matches_contract
WDOC-4.1 pass test_the_same_type_code_is_separate_in_each_country, test_a_malformed_type_is_rejected
WDOC-4.2 pass test_a_malformed_type_is_rejected
WDOC-4.5 pass test_only_a_document_issuer_of_that_country_can_be_accredited, test_wdoc_4_5_a_refused_issuer_leaves_the_type_as_it_was
WDOC-4.6 pass test_replacing_a_type_replaces_its_issuers
WDOC-4.7 pass test_changing_a_type_needs_the_admin_token, test_wdoc_4_7_reading_needs_no_token_and_a_write_without_a_configured_token_is_503
WDOC-4.11 pass test_wdoc_4_11_a_country_code_is_upper_cased_in_a_path_and_in_a_query, test_a_malformed_type_is_rejected
WDOC-4.12 pass test_an_unknown_type_is_not_found, test_a_country_registers_a_document_type_and_who_may_issue_it
WDOC-4.13 pass test_wdoc_4_13_a_write_answers_the_type_with_its_issuers_in_id_order_each_once, test_a_country_registers_a_document_type_and_who_may_issue_it, test_replacing_a_type_replaces_its_issuers

ociwallet-api · wallet provider

oci-org/ociwallet-api at 9551e4d, run 2026-11-30 : 148 tests, 0 failed. Against OCI-WALLET-1 0.1.0, OCI-WALLET-2 0.1.0, OCI-WALLET-3 0.1.0.

Message models — 2 of 2 calls match the spec

The request and response models in the code, field by field, against the spec's message tables: fields missing or extra, required the same way, same type and allowed values.

POST /exchange/v1/hello match
POST /exchange/v1/push match
OCI-WALLET-1 — 37 of 42 pass · 5 to do
WDOC-3.3 untested The wallet's id is configuration (PARTICIPANT, app/config.py); app/people.py · provider takes the provider name by dropping the `wallet:` prefix. Nothing checks the id's form.
WDOC-4.10 untested app/registry.py · doc_types caches a country's list for 60 seconds and raises 502 TRUST_REGISTRY_UNAVAILABLE when it cannot be fetched, which fails documents.verify. The test fake has no way to take the type list down.
WDOC-8.7 diverge The second sentence is not met for a pushed document. A pushed document is stored with the status `active` and status_at at the epoch (app/wallet.py · receive, _keep), so the next list or open asks the issuer. Until an answer arrives it is shown as `active`: when the issuer cannot be reached, GET /v1/documents shows `status: active` with no sign that it was never heard, and GET /v1/documents/{id} shows `status: active` with `check.status_asked: false` (app/wallet.py · _ask_status returns the stored status). There is no 'not yet heard' status. A push over a record already held as `revoked` also sets it back to `active`. For a document the wallet fetched, the kept status is the issuer's own answer and the clause holds.
WDOC-9.4 untested The printable copy is only ever stored and served as a file (app/wallet.py · _keep, file). `check` comes from documents.verify on the signed document alone (app/wallet.py · detail). No test asserts that a PDF is never treated as verified.
WDOC-10.6 untested No /v1 route takes a wallet address: everything a person holds is reached by their sign-in (app/people.py · current_person). A push to an address only adds a document (app/wallet.py · receive).
WDOC-3.5 pass test_without_an_active_home_exchange_it_calls_nobody, test_wdoc_3_5_a_wallet_with_no_home_exchange_is_reached_by_nobody
WDOC-3.8 pass test_a_suspended_issuers_documents_are_not_accepted, test_the_catalogue_is_the_countrys_types_with_their_active_issuers
WDOC-3.9 pass test_wdoc_3_9_a_registry_that_cannot_be_read_fails_the_check, test_an_issuer_that_cannot_be_reached_leaves_what_was_last_heard, test_wex_4_8_a_registry_or_keys_that_cannot_be_fetched_refuse_the_call
WDOC-4.8 pass test_a_valid_signature_is_not_enough_the_issuer_must_be_accredited_for_the_type, test_wdoc_5_9_the_type_is_looked_up_in_the_issuers_country
WDOC-5.1 pass test_junk_is_not_a_document, test_a_document_that_does_not_check_out_is_not_kept, test_wex_5_4_a_push_takes_only_a_well_formed_uri_and_address, test_wdoc_5_2_a_uri_gives_the_issuer_the_type_and_the_id
WDOC-5.2 pass test_wdoc_5_2_a_uri_gives_the_issuer_the_type_and_the_id
WDOC-5.3 pass test_wdoc_5_3_a_uri_is_compared_as_an_exact_string
WDOC-5.9 pass test_wdoc_5_9_the_type_is_looked_up_in_the_issuers_country
WDOC-6.12 pass test_wdoc_6_12_the_wallet_keeps_the_exact_signed_text
WDOC-7.1 pass test_junk_is_not_a_document
WDOC-7.2 pass test_a_suspended_issuers_documents_are_not_accepted, test_wdoc_7_2_the_issuer_must_be_a_registered_active_document_issuer
WDOC-7.3 pass test_a_valid_signature_is_not_enough_the_issuer_must_be_accredited_for_the_type
WDOC-7.4 pass test_a_document_signed_by_anyone_but_its_issuer_is_not_genuine, test_a_changed_document_is_not_genuine, test_junk_is_not_a_document
WDOC-7.5 pass test_a_document_must_be_the_one_asked_for
WDOC-7.6 pass test_a_document_must_be_the_one_asked_for, test_wdoc_7_6_the_iss_claim_must_be_the_issuer_in_the_uri
WDOC-7.7 pass test_a_document_must_be_the_one_asked_for
WDOC-7.8 pass test_a_document_that_does_not_check_out_is_not_kept, test_a_pushed_document_is_checked_like_any_other, test_a_document_whose_issuer_lost_its_accreditation_is_shown_as_not_genuine
WDOC-7.9 pass test_an_expired_document_says_so, test_an_expired_document_is_genuine_and_expired, test_wdoc_7_9_an_exp_that_is_not_a_number_is_past_and_no_exp_does_not_expire
WDOC-7.10 pass test_a_rotated_document_key_is_picked_up_by_one_refetch
WDOC-7.11 pass test_wdoc_7_11_keys_that_cannot_be_fetched_are_not_a_verdict, test_wdoc_3_9_a_registry_that_cannot_be_read_fails_the_check, test_an_issuer_that_cannot_be_reached_leaves_what_was_last_heard
WDOC-7.12 pass The issuer is asked on every open and on a list for anything heard more than 60 seconds ago. What is shown when a pushed document's issuer has never answered is the divergence recorded at WDOC-8.7 and WAL-11.7. test_opening_a_document_checks_it_again_and_asks_the_issuer_how_it_stands, test_a_pushed_document_lands_in_the_persons_wallet
WDOC-7.13 pass The checks run again on every open (GET /v1/documents/{id}). The list (GET /v1/documents) does not run them and carries no `check`; it shows the status only. test_a_document_whose_issuer_lost_its_accreditation_is_shown_as_not_genuine, test_opening_a_document_checks_it_again_and_asks_the_issuer_how_it_stands
WDOC-8.4 pass test_status_is_asked_of_the_issuer_not_read_from_the_copy, test_opening_a_document_checks_it_again_and_asks_the_issuer_how_it_stands
WDOC-8.5 pass test_opening_a_document_checks_it_again_and_asks_the_issuer_how_it_stands
WDOC-8.8 pass test_the_list_asks_again_only_about_what_it_has_not_heard_of_lately, test_an_issuer_that_cannot_be_reached_leaves_what_was_last_heard
WDOC-9.5 pass test_fetch_refuses_an_answer_that_does_not_check_out, test_a_pushed_document_is_checked_like_any_other, test_wal_11_6_a_printable_copy_that_is_broken_or_too_large_is_dropped
WDOC-10.1 pass What the wallet accepts as an address. The handles it gives are made lower case from the same characters (app/people.py · _assign_handle); no test checks every given address against the pattern. test_an_address_nobody_has, test_wex_5_4_a_push_takes_only_a_well_formed_uri_and_address
WDOC-10.2 pass The wallet's side: it answers only for addresses at its own provider name, and takes no call when it is not an active participant. Mapping an address to a participant is the exchange's. test_an_address_nobody_has, test_everyone_gets_an_address_and_no_two_people_the_same, test_a_suspended_or_unregistered_service_serves_nobody
WDOC-10.3 pass test_wdoc_10_3_the_registrys_address_suffix_is_not_read
WDOC-10.4 pass test_everyone_gets_an_address_and_no_two_people_the_same, test_an_address_nobody_has
WDOC-10.5 pass A capital letter is refused, and a handle is looked up as the exact string (app/wallet.py · receive). test_an_address_nobody_has
WDOC-11.1 pass test_find_asks_for_the_signed_in_person_by_the_identitys_name_never_a_typed_one, test_once_connected_issuers_are_asked_by_the_number, test_wal_5_11_a_number_comes_only_from_a_connect
WDOC-11.2 pass The wallet's side of the rule (app/wallet.py · _theirs), applied to a fetched document. test_wdoc_11_2_the_number_decides_when_both_sides_have_one
WDOC-11.3 pass test_wdoc_11_3_otherwise_the_name_decides, test_a_document_that_does_not_check_out_is_not_kept
WDOC-11.4 pass test_wdoc_11_4_numbers_are_compared_without_spaces
WDOC-11.5 pass test_wdoc_11_5_names_are_compared_without_case_or_extra_spaces
WDOC-11.7 pass test_a_document_that_does_not_check_out_is_not_kept, test_wdoc_11_2_the_number_decides_when_both_sides_have_one
OCI-WALLET-2 — 38 of 40 pass · 2 to do
WEX-4.12 untested The wallet's answers are plain JSON with no signature (app/routers/exchange_api.py), and it reads its home exchange's answers without looking for one (app/finder.py · _ask).
WEX-14.3 untested A MAY. The wallet never repeats a call itself (app/finder.py · _ask makes one call); the person asks again, and a status that was not heard is asked again at the next list or open (app/wallet.py · _ask_status).
WEX-3.1 pass test_the_home_exchange_is_answered, test_moving_to_another_exchange_changes_who_may_call
WEX-3.4 pass test_the_home_exchange_is_answered
WEX-3.5 pass test_anyone_but_the_home_exchange_is_refused, test_it_cannot_call_itself
WEX-3.6 pass test_anyone_but_the_home_exchange_is_refused, test_only_the_home_exchange_may_push
WEX-3.9 pass test_anyone_but_the_home_exchange_is_refused, test_only_the_home_exchange_may_push
WEX-3.10 pass test_its_calls_go_to_its_home_exchange_signed, test_without_an_active_home_exchange_it_calls_nobody
WEX-3.11 pass The wallet's side: which exchange is its home follows the registry. The two MUSTs are the exchanges'. test_moving_to_another_exchange_changes_who_may_call
WEX-4.1 pass test_an_unsigned_call_is_refused, test_only_the_home_exchange_may_push, test_health_and_keys
WEX-4.2 pass test_its_calls_go_to_its_home_exchange_signed, test_a_suspended_or_unknown_caller_is_refused
WEX-4.3 pass test_a_signature_for_a_different_request_is_refused, test_its_calls_go_to_its_home_exchange_signed
WEX-4.4 pass test_a_suspended_or_unregistered_service_serves_nobody
WEX-4.5 pass test_someone_elses_key_does_not_verify, test_a_rotated_key_is_picked_up_by_one_refetch
WEX-4.6 pass test_wex_4_6_the_checks_are_made_in_order, test_an_unsigned_call_is_refused, test_a_signature_for_a_different_request_is_refused, test_an_old_or_future_signature_is_refused, test_a_suspended_or_unregistered_service_serves_nobody, test_a_suspended_or_unknown_caller_is_refused, test_someone_elses_key_does_not_verify, test_a_changed_body_does_not_verify, test_anyone_but_the_home_exchange_is_refused, test_a_signed_body_that_is_not_a_hello_is_a_validation_error
WEX-4.7 pass test_the_signature_is_checked_before_the_body
WEX-4.8 pass test_wex_4_8_a_registry_or_keys_that_cannot_be_fetched_refuse_the_call
WEX-4.9 pass Participants and document types are cached 60 seconds, a key set 300 seconds (app/signing.py, app/registry.py); the test asserts the key cache and its single refetch. test_a_rotated_key_is_picked_up_by_one_refetch
WEX-4.11 pass The wallet reads and sends no Idempotency-Key; the test asserts a repeated push keeps one document. test_a_pushed_document_lands_in_the_persons_wallet
WEX-5.1 pass test_its_calls_go_to_its_home_exchange_signed, test_find_asks_the_home_exchange_and_keeps_only_what_was_asked_for
WEX-5.2 pass test_wex_5_2_an_error_is_a_code_and_a_message
WEX-5.3 pass test_a_signed_body_that_is_not_a_hello_is_a_validation_error, test_wex_5_3_a_push_with_a_member_the_call_does_not_define_is_refused
WEX-5.4 pass What the wallet accepts on a push. What it sends in a find or a fetch is checked on the way in by app/schemas.py · FindIn, UriIn. test_wex_5_4_a_push_takes_only_a_well_formed_uri_and_address, test_an_address_nobody_has
WEX-5.5 pass test_fetch_refuses_an_answer_that_does_not_check_out, test_wal_10_9_a_status_answer_that_is_not_one_is_no_answer
WEX-5.6 pass test_find_asks_for_the_signed_in_person_by_the_identitys_name_never_a_typed_one, test_once_connected_issuers_are_asked_by_the_number, test_wal_5_14_and_5_15_disconnecting_keeps_the_documents_and_asks_by_name_only
WEX-6.1 pass As receiver. As caller it sends a fresh secrets.token_urlsafe(12) (app/greet.py · greet). test_a_signed_body_that_is_not_a_hello_is_a_validation_error
WEX-6.2 pass test_the_home_exchange_is_answered
WEX-6.3 pass test_check_greets_the_home_exchange, test_wex_6_3_a_hello_passes_only_when_every_part_of_the_answer_is_as_expected
WEX-8.1 pass The wallet as the caller of /v1/find. test_find_asks_the_home_exchange_and_keeps_only_what_was_asked_for, test_find_asks_for_the_signed_in_person_by_the_identitys_name_never_a_typed_one
WEX-8.2 pass The first sentence. Refusing a find without `person` is the exchange's. test_find_asks_for_the_signed_in_person_by_the_identitys_name_never_a_typed_one
WEX-8.10 pass The wallet as the caller of /v1/find: it sends an empty `search` only with `person.national_id`. Passing it on is the exchange's. test_wal_8_10_an_empty_search_is_sent_only_for_a_connected_person
WEX-9.1 pass The wallet as the caller of /v1/fetch: it sends `uri` and `person`. Refusing a fetch without `person` is the exchange's. test_keeping_a_document_fetches_checks_and_stores_it, test_fetch_returns_a_verified_document_and_its_printable_copy
WEX-10.1 pass The wallet as the caller of /v1/status: it sends `uri` and nothing else. Refusing a `person` is the exchange's. test_opening_a_document_checks_it_again_and_asks_the_issuer_how_it_stands
WEX-11.16 pass test_only_the_home_exchange_may_push, test_a_pushed_document_lands_in_the_persons_wallet
WEX-11.17 pass test_a_pushed_document_lands_in_the_persons_wallet
WEX-11.18 pass test_an_address_nobody_has, test_a_pushed_document_is_checked_like_any_other, test_a_connected_person_is_not_sent_someone_elses_document, test_wal_11_4_an_expired_pushed_document_is_refused_and_nothing_is_kept
WEX-14.2 pass app/finder.py · _ask reads the status and the error body, never the message: 200 is an answer, 403/404/410/422/502 with an error body is passed on with its code, everything else is 502 EXCHANGE_UNAVAILABLE. A 409 or a 503 from the exchange is therefore answered as EXCHANGE_UNAVAILABLE. test_a_refusal_from_the_issuer_or_the_exchange_reaches_the_person_as_given, test_an_exchange_that_fails_is_unavailable
WEX-14.4 pass The wallet's side: a document it already holds, sent again, is one copy. The rest is the issuer's. test_a_pushed_document_lands_in_the_persons_wallet
WEX-15.1 pass As the caller of /v1/find, /v1/fetch and /v1/status. The wallet never calls /v1/push. test_a_refusal_from_the_issuer_or_the_exchange_reaches_the_person_as_given
WEX-15.2 pass The wallet's half. Turning it into WALLET_UNAVAILABLE is the exchange's. test_wex_15_2_issuer_keys_that_cannot_be_fetched_on_a_push_are_issuer_unavailable
OCI-WALLET-3 — 77 of 83 pass · 6 to do
WAL-4.5 untested A handle is made once, from the email address or the name the provider's identity gave, the first time the person is seen and before any connect (app/people.py · _assign_handle, current_person). The national ID number is never an input.
WAL-8.5 untested Carried out by the wallet app (ociwallet-app). This server gives it what it shows: the name in GET /v1/me and each issuer's name in GET /v1/doc-types (app/routers/people_api.py · me, doc_types).
WAL-10.4 untested The wallet reports only what its own check found and keeps the signed text unchanged (app/wallet.py · detail, _keep). No /v1 route hands the signed document itself to the person: GET /v1/documents/{id} returns the certificate read from it, so a person cannot yet pass the signed text to someone else to check.
WAL-11.7 diverge A pushed document is stored with the status `active` and status_at at the epoch (app/wallet.py · receive, _keep), so the next list or open asks the issuer. Until an answer arrives it is shown as `active`: when the issuer cannot be reached, GET /v1/documents shows `status: active` with no sign that it was never heard, and GET /v1/documents/{id} shows `status: active` with `check.status_asked: false` (app/wallet.py · _ask_status returns the stored status). There is no 'not yet heard' status. A push over a record already held as `revoked` also sets it back to `active`. What the clause asks and the code does do: the issuer is asked at the next list or open (tests/test_national.py::test_a_pushed_document_lands_in_the_persons_wallet asserts that call).
WAL-11.10 untested The refusals are fixed sentences (app/wallet.py · receive) or the verification's reason (app/documents.py · verify), which names the issuer's standing or the document type and nothing about the person. No test reads the messages for this.
WAL-12.5 untested An upload is stored with source `uploaded` and no URI, issuer or status (app/wallet.py · upload); the table's CHECK ties `issued` to a URI, a signed document and a status (sql/migrations/002); no route changes a document's source. No test tries a file that claims to be an issued document.
WAL-3.1 pass test_a_signed_in_person_is_who_their_identity_says, test_a_call_without_a_good_sign_in_is_refused
WAL-3.2 pass test_a_call_without_a_good_sign_in_is_refused, test_an_identity_that_cannot_be_reached_is_not_a_bad_sign_in
WAL-3.3 pass test_a_signed_in_person_is_who_their_identity_says, test_find_asks_for_the_signed_in_person_by_the_identitys_name_never_a_typed_one
WAL-3.4 pass test_one_persons_wallet_is_invisible_to_another
WAL-3.5 pass GET /v1/me returns the name. Showing it on the search page is the app's. test_a_signed_in_person_is_who_their_identity_says
WAL-4.1 pass test_everyone_gets_an_address_and_no_two_people_the_same, test_a_signed_in_person_is_who_their_identity_says
WAL-4.2 pass test_everyone_gets_an_address_and_no_two_people_the_same
WAL-4.3 pass Asserts the email part, the added number and the name with dots. The cut to 30 characters is not asserted. test_everyone_gets_an_address_and_no_two_people_the_same
WAL-4.4 pass GET /v1/me returns `address`. Showing it is the app's. test_a_signed_in_person_is_who_their_identity_says
WAL-5.1 pass test_a_wallet_that_offers_no_national_identity, test_a_signed_in_person_is_who_their_identity_says
WAL-5.2 pass test_connecting_sends_the_person_to_the_identity_with_their_address, test_wal_5_4_a_new_start_discards_the_old_one_and_a_start_lasts_ten_minutes
WAL-5.3 pass The nonce also travels in the address the browser is sent to, as WAL-5.2 requires of the authorization request. test_wal_5_3_the_verifier_stays_with_the_server
WAL-5.4 pass test_the_wallet_learns_the_number_from_the_identity_itself, test_a_connection_belongs_to_the_person_who_started_it, test_wal_5_4_a_new_start_discards_the_old_one_and_a_start_lasts_ten_minutes
WAL-5.5 pass test_the_wallet_learns_the_number_from_the_identity_itself
WAL-5.6 pass Asserts the ID token's signature, iss, aud, exp and nonce, then that userinfo is asked with the access token, that its `sub` must be the ID token's, and that the number is read from userinfo only. A missing `sub` in the ID token and the single refetch of the identity's keys are in app/national.py · _id_claims and are not asserted. test_an_answer_that_does_not_check_out_connects_nothing, test_wal_5_6_the_number_is_fetched_from_userinfo_with_the_access_token, test_wal_5_6_a_userinfo_answer_for_another_sub_is_refused
WAL-5.7 pass test_an_answer_that_does_not_check_out_connects_nothing, test_wal_5_7_userinfo_failures
WAL-5.8 pass test_the_wallet_learns_the_number_from_the_identity_itself, test_one_national_identity_is_one_person_here
WAL-5.9 pass Kept by a unique index on the identity and the number as text with runs of spaces made one (sql/migrations/003, app/national.py · finish). The same number written with different spacing by the identity would not collide. test_one_national_identity_is_one_person_here
WAL-5.10 pass test_the_wallet_learns_the_number_from_the_identity_itself
WAL-5.11 pass test_wal_5_11_a_number_comes_only_from_a_connect
WAL-5.12 pass test_once_connected_issuers_are_asked_by_the_number, test_a_connected_person_is_not_sent_someone_elses_document, test_wdoc_11_2_the_number_decides_when_both_sides_have_one
WAL-5.13 pass test_disconnecting_forgets_the_number_and_keeps_the_documents
WAL-5.14 pass test_wal_5_14_and_5_15_disconnecting_keeps_the_documents_and_asks_by_name_only
WAL-5.15 pass test_wal_5_14_and_5_15_disconnecting_keeps_the_documents_and_asks_by_name_only, test_disconnecting_forgets_the_number_and_keeps_the_documents
WAL-5.17 pass app/people.py · current_person chooses the identity by the token's unverified `iss`, then checks the token in full against it (ES256, typ at+jwt, iss, client_id in aud, sub, exp). The single refetch of the identity's keys is shared with the wallet's own identity and is not asserted for this one. test_wal_5_17_a_national_token_is_taken_only_from_that_identity_and_for_this_client, test_wal_5_17_a_token_from_an_unknown_issuer_is_refused
WAL-5.18 pass test_wal_5_18_the_first_sign_in_needs_the_scope, test_wal_5_18_a_userinfo_answer_for_another_sub_is_refused, test_wal_5_18_an_identity_with_no_number_for_the_person_signs_nobody_in, test_wal_5_18_userinfo_failures
WAL-5.19 pass A person who disconnects and then signs in with the national identity is not found by the number any more: a new person is made (app/national.py · signed_in). test_wal_5_19_a_person_who_connected_earlier_is_the_same_wallet, test_wal_5_19_a_connect_records_who_the_person_is_at_the_identity
WAL-5.20 pass test_wal_5_20_a_new_person_arrives_connected, test_wal_5_20_first_calls_that_arrive_together_make_one_person
WAL-5.21 pass test_wal_5_21_a_later_sign_in_needs_neither_the_scope_nor_userinfo, test_wal_5_19_a_connect_records_who_the_person_is_at_the_identity
WAL-5.22 pass test_wal_5_22_a_person_who_signs_in_with_it_cannot_disconnect_it, test_wal_5_22_a_person_with_their_own_account_can_and_is_forgotten_at_the_identity
WAL-5.23 pass The card's type is NATIONAL_ID_CARD_TYPE (IDCRD) and its issuers the registry's for the country; the search is `number` and `date_of_birth`. The 1.5 s between looks is not asserted (the tests wait 0 s). test_wal_5_23_the_id_card_is_collected_by_a_find_and_kept, test_wal_5_23_a_person_who_connected_earlier_gets_the_card_too, test_wal_5_23_a_card_not_issued_yet_is_looked_for_four_times_and_no_failure_reaches_the_person
WAL-8.1 pass test_the_catalogue_is_the_countrys_types_with_their_active_issuers
WAL-8.2 pass test_find_asks_for_the_signed_in_person_by_the_identitys_name_never_a_typed_one, test_once_connected_issuers_are_asked_by_the_number, test_keeping_a_document_fetches_checks_and_stores_it
WAL-8.3 pass test_find_asks_for_the_signed_in_person_by_the_identitys_name_never_a_typed_one, test_wal_5_11_a_number_comes_only_from_a_connect
WAL-8.4 pass test_someone_whose_identity_gives_no_name_cannot_ask_issuers
WAL-8.6 pass test_find_asks_the_home_exchange_and_keeps_only_what_was_asked_for, test_its_calls_go_to_its_home_exchange_signed, test_opening_a_document_checks_it_again_and_asks_the_issuer_how_it_stands, test_keeping_a_document_fetches_checks_and_stores_it
WAL-8.7 pass test_find_asks_the_home_exchange_and_keeps_only_what_was_asked_for
WAL-8.8 pass test_find_asks_for_the_signed_in_person_by_the_identitys_name_never_a_typed_one, test_keeping_a_document_fetches_checks_and_stores_it
WAL-8.9 pass Two failures are answered with other codes than EXCHANGE_UNAVAILABLE: a wallet with no active home exchange answers 503 NO_HOME_EXCHANGE (app/exchange.py · home), and a registry that cannot be read answers 502 TRUST_REGISTRY_UNAVAILABLE (app/signing.py · participants). Neither is in the spec's table for this call. test_a_refusal_from_the_issuer_or_the_exchange_reaches_the_person_as_given, test_an_exchange_that_fails_is_unavailable, test_a_document_that_does_not_check_out_is_not_kept
WAL-8.10 pass test_wal_8_10_an_empty_search_is_sent_only_for_a_connected_person
WAL-8.11 pass test_wal_8_11_every_issuer_of_every_type_is_asked_at_once, test_wal_8_11_no_more_than_six_issuers_are_asked_at_the_same_moment
WAL-9.1 pass test_fetch_returns_a_verified_document_and_its_printable_copy, test_fetch_refuses_an_answer_that_does_not_check_out, test_keeping_a_document_fetches_checks_and_stores_it
WAL-9.2 pass test_fetch_refuses_an_answer_that_does_not_check_out, test_a_document_that_does_not_check_out_is_not_kept
WAL-9.3 pass test_a_document_that_does_not_check_out_is_not_kept, test_wdoc_11_2_the_number_decides_when_both_sides_have_one, test_wdoc_11_3_otherwise_the_name_decides
WAL-9.4 pass The list's columns (name, number, dates, issuer name) are copies taken from the verified certificate when the document was kept (app/wallet.py · _keep); `certificate` and `holder` are read from the signed text each time. test_wdoc_6_12_the_wallet_keeps_the_exact_signed_text, test_opening_a_document_checks_it_again_and_asks_the_issuer_how_it_stands
WAL-9.5 pass test_fetch_returns_a_verified_document_and_its_printable_copy, test_fetch_refuses_an_answer_that_does_not_check_out, test_keeping_a_document_fetches_checks_and_stores_it
WAL-9.6 pass test_keeping_it_again_refreshes_it_and_does_not_duplicate, test_keeping_a_document_fetches_checks_and_stores_it
WAL-9.7 pass test_opening_a_document_checks_it_again_and_asks_the_issuer_how_it_stands, test_keeping_it_again_refreshes_it_and_does_not_duplicate
WAL-9.8 pass Asserts no document and no history entry. That no file is left is by construction (the file is written inside the keeping transaction, after every check) and is not asserted. test_a_document_that_does_not_check_out_is_not_kept
WAL-10.1 pass The server reports the three results separately (`check.genuine`, `status`, `check.status_asked`); showing 'valid' is the app's. Point 3 is not met for a pushed document whose issuer has not answered yet: see WAL-11.7. test_opening_a_document_checks_it_again_and_asks_the_issuer_how_it_stands, test_a_document_whose_issuer_lost_its_accreditation_is_shown_as_not_genuine, test_a_valid_signature_is_not_enough_the_issuer_must_be_accredited_for_the_type
WAL-10.2 pass test_a_document_that_does_not_check_out_is_not_kept, test_a_pushed_document_is_checked_like_any_other, test_a_document_whose_issuer_lost_its_accreditation_is_shown_as_not_genuine
WAL-10.3 pass test_opening_a_document_checks_it_again_and_asks_the_issuer_how_it_stands, test_a_document_whose_issuer_lost_its_accreditation_is_shown_as_not_genuine, test_an_issuer_that_cannot_be_reached_leaves_what_was_last_heard, test_an_expired_document_is_genuine_and_expired
WAL-10.5 pass test_opening_a_document_checks_it_again_and_asks_the_issuer_how_it_stands
WAL-10.6 pass app/wallet.py · listing asks about at most 20 documents in one listing (_ASK_AT_ONCE), as the clause allows. test_the_list_asks_again_only_about_what_it_has_not_heard_of_lately
WAL-10.7 pass test_the_list_asks_again_only_about_what_it_has_not_heard_of_lately
WAL-10.8 pass Asserted for an open (`check.status_asked: false`). The list keeps and shows the last status but has no such flag; it carries only `status_at`, when the status was last heard. For a pushed document never yet heard about, the status shown is the assumed `active`: see WAL-11.7. test_an_issuer_that_cannot_be_reached_leaves_what_was_last_heard
WAL-10.9 pass test_wal_10_9_a_status_answer_that_is_not_one_is_no_answer, test_status_is_asked_of_the_issuer_not_read_from_the_copy
WAL-10.10 pass test_a_change_seen_by_two_reads_at_once_is_recorded_once, test_opening_a_document_checks_it_again_and_asks_the_issuer_how_it_stands
WAL-10.11 pass test_the_list_asks_again_only_about_what_it_has_not_heard_of_lately, test_keeping_it_again_refreshes_it_and_does_not_duplicate
WAL-11.1 pass test_only_the_home_exchange_may_push
WAL-11.2 pass test_an_address_nobody_has
WAL-11.3 pass test_a_pushed_document_is_checked_like_any_other
WAL-11.4 pass test_wal_11_4_an_expired_pushed_document_is_refused_and_nothing_is_kept, test_wex_4_8_a_registry_or_keys_that_cannot_be_fetched_refuse_the_call
WAL-11.5 pass test_a_connected_person_is_not_sent_someone_elses_document
WAL-11.6 pass test_a_pushed_document_is_checked_like_any_other, test_wal_11_6_a_printable_copy_that_is_broken_or_too_large_is_dropped
WAL-11.8 pass A document the person already kept by looking for it stays `received: false` when it is pushed later (app/wallet.py · _keep sets pushed_at only on a new record). test_a_pushed_document_lands_in_the_persons_wallet, test_a_document_the_person_found_is_not_marked_received
WAL-11.9 pass test_a_pushed_document_lands_in_the_persons_wallet
WAL-12.1 pass test_an_upload_is_kept_as_the_persons_own_unverified_file
WAL-12.2 pass test_an_upload_is_kept_as_the_persons_own_unverified_file
WAL-12.3 pass test_an_upload_must_be_a_real_pdf_or_image_of_a_sane_size, test_an_upload_is_kept_as_the_persons_own_unverified_file
WAL-12.4 pass test_wal_12_4_an_upload_is_recorded_in_history
WAL-13.1 pass test_opening_a_document_checks_it_again_and_asks_the_issuer_how_it_stands, test_removing_a_document_removes_its_file_and_is_remembered, test_wal_13_2_an_event_says_when_and_what_and_never_the_number, test_wal_12_4_an_upload_is_recorded_in_history
WAL-13.2 pass test_wal_13_2_an_event_says_when_and_what_and_never_the_number
WAL-13.3 pass The limit of 200 events is not asserted. test_one_persons_wallet_is_invisible_to_another, test_removing_a_document_removes_its_file_and_is_remembered
WAL-13.4 pass Asserted for an issued document. An upload goes through the same code (app/wallet.py · remove). test_removing_a_document_removes_its_file_and_is_remembered
WAL-13.5 pass test_wal_13_5_removing_tells_nobody_and_the_document_can_be_kept_again
WAL-13.6 pass The tests assert the content type, `no-store` and that another person gets 404. The header sent is `Cache-Control: private, no-store`. test_keeping_a_document_fetches_checks_and_stores_it, test_an_upload_is_kept_as_the_persons_own_unverified_file, test_one_persons_wallet_is_invisible_to_another

ociwallet-exchange-api · document exchange

oci-org/ociwallet-exchange-api at 46f650d, run 2026-11-30 : 166 tests, 0 failed. Against OCI-WALLET-1 0.1.0, OCI-WALLET-2 0.1.0.

Message models — 4 of 10 calls match the spec · 6 without a model in the code

The request and response models in the code, field by field, against the spec's message tables: fields missing or extra, required the same way, same type and allowed values.

POST /peer/v1/fetch no model
  • response: no model in the code
POST /peer/v1/find no model
  • response: no model in the code
POST /peer/v1/hello match
POST /peer/v1/push match
POST /peer/v1/status no model
  • response: no model in the code
POST /v1/fetch no model
  • response: no model in the code
POST /v1/find no model
  • response: no model in the code
POST /v1/hello match
POST /v1/push match
POST /v1/status no model
  • response: no model in the code
OCI-WALLET-1 — 14 of 14 pass
WDOC-3.5 pass test_an_issuer_with_no_active_home_exchange_cannot_be_reached, test_wdoc_3_5_a_participant_with_no_home_makes_no_document_call, test_wex_11_6_a_wallet_with_no_active_home_exchange_cannot_be_reached
WDOC-3.6 pass test_another_exchange_is_a_peer_in_the_same_country_or_another, test_a_call_for_another_exchanges_issuer_goes_through_that_exchange
WDOC-3.8 pass test_a_suspended_or_unknown_caller_is_refused, test_a_suspended_issuer_is_not_found, test_an_address_at_no_wallet_provider, test_an_issuer_with_no_active_home_exchange_cannot_be_reached
WDOC-3.9 pass The 60-second cache (app/signing.py · participants, app/net.py · get_json) is not asserted; the MUST is. test_the_registry_being_down_is_not_the_callers_fault
WDOC-4.1 pass test_an_issuer_is_only_asked_for_types_it_is_accredited_for, test_a_call_for_another_exchanges_issuer_goes_through_that_exchange, test_a_malformed_call_is_a_validation_error
WDOC-4.8 pass test_an_issuer_is_only_asked_for_types_it_is_accredited_for, test_who_may_push_what
WDOC-4.10 pass The 60-second cache (app/registry.py · doc_types) is not asserted; the MUST is. test_wdoc_4_10_document_types_that_cannot_be_read_fail_the_check
WDOC-5.1 pass test_a_malformed_call_is_a_validation_error
WDOC-5.2 pass test_a_call_for_a_member_issuer_goes_straight_to_it, test_a_push_from_another_exchange_is_delivered_to_a_member_wallet
WDOC-5.9 pass test_an_issuer_is_only_asked_for_types_it_is_accredited_for, test_a_call_for_another_exchanges_issuer_goes_through_that_exchange
WDOC-6.12 pass test_a_document_passes_through_untouched, test_a_push_for_a_member_wallet_goes_straight_to_it
WDOC-10.1 pass test_an_address_at_no_wallet_provider
WDOC-10.2 pass test_a_push_for_a_member_wallet_goes_straight_to_it, test_an_address_at_no_wallet_provider
WDOC-10.3 pass test_wdoc_10_3_address_suffix_plays_no_part_in_finding_a_wallet
OCI-WALLET-2 — 77 of 80 pass · 3 to do
WEX-4.6 untested app/signing.py · verify makes checks 1 to 7 in this order, auth.signed the relation then the body, and routers/members.py the member's kind last. Each refusal has a test; no one test asserts the whole order.
WEX-4.11 untested No route reads an Idempotency-Key header (app/routers/members.py, app/routers/peers.py). No test asserts it.
WEX-12.3 untested docx.calls is the only table (sql/migrations/001_exchange.sql, 002_calls_about.sql) and app/audit.py · record the only write. No test asserts that nothing else is written.
WEX-3.1 pass test_wex_3_1_the_relation_comes_from_the_registry_never_from_the_request, test_a_member_that_moves_to_another_exchange_is_no_longer_served
WEX-3.2 pass test_a_member_is_answered_and_the_call_is_logged, test_a_caller_with_no_business_here_is_refused
WEX-3.3 pass test_another_exchange_is_a_peer_in_the_same_country_or_another
WEX-3.5 pass test_a_caller_with_no_business_here_is_refused, test_it_cannot_call_itself
WEX-3.6 pass test_a_caller_with_no_business_here_is_refused, test_a_member_cannot_use_the_peer_door_nor_a_peer_the_members, test_who_may_push_what
WEX-3.7 pass test_only_a_wallet_finds_and_fetches
WEX-3.8 pass test_who_may_push_what
WEX-3.11 pass test_a_member_that_moves_to_another_exchange_is_no_longer_served, test_wex_3_11_a_member_that_moves_here_is_served_with_no_other_step
WEX-4.1 pass Beyond the two paths the clause names, this service also answers without OCI-Signature: POST /admin/v1/check (admin bearer token, app/routers/admin.py), GET /api/health (an alias) and GET /docs (app/docs_page.py). None is a path of WEX-3.6. test_wex_4_1_every_path_needs_a_signature, test_health_and_keys
WEX-4.2 pass test_a_suspended_or_unknown_caller_is_refused, test_wex_4_10_a_call_passed_on_is_signed_again_by_the_exchange_for_the_next_receiver
WEX-4.3 pass test_a_signature_for_a_different_request_is_refused, test_wex_4_3_the_configured_address_is_used_only_when_the_registry_lists_none
WEX-4.4 pass test_an_exchange_that_is_suspended_or_unregistered_serves_nobody
WEX-4.5 pass test_someone_elses_key_does_not_verify, test_a_rotated_key_is_picked_up_by_one_refetch
WEX-4.7 pass Holds for the signature and the relation. A member of the wrong kind (an issuer at /v1/find, a wallet at /v1/push) is told what was wrong with its body before it is told 403: see WEX-4.6. test_the_signature_is_checked_before_the_body
WEX-4.8 pass test_the_registry_being_down_is_not_the_callers_fault, test_wex_4_8_a_key_set_that_cannot_be_fetched_refuses_the_call
WEX-4.9 pass The test asserts the cached key set and the single refetch after 30 seconds. The 60-second cache of participants and document types (app/signing.py · participants, app/registry.py · doc_types) and the 300-second life of a key set are not asserted. test_a_rotated_key_is_picked_up_by_one_refetch
WEX-4.10 pass test_wex_4_10_a_call_passed_on_is_signed_again_by_the_exchange_for_the_next_receiver
WEX-4.12 pass test_wex_4_12_answers_are_not_signed
WEX-5.1 pass test_wex_5_1_every_call_is_a_post, test_wex_5_3_a_member_the_call_does_not_define_is_refused_and_not_passed_on, test_a_signed_body_that_is_not_a_hello_is_a_validation_error
WEX-5.2 pass test_wex_5_2_every_error_has_the_one_body
WEX-5.3 pass test_a_signed_body_that_is_not_a_hello_is_a_validation_error, test_a_malformed_call_is_a_validation_error, test_wex_5_3_a_member_the_call_does_not_define_is_refused_and_not_passed_on
WEX-5.4 pass The two length limits (100 and 127) are implied by the patterns, which allow at most 90 and 127 characters. test_a_malformed_call_is_a_validation_error, test_an_address_at_no_wallet_provider
WEX-5.6 pass test_a_malformed_call_is_a_validation_error, test_wex_5_6_a_person_is_a_name_and_perhaps_a_number_within_their_lengths
WEX-6.1 pass test_a_signed_body_that_is_not_a_hello_is_a_validation_error
WEX-6.2 pass test_wex_6_2_a_hello_is_answered_with_nonce_you_relation_me_and_the_time, test_a_member_is_answered_and_the_call_is_logged
WEX-6.3 pass test_check_greets_its_members_and_every_other_exchange_with_signed_calls, test_wex_6_3_a_hello_answered_with_anything_unexpected_has_not_passed
WEX-6.4 pass test_a_member_is_answered_and_the_call_is_logged, test_wex_6_4_a_hello_is_logged_with_no_issuer_and_no_type
WEX-7.1 pass test_a_call_for_a_member_issuer_goes_straight_to_it
WEX-7.2 pass test_an_unknown_issuer_is_not_found, test_a_suspended_issuer_is_not_found
WEX-7.3 pass test_an_issuer_is_only_asked_for_types_it_is_accredited_for
WEX-7.4 pass test_a_call_for_a_member_issuer_goes_straight_to_it
WEX-7.5 pass test_a_call_for_another_exchanges_issuer_goes_through_that_exchange, test_an_issuer_with_no_active_home_exchange_cannot_be_reached
WEX-7.6 pass test_a_peers_call_is_delivered_only_to_a_member_here, test_wex_10_3_a_peers_status_is_delivered_only_to_a_member_issuer
WEX-7.7 pass test_wex_7_7_an_exchange_checks_the_issuer_itself_when_a_peer_calls
WEX-7.8 pass test_wex_7_8_the_issuers_home_is_read_from_the_registry_on_each_call
WEX-7.9 pass test_a_call_for_a_member_issuer_goes_straight_to_it, test_a_call_for_another_exchanges_issuer_goes_through_that_exchange, test_wex_4_10_a_call_passed_on_is_signed_again_by_the_exchange_for_the_next_receiver
WEX-7.10 pass test_a_person_may_carry_a_national_id_and_it_is_passed_on, test_a_call_for_a_member_issuer_goes_straight_to_it, test_wex_7_10_a_null_national_id_is_not_passed_on
WEX-7.11 pass test_the_issuers_own_refusal_is_passed_on_unchanged, test_a_document_passes_through_untouched, test_wex_14_6_the_second_hops_unknown_is_unknown_and_its_refusal_is_a_refusal
WEX-7.12 pass test_an_issuer_that_fails_is_unavailable_not_the_callers_fault, test_wex_14_6_the_second_hops_unknown_is_unknown_and_its_refusal_is_a_refusal
WEX-7.13 pass test_a_document_passes_through_untouched
WEX-8.1 pass test_a_malformed_call_is_a_validation_error, test_wex_8_1_search_is_at_most_ten_members_each_a_string
WEX-8.2 pass The exchange's half: a find without `person` is refused. Setting `person` is the wallet's. test_a_malformed_call_is_a_validation_error
WEX-8.3 pass test_a_call_for_a_member_issuer_goes_straight_to_it, test_a_call_for_another_exchanges_issuer_goes_through_that_exchange, test_an_issuer_that_fails_is_unavailable_not_the_callers_fault
WEX-8.4 pass test_a_peers_call_is_delivered_only_to_a_member_here, test_a_call_for_another_exchanges_issuer_goes_through_that_exchange
WEX-8.10 pass The exchange's half: it passes an empty search on and adds nothing. What is answered is the issuer's. test_wex_8_10_an_empty_search_with_a_national_id_is_passed_on_as_it_is
WEX-9.1 pass test_a_malformed_call_is_a_validation_error
WEX-9.2 pass test_a_call_for_a_member_issuer_goes_straight_to_it, test_the_issuers_own_refusal_is_passed_on_unchanged, test_an_issuer_that_fails_is_unavailable_not_the_callers_fault
WEX-9.3 pass test_wex_9_3_a_peers_fetch_is_delivered_to_a_member_issuer_and_answered_unchanged, test_a_peers_call_is_delivered_only_to_a_member_here
WEX-10.1 pass test_a_malformed_call_is_a_validation_error
WEX-10.2 pass test_a_call_for_a_member_issuer_goes_straight_to_it
WEX-10.3 pass test_wex_10_3_a_peers_status_is_delivered_only_to_a_member_issuer
WEX-11.1 pass test_wex_11_1_a_push_as_large_as_the_clause_allows_passes_the_signature_check
WEX-11.2 pass test_who_may_push_what
WEX-11.3 pass test_who_may_push_what
WEX-11.4 pass test_a_push_for_a_member_wallet_goes_straight_to_it, test_an_address_at_no_wallet_provider
WEX-11.5 pass test_a_push_for_a_member_wallet_goes_straight_to_it
WEX-11.6 pass test_a_push_for_another_exchanges_wallet_goes_through_that_exchange, test_wex_11_6_a_wallet_with_no_active_home_exchange_cannot_be_reached
WEX-11.7 pass test_a_push_for_a_member_wallet_goes_straight_to_it, test_wex_11_7_a_push_is_passed_on_as_received_with_pdf_null_when_none_was_sent
WEX-11.8 pass The test's `document` is `aaa.bbb.ccc`, which is no signed document, and it is delivered. test_a_push_for_a_member_wallet_goes_straight_to_it
WEX-11.9 pass test_a_push_for_a_member_wallet_goes_straight_to_it, test_a_push_for_another_exchanges_wallet_goes_through_that_exchange
WEX-11.10 pass test_the_wallets_refusal_reaches_the_issuer_and_a_failure_does_not, test_wex_11_10_the_wallets_refusal_reaches_the_issuer_with_its_status_code_and_message
WEX-11.11 pass test_the_wallets_refusal_reaches_the_issuer_and_a_failure_does_not, test_wex_11_11_any_other_outcome_of_a_push_is_unknown
WEX-11.12 pass test_a_push_from_another_exchange_is_delivered_to_a_member_wallet, test_wex_11_12_a_peers_push_is_answered_as_a_members
WEX-11.13 pass test_who_may_push_what
WEX-11.14 pass test_wex_11_14_an_exchange_checks_a_peers_push_itself
WEX-11.15 pass test_a_push_never_takes_two_hops
WEX-12.1 pass The tests read docx.calls, which is the only table this service has (sql/migrations). test_the_log_never_holds_what_was_searched_for_or_which_document, test_the_log_holds_neither_the_address_nor_the_document
WEX-12.2 pass test_wex_12_2_no_part_of_an_answer_is_stored
WEX-12.4 pass test_wex_12_4_the_exchanges_own_errors_name_no_document_search_value_person_or_handle
WEX-13.1 pass test_a_call_for_a_member_issuer_goes_straight_to_it, test_a_push_from_another_exchange_is_delivered_to_a_member_wallet, test_wex_13_1_a_call_is_logged_before_it_is_routed_so_a_failed_route_is_still_in_the_log
WEX-13.2 pass An entry also has a serial `id`, the row's own number. test_wex_13_2_a_log_entry_holds_the_caller_relation_method_path_issuer_type_and_time_and_no_more, test_wex_6_4_a_hello_is_logged_with_no_issuer_and_no_type, test_a_call_for_a_member_issuer_goes_straight_to_it, test_a_push_for_a_member_wallet_goes_straight_to_it
WEX-13.3 pass test_the_log_never_holds_what_was_searched_for_or_which_document, test_the_log_holds_neither_the_address_nor_the_document, test_wex_12_2_no_part_of_an_answer_is_stored
WEX-13.4 pass test_wex_13_4_a_call_refused_before_routing_is_not_logged, test_a_caller_with_no_business_here_is_refused, test_only_a_wallet_finds_and_fetches
WEX-14.1 pass test_wex_14_1_an_onward_call_is_made_once
WEX-14.5 pass The 15-second wait (app/signing.py · signed_post) is not asserted; a timeout answered as unknown is. test_an_issuer_that_fails_is_unavailable_not_the_callers_fault, test_wex_11_11_any_other_outcome_of_a_push_is_unknown
WEX-14.6 pass test_wex_14_6_the_second_hops_unknown_is_unknown_and_its_refusal_is_a_refusal
WEX-15.2 pass The exchange's half. The wallet's 502 ISSUER_UNAVAILABLE is the wallet's. test_wex_15_2_a_wallet_that_could_not_check_a_pushed_document_is_an_unknown_outcome

ociwallet-issuer-api · issuer connector

oci-org/ociwallet-issuer-api at f2bc6d9, run 2026-11-30 : 157 tests, 0 failed. Against OCI-WALLET-1 0.1.0, OCI-WALLET-2 0.1.0.

Message models — 4 of 4 calls match the spec

The request and response models in the code, field by field, against the spec's message tables: fields missing or extra, required the same way, same type and allowed values.

POST /exchange/v1/fetch match
POST /exchange/v1/find match
POST /exchange/v1/hello match
POST /exchange/v1/status match
OCI-WALLET-1 — 49 of 51 pass · 2 to do
WDOC-5.8 untested Not enforced. app/service.py · issue makes a random 12-character id when staff give none, but a doc_id staff choose is not compared with any national_id in issued_to, and the tests' own example id is the licence number without spaces.
WDOC-9.3 untested app/documents.py · sign_qr makes the token and tests/test_documents.py::test_the_qr_code_is_signed_and_ties_the_paper_to_the_document asserts its typ, its ES256 signature by the document key and its exact claims. No test reads the QR code out of the PDF (app/documents.py · pdf draws it), and none asserts the header is exactly alg, typ, kid.
WDOC-3.2 pass test_wdoc_3_2_an_id_that_is_not_issuer_name_makes_no_uri
WDOC-3.5 pass test_wdoc_3_5_an_issuer_with_no_home_calls_nobody_and_is_reached_by_nobody, test_without_an_active_home_exchange_it_calls_nobody
WDOC-3.6 pass test_moving_to_another_exchange_changes_who_may_call
WDOC-3.7 pass test_wdoc_3_7_an_issuer_with_no_country_is_accredited_for_nothing, test_wdoc_4_8_a_type_counts_only_in_the_issuers_own_country
WDOC-3.8 pass test_a_suspended_or_unknown_caller_is_refused, test_without_an_active_home_exchange_it_calls_nobody
WDOC-3.9 pass test_wdoc_3_9_when_the_participant_list_cannot_be_read_the_check_fails
WDOC-4.1 pass test_a_malformed_document_is_not_issued, test_wdoc_4_8_a_type_counts_only_in_the_issuers_own_country, test_wex_5_4_a_document_type_is_five_capital_letters
WDOC-4.3 pass test_find_matches_every_field_given
WDOC-4.4 pass test_find_matches_every_field_given
WDOC-4.8 pass test_an_issuer_issues_only_the_types_it_is_accredited_for, test_find_is_only_for_types_the_issuer_is_accredited_for, test_wdoc_4_8_a_type_counts_only_in_the_issuers_own_country
WDOC-4.9 pass test_an_issuer_issues_only_the_types_it_is_accredited_for, test_the_type_specific_data_must_fit_the_types_schema
WDOC-4.10 pass test_wdoc_4_10_when_the_type_list_cannot_be_read_the_check_fails
WDOC-4.14 pass test_wdoc_4_14_an_empty_search_finds_the_documents_that_record_the_persons_number, test_wdoc_4_14_a_document_that_records_no_number_is_not_found_by_an_empty_search, test_wdoc_4_14_an_empty_search_without_a_national_id_is_refused, test_wdoc_4_14_a_search_that_gives_any_field_is_as_before, test_wdoc_4_14_a_revoked_document_is_not_found_by_an_empty_search_and_a_suspended_one_is, test_wdoc_4_14_a_type_with_no_required_field_is_still_never_searched_by_name_alone
WDOC-5.1 pass test_a_uri_names_issuer_type_and_id, test_a_malformed_uri_is_a_validation_error, test_wex_5_4_a_uri_has_the_one_shape_at_fetch_and_at_status
WDOC-5.2 pass test_a_uri_names_issuer_type_and_id
WDOC-5.3 pass test_wdoc_5_3_a_uri_is_compared_as_an_exact_string
WDOC-5.4 pass test_the_same_id_is_not_issued_twice, test_an_issued_document_is_the_certificate_signed_by_the_issuer
WDOC-5.5 pass test_without_an_id_the_issuer_makes_a_random_one
WDOC-5.6 pass test_suspend_restore_and_revoke, test_wdoc_8_6_a_suspended_document_is_still_found_and_says_so
WDOC-5.7 pass test_a_document_is_found_and_fetched_only_by_the_person_it_was_issued_to
WDOC-5.9 pass test_wdoc_4_8_a_type_counts_only_in_the_issuers_own_country
WDOC-6.1 pass test_an_issued_document_is_the_certificate_signed_by_the_issuer, test_wdoc_6_1_a_member_with_no_value_is_left_out
WDOC-6.2 pass test_an_issued_document_is_the_certificate_signed_by_the_issuer
WDOC-6.3 pass test_a_malformed_document_is_not_issued
WDOC-6.4 pass test_a_malformed_document_is_not_issued
WDOC-6.5 pass test_an_issued_document_is_the_certificate_signed_by_the_issuer
WDOC-6.6 pass test_an_issued_document_is_the_certificate_signed_by_the_issuer
WDOC-6.7 pass test_an_issued_document_is_the_certificate_signed_by_the_issuer, test_wdoc_6_11_the_document_key_is_published_beside_the_call_key
WDOC-6.8 pass test_wdoc_6_1_a_member_with_no_value_is_left_out, test_an_issued_document_is_the_certificate_signed_by_the_issuer
WDOC-6.9 pass test_wdoc_6_9_exp_is_the_end_of_the_last_day, test_wdoc_6_1_a_member_with_no_value_is_left_out
WDOC-6.10 pass test_wdoc_6_11_the_document_key_is_published_beside_the_call_key, test_its_calls_go_to_its_home_exchange_signed
WDOC-6.11 pass test_wdoc_6_11_the_document_key_is_published_beside_the_call_key, test_health_and_keys
WDOC-6.12 pass test_wdoc_6_12_a_signed_document_is_never_changed
WDOC-8.1 pass test_an_issued_document_is_the_certificate_signed_by_the_issuer, test_suspend_restore_and_revoke
WDOC-8.2 pass test_suspend_restore_and_revoke, test_wdoc_8_6_a_suspended_document_is_still_found_and_says_so
WDOC-8.3 pass test_suspend_restore_and_revoke
WDOC-8.4 pass test_suspend_restore_and_revoke, test_only_the_home_exchange_may_find_fetch_or_ask_status
WDOC-8.5 pass test_wdoc_8_5_a_status_answer_names_nobody_and_needs_nobody
WDOC-8.6 pass test_suspend_restore_and_revoke, test_wdoc_8_6_a_suspended_document_is_still_found_and_says_so
WDOC-9.1 pass test_the_printable_copy_is_a_pdf_in_the_issuers_storage, test_nothing_is_on_record_if_the_printable_copy_cannot_be_stored
WDOC-9.2 pass test_wdoc_9_2_the_printable_copy_shows_the_document_and_says_it_is_a_copy
WDOC-9.5 pass test_wdoc_9_5_a_document_whose_copy_is_gone_is_still_sent_without_it, test_a_document_is_pushed_to_a_wallet_address_through_the_home_exchange
WDOC-10.1 pass test_what_cannot_be_pushed, test_wex_5_4_a_wallet_address_has_the_one_shape
WDOC-11.2 pass test_a_document_that_records_a_national_id_is_matched_on_the_number
WDOC-11.3 pass test_a_document_without_a_number_is_matched_on_the_name_whatever_the_wallet_knows, test_a_document_that_records_a_national_id_is_matched_on_the_number
WDOC-11.4 pass test_a_document_that_records_a_national_id_is_matched_on_the_number
WDOC-11.5 pass test_a_document_is_found_and_fetched_only_by_the_person_it_was_issued_to
WDOC-11.6 pass test_a_document_is_found_and_fetched_only_by_the_person_it_was_issued_to, test_a_document_that_records_a_national_id_is_matched_on_the_number, test_wex_9_4_another_issuers_uri_a_missing_document_and_someone_elses_are_answered_alike
WDOC-11.8 pass test_a_document_that_records_a_national_id_is_matched_on_the_number
OCI-WALLET-2 — 43 of 44 pass · 1 to do
WEX-14.2 untested app/service.py · push passes 403, 404, 409, 410 and 422 on as given and treats every other answer, any 502 included, as unknown (502 EXCHANGE_UNAVAILABLE); it never reads a message. No test asserts the classes.
WEX-3.1 pass test_anyone_but_the_home_exchange_is_refused, test_moving_to_another_exchange_changes_who_may_call
WEX-3.4 pass test_the_home_exchange_is_answered, test_moving_to_another_exchange_changes_who_may_call
WEX-3.5 pass test_anyone_but_the_home_exchange_is_refused, test_it_cannot_call_itself
WEX-3.6 pass test_anyone_but_the_home_exchange_is_refused, test_only_the_home_exchange_may_find_fetch_or_ask_status
WEX-3.9 pass test_anyone_but_the_home_exchange_is_refused, test_only_the_home_exchange_may_find_fetch_or_ask_status
WEX-3.10 pass test_its_calls_go_to_its_home_exchange_signed, test_without_an_active_home_exchange_it_calls_nobody, test_a_document_is_pushed_to_a_wallet_address_through_the_home_exchange
WEX-3.11 pass test_moving_to_another_exchange_changes_who_may_call
WEX-4.1 pass test_an_unsigned_call_is_refused, test_only_the_home_exchange_may_find_fetch_or_ask_status, test_health_and_keys
WEX-4.2 pass test_its_calls_go_to_its_home_exchange_signed, test_a_suspended_or_unknown_caller_is_refused
WEX-4.3 pass test_a_signature_for_a_different_request_is_refused, test_wex_4_3_the_configured_address_is_used_only_when_the_registry_lists_none, test_its_calls_go_to_its_home_exchange_signed
WEX-4.4 pass test_a_suspended_or_unregistered_service_serves_nobody, test_wex_4_4_a_service_that_is_not_in_the_registry_serves_nobody
WEX-4.5 pass test_someone_elses_key_does_not_verify, test_a_rotated_key_is_picked_up_by_one_refetch
WEX-4.6 pass test_wex_4_6_the_checks_are_made_in_order_and_the_first_failure_is_answered, test_an_unsigned_call_is_refused, test_an_old_or_future_signature_is_refused, test_a_signature_for_a_different_request_is_refused, test_a_suspended_or_unknown_caller_is_refused, test_a_changed_body_does_not_verify, test_a_signed_body_that_is_not_a_hello_is_a_validation_error
WEX-4.7 pass test_the_signature_is_checked_before_the_body
WEX-4.8 pass test_wex_4_8_when_the_registry_or_the_callers_keys_cannot_be_fetched_the_call_is_refused
WEX-4.9 pass test_a_rotated_key_is_picked_up_by_one_refetch
WEX-4.11 pass test_wex_4_11_a_push_carries_no_idempotency_key
WEX-4.12 pass test_wex_4_12_answers_are_not_signed_and_the_document_carries_its_issuers_signature
WEX-5.1 pass test_wex_5_1_every_call_is_a_post
WEX-5.2 pass test_wex_5_2_every_error_has_the_one_body
WEX-5.3 pass test_wex_5_3_a_member_the_call_does_not_define_is_refused, test_a_signed_body_that_is_not_a_hello_is_a_validation_error
WEX-5.4 pass test_wex_5_4_a_document_type_is_five_capital_letters, test_wex_5_4_a_uri_has_the_one_shape_at_fetch_and_at_status, test_wex_5_4_a_wallet_address_has_the_one_shape, test_a_malformed_uri_is_a_validation_error, test_what_cannot_be_pushed
WEX-5.5 pass test_suspend_restore_and_revoke
WEX-5.6 pass test_wex_5_6_person_is_a_name_and_perhaps_a_number_and_nothing_else, test_wex_5_6_a_name_of_120_and_a_number_of_40_characters_are_taken, test_a_document_is_found_and_fetched_only_by_the_person_it_was_issued_to
WEX-6.1 pass test_a_signed_body_that_is_not_a_hello_is_a_validation_error, test_wex_6_2_the_answer_to_a_hello, test_wex_6_3_a_hello_passes_only_when_every_part_of_the_answer_is_as_expected
WEX-6.2 pass test_wex_6_2_the_answer_to_a_hello, test_the_home_exchange_is_answered
WEX-6.3 pass test_wex_6_3_a_hello_passes_only_when_every_part_of_the_answer_is_as_expected, test_check_greets_the_home_exchange
WEX-8.5 pass test_wex_5_3_a_member_the_call_does_not_define_is_refused, test_find_says_what_it_found_and_no_more
WEX-8.6 pass test_find_is_only_for_types_the_issuer_is_accredited_for, test_wex_9_5_an_issuer_that_is_no_longer_accredited_neither_sends_nor_answers_status
WEX-8.7 pass test_find_takes_only_the_types_search_fields
WEX-8.8 pass test_find_matches_every_field_given, test_a_document_is_found_and_fetched_only_by_the_person_it_was_issued_to, test_suspend_restore_and_revoke
WEX-8.9 pass test_find_says_what_it_found_and_no_more, test_wex_8_9_a_found_document_with_no_expiry_says_null, test_wdoc_8_6_a_suspended_document_is_still_found_and_says_so
WEX-8.10 pass test_wdoc_4_14_an_empty_search_finds_the_documents_that_record_the_persons_number, test_wdoc_4_14_an_empty_search_without_a_national_id_is_refused, test_wdoc_4_14_a_search_that_gives_any_field_is_as_before
WEX-9.4 pass test_wex_9_4_another_issuers_uri_a_missing_document_and_someone_elses_are_answered_alike, test_a_document_that_is_not_this_issuers_is_not_found
WEX-9.5 pass test_wex_9_5_an_issuer_that_is_no_longer_accredited_neither_sends_nor_answers_status
WEX-9.6 pass test_suspend_restore_and_revoke, test_wdoc_8_6_a_suspended_document_is_still_found_and_says_so
WEX-9.7 pass test_wdoc_9_5_a_document_whose_copy_is_gone_is_still_sent_without_it, test_wdoc_6_12_a_signed_document_is_never_changed, test_suspend_restore_and_revoke
WEX-10.4 pass test_wdoc_8_5_a_status_answer_names_nobody_and_needs_nobody, test_wdoc_8_6_a_suspended_document_is_still_found_and_says_so, test_suspend_restore_and_revoke
WEX-10.5 pass test_a_document_that_is_not_this_issuers_is_not_found, test_wex_9_5_an_issuer_that_is_no_longer_accredited_neither_sends_nor_answers_status
WEX-11.1 pass test_a_document_is_pushed_to_a_wallet_address_through_the_home_exchange, test_wdoc_9_5_a_document_whose_copy_is_gone_is_still_sent_without_it
WEX-11.19 pass test_wex_11_19_a_push_is_delivered_only_on_a_200_that_names_the_wallet, test_a_document_is_pushed_to_a_wallet_address_through_the_home_exchange
WEX-14.4 pass test_a_push_the_wallet_refuses_is_said_as_it_was_given, test_wex_11_19_a_push_is_delivered_only_on_a_200_that_names_the_wallet, test_wex_4_11_a_push_carries_no_idempotency_key
WEX-15.1 pass test_wex_15_1_the_wallets_and_a_peer_exchanges_codes_reach_the_issuers_staff, test_a_push_the_wallet_refuses_is_said_as_it_was_given

From suite 0.1.0 (suite-v0.1.0, 32d2061) of the OCI protocols: each implementation's claims are in its own repository (conformance.json), and the results in conformance/results.