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
- 7c8e6d83Limit edited state note fix to Markdown renderingmre
- 36984386Preserve state transitions when their notes are editedmre
- d75cb946Log E30 startmre
- 0bf3fefaMission 030: edited state note labelmre
- 691565c6Log neutral-ticket rule checkmre
- bc3bdecerecords: day38b live, #94 purgedmre
- f6c5aa0dMerge main (records)mre
- e23d42acconnect gate: wait for hydration before clicking Disconnectmre
- a5d45d00records: D38 cause, GOmre
- 19eeb938records: D38 gates, two day38b failuresmre
- f8e42a85Re-vendor tickets to Hybriel set day38b (1e554d7)mre
- 51645016Merge purge-94 (#94, identity rule)mre
- 94d6ca2arecords: D38 startedmre
- 9df09aacmission 029: day38b re-vendor + deploymre
- d2834f65records: #94 backup planmre
- 4467d8cbrecords: #94 purge readymre
- aa2d124eREADME: the #94 purge gatemre
- e843ff7cOne-time purge of miserit-anthar#94 (#94, identity rule): idempotent step in lib/migrate.hl, fixture gate tests/purge94.mjsmre
- 506a4efdmission 028: #94, identity rulemre
- 78c7f48eRefine mpackdb holdmre