tickets
All repositories: gitoria
741 B
// AES-GCM round trip, fresh nonces and destination binding, using only a fixture storage key.import { sealPushSecret, pushSecret } from '../lib/subscription-push.hl'a = sealPushSecret('fixture-only-chat-secret', 'http://hc.test/api/push/123')b = sealPushSecret('fixture-only-chat-secret', 'http://hc.test/api/push/123')if (a == null || b == null || a.nonce == b.nonce || a.cipher == b.cipher) { hlError('secrets must use fresh nonces') }if (pushSecret({ secret = a pushUrl = 'http://hc.test/api/push/123' }) != 'fixture-only-chat-secret') { hlError('secret round trip failed') }if (pushSecret({ secret = a pushUrl = 'http://hc.test/api/push/456' }) != null) { hlError('destination binding failed') }console.log('SECRETS 3 passed')
Branches
Latest commits
- 506a4efdmission 028: #94, identity rulemre
- 78c7f48eRefine mpackdb holdmre
- 3d7d89c8Record mpackdb hold until day38mre
- f1bf7195#51 done; my subscription idmre
- 9870b945status: #51 proof greenmre
- e92173c6log: #51 live push proofmre
- 72d87041log: Hermes push livemre
- 1d69bf7dTickets conductor: park until Hermes pushmre
- 80d8cfd1Tickets conductor: #51 livemre
- 61641dd9Complete subscriptions deployment evidencemre
- c980856cRecord successful subscriptions deployment and live checksmre
- 4b4710adMerge branch 's51-subscriptions'mre
- a731ef7eTickets conductor: S51 reviewed, deploy stepmre
- b487b05aRecord verified direct push protocol handoffmre
- 74e34cc3Verify encrypted push secrets and direct push retry semanticsmre
- a1ac5cd0Push subscription notices directly to signed HyperConductor chat endpointsmre
- d662ad27Remove superseded waker service for direct chat push protocolmre
- c0ac927aTickets conductor: S51 redo for push protocolmre
- ff2e8701Finalize subscription build verification and handoff reportmre
- 07c6daeeTickets conductor: push allowlist URLsmre