memos/internal
boojack f497f009ce fix(webhook): fail loud on malformed signing secret and add tests
Follow-up to #6013. The signing path silently fell back to using the raw
secret string as the HMAC key when a whsec_-prefixed secret had invalid
base64, producing signatures no receiver could verify with no server-side
signal.

- Extract resolveSigningKey helper that errors on invalid whsec_ base64
- Post returns that error (logged by the async dispatcher); ValidateSigningSecret
  rejects it at write time so a bad secret is never stored
- Fix stale comment referencing a nonexistent Authorization header
- Add Go tests: key derivation, secret validation, end-to-end signature
  round-trip, and the invariant that the secret never leaks into API responses
2026-06-09 22:58:10 +08:00
..
ai refactor: split STT and Audio-LLM into separate interfaces (#5928) 2026-05-03 00:21:58 +08:00
base fix: user resource names can be uuidv4 from idp sub claim (#5856) 2026-04-19 13:05:08 +08:00
cron refactor: move plugin packages under internal 2026-04-06 11:10:32 +08:00
email feat(notification): add smtp email settings 2026-05-01 18:48:21 +08:00
filter refactor: move plugin packages under internal 2026-04-06 11:10:32 +08:00
httpgetter fix: support <meta name=description> in link previews (#6000) 2026-06-02 23:02:21 +08:00
idp feat: redesign account and SSO management (#5886) 2026-04-24 09:08:58 +08:00
markdown fix(markdown): ignore tags inside links 2026-06-06 00:01:28 +08:00
motionphoto feat(attachments): add Live Photo and Motion Photo support (#5810) 2026-04-06 10:47:01 +08:00
profile chore(settings): show build commit in version info 2026-04-27 08:51:11 +08:00
scheduler refactor: move plugin packages under internal 2026-04-06 11:10:32 +08:00
storage/s3 refactor: move plugin packages under internal 2026-04-06 11:10:32 +08:00
testutil feat(attachments): add Live Photo and Motion Photo support (#5810) 2026-04-06 10:47:01 +08:00
util feat: update gomark dependency and refactor markdown parsing logic 2025-09-17 21:09:30 +08:00
version fix(release): inject build version into artifacts 2026-04-19 12:02:32 +08:00
webhook fix(webhook): fail loud on malformed signing secret and add tests 2026-06-09 22:58:10 +08:00