Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement ticket sync #2

Open
3 of 6 tasks
spotlightishere opened this issue Dec 21, 2020 · 0 comments
Open
3 of 6 tasks

Implement ticket sync #2

spotlightishere opened this issue Dec 21, 2020 · 0 comments

Comments

@spotlightishere
Copy link
Contributor

spotlightishere commented Dec 21, 2020

[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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: ???
Development

No branches or pull requests

1 participant