Follow Discord
Sweep 22 Oct 2026 · 21:04Z Build v2.1.309 528 read Stable v2.1.308 Latest v2.1.309 Next v2.1.309 Feeds RSS JSON llms.txt llms-full.txt Unofficial
One change · api

inference-hooks-endpoint changedmanage-claude/inference-hooks-endpoint

Nearest release: v2.1.309, published 3 hours before this site recorded the change. Shown because the two are within 24 hours of each other. Nothing here says the release caused the edit.

Recorded here
Lines+2added
Lines−2removed
From line 709 where the diff opens
First seen 14 Aug 2026 this site's first read of the page
Recorded edits18to this page, all time

The whole hunk

from line 709, old and new numbered
/
lines
from line 709
709709 byte[] key;
710710 try {
711711 key = Base64.getDecoder().decode(
712 secret.startsWith("whsec_") ? secret.substring("whsec_".length()) : secret);
712 secret.startsWith("whsec_") ? secret.substring("whsec_".length()) : secret);
713713 } catch (IllegalArgumentException _) {
714714 return false; // misconfigured secret: reject rather than crash
715715 }
from line 720
720720 mac.init(new SecretKeySpec(key, "HmacSHA256"));
721721 mac.update((messageId + "." + timestamp + ".").getBytes(StandardCharsets.UTF_8));
722722 expected = ("v1," + Base64.getEncoder().encodeToString(mac.doFinal(body)))
723 .getBytes(StandardCharsets.UTF_8);
723 .getBytes(StandardCharsets.UTF_8);
724724 } catch (GeneralSecurityException impossible) {
725725 // Every JVM ships HmacSHA256, so this never fires at runtime.
726726 throw new IllegalStateException(impossible);
Feedback