gitoria

tickets

All repositories: gitoria

ReadmeCodePull requestsReleasesTicketsSettings
Commit0bf3fefa0bf3fefaMission 030: edited state note labelmre0bf3fefa/tests/subscriptions-secrets.hl

741 B

  1. // AES-GCM round trip, fresh nonces and destination binding, using only a fixture storage key.
  2. import { sealPushSecret, pushSecret } from '../lib/subscription-push.hl'
  3. a = sealPushSecret('fixture-only-chat-secret', 'http://hc.test/api/push/123')
  4. b = sealPushSecret('fixture-only-chat-secret', 'http://hc.test/api/push/123')
  5. if (a == null || b == null || a.nonce == b.nonce || a.cipher == b.cipher) { hlError('secrets must use fresh nonces') }
  6. if (pushSecret({ secret = a pushUrl = 'http://hc.test/api/push/123' }) != 'fixture-only-chat-secret') { hlError('secret round trip failed') }
  7. if (pushSecret({ secret = a pushUrl = 'http://hc.test/api/push/456' }) != null) { hlError('destination binding failed') }
  8. console.log('SECRETS 3 passed')

Branches

Latest commits

  • 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
  • 3d7d89c8Record mpackdb hold until day38mre
  • f1bf7195#51 done; my subscription idmre
  • 9870b945status: #51 proof greenmre