<feed xmlns='http://www.w3.org/2005/Atom'>
<title>packages/libs/libjuice, branch master</title>
<subtitle>Mirror of packages feed</subtitle>
<id>https://git.openwrt.org/feed/packages/atom?h=master</id>
<link rel='self' href='https://git.openwrt.org/feed/packages/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/'/>
<updated>2026-09-01T00:17:38Z</updated>
<entry>
<title>libjuice: fix SHA-1 on big-endian targets</title>
<updated>2026-09-01T00:17:38Z</updated>
<author>
<name>Daniel Golle</name>
</author>
<published>2026-08-31T23:27:47Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=088999ef3d4a2065e9b36357c3c1365eb18783cd'/>
<id>urn:sha1:088999ef3d4a2065e9b36357c3c1365eb18783cd</id>
<content type='text'>
libjuice's vendored picohash guards the final byte-order swap in
_picohash_sha1_final with SHA_BIG_ENDIAN, which nothing defines, while
endianness is detected into _PICOHASH_BIG_ENDIAN. On big-endian targets
the swap runs when it must not and every SHA-1 digest is emitted with each
32-bit word reversed, taking HMAC-SHA1 with it.

libjuice uses HMAC-SHA1 for STUN MESSAGE-INTEGRITY, so on mips, mips64,
powerpc and every other big-endian target each ICE connectivity check is
rejected as failing integrity. No candidate pair is nominated and no
session can be established. picohash is the default backend, as USE_NETTLE
is off, so this affects the package as built here.

Verified on lantiq/xrx200 (mips_24kc, MIPS 34Kc): before the patch an ICE
agent loops with "STUN integrity check failed" and never leaves the
connecting state; after it the agent reaches completed and a session comes
up over the DHT and ICE. RFC 2202 HMAC-SHA1 test case 1 and the SHA-1
vector for "abc" both fail before and pass after.

Submitted upstream as paullouisageneau/libjuice#353 and, for the vendored
copy's origin, kazuho/picohash#13.

Signed-off-by: Daniel Golle &lt;daniel@makrotopia.org&gt;
</content>
</entry>
<entry>
<title>libjuice: add package</title>
<updated>2026-08-18T14:25:47Z</updated>
<author>
<name>Daniel Golle</name>
</author>
<published>2026-08-15T04:45:18Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=cacb362ff0948ef36119d944407ecf460cebf9a1'/>
<id>urn:sha1:cacb362ff0948ef36119d944407ecf460cebf9a1</id>
<content type='text'>
A lightweight ICE (RFC 8445) library with STUN, for peer-to-peer UDP
hole punching. Needed by comrade; also usable on its own.

Signed-off-by: Daniel Golle &lt;daniel@makrotopia.org&gt;
</content>
</entry>
</feed>
