gitoria

tickets

All repositories: gitoria

ReadmeCodePull requestsReleasesTicketsSettings
Branchm32-move772e0696|||PR Allow project admins to move tickets between their projectsmrem32-move/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

  • 772e0696|||PR Allow project admins to move tickets between their projectsmre
  • be92a560Merge branch 'records' into mainTickets
  • 0daf2ea8|||PR records: PR-only workflow, #50 donemre
  • 0185d0b6Log PR 1 deploymre
  • f5bf16e2Mission 031: deploy PR 1mre
  • c69cd5f3Merge branch 'pr-flow' into mainTickets
  • cc56798cLog gitoria PR-only requestmre
  • d876d0b2|||PR README: changes land as PRsmre
  • fd83ac1fconductor: caramboleyo is the user, not owner/creatorApollo
  • 3b858c91Log backup hard-link fixmre
  • 7f6b37a0deploy.sh backup: tar --hard-dereference (hard links broke mpackdb sidecars on restore)mre
  • e93711d9Log E30 livemre
  • 59c02e4dMerge e30: preserve edited state note labels in Markdownmre
  • 30970796Log E30 deploy GOmre
  • 7c8e6d83Limit edited state note fix to Markdown renderingmre
  • 910536d0Log E30 reviewmre
  • 36984386Preserve state transitions when their notes are editedmre
  • d75cb946Log E30 startmre
  • 0bf3fefaMission 030: edited state note labelmre
  • 691565c6Log neutral-ticket rule checkmre