Skip to content

Implement ticket sync #2

@spotlightishere

Description

@spotlightishere

[Migrating from spotlightishere/WiiSOAP#1.)

Patches exist to permit ticket verification. A table needs to be created to track ticket sync (the NotifyETicketsSync action) and we need to determine how EC handles keeping state of tickets.

Take the action GetETicketsRequestType as sent by a Wii as a point of reference:

<ecs:GetETickets xsi:type="ecs:GetETicketsRequestType">
   <!-- Common fields -->
   <ecs:TitleIdTicketId>
    <ecs:TitleId>0000000000000002</ecs:TitleId>
    <ecs:TicketId>8</ecs:TicketId>
  </ecs:TitleIdTicketId>
  <ecs:TitleIdTicketId>
    <ecs:TitleId>0000000000000007</ecs:TitleId>
    <ecs:TicketId>8</ecs:TicketId>
  </ecs:TitleIdTicketId>
  <!-- Device-specific certificate -->
</ecs:GetETickets>

We will generate ticket IDs associated to the issued account's ID and correlate the sent version for update usage.

A to-do list:

  • Handle NotifyETicketsSync
  • Handle ListETickets
  • Handle anything else ETickets-sync adjacent
  • Handle purchasing titles (even for free), as we send tickets upon download there
  • Properly associate issued titles in owned_titles
  • Handle tickets via tickets table

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    ???

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions