Skip to main content

Module ticket

Module ticket 

Source
Expand description

Tickets: what a device hands each contact so they can notify it.

A ticket holds the device’s Web Push encryption keys in the clear (the contact encrypts to them) and its push address sealed to the pusher (only the pusher delivers). Each contact gets its own handle, MAC key, capability id and sealing randomness, so two contacts cannot tell they hold tickets for the same device.

Structs§

Capability
What only the pusher reads: enough to deliver, nothing about who it is for.
Ticket
TicketList
The rumor content carrying a device’s tickets to one contact.

Functions§

seal
unseal