Commit Graph
20 Commits
Author SHA1 Message Date
erikbrockoandClaude Opus 5.5 5a5fb6baaf Encrypt each packet with its own EAX cipher
TS3 derives a packet's key and nonce from its id, so resending a packet
encrypts it under the same pair again. BouncyCastle has since learned to
refuse that on a cipher that has already used the pair ("cannot reuse
nonce for EAX encryption"), which broke resends on the current version
the Android build uses. A fresh cipher per packet keeps them working.

Moves to bcprov-jdk18on 1.86, the maintained line, so every platform runs
the same BouncyCastle.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-25 08:42:48 +00:00
erikbrockoandClaude Opus 5 dce4e68150 Drop the commons-lang and dnsjava dependencies
Both were pulled in for a single call each: commons-lang for
ConstructorUtils.invokeConstructor when building a packet handler, and
dnsjava for the _ts3._udp SRV lookup. Together they added over a
megabyte to a shaded jar (and dnsjava drops jnamed/update classes into
the jar root). Plain reflection and JNDI's dns: provider cover both.

Also drop the BouncyCastleProvider registration: every digest here is
requested by a name the SUN provider already answers, so the only thing
it accomplished was keeping the whole JCE provider, the post-quantum
suite and the X.509 stack reachable for a shaded-jar tree-shaker.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-08-13 23:46:56 +00:00
Mario Beck f4aeca87f0 handle ts5/6 license correctly
allows joining of a ts6 beta server
2025-07-27 20:53:43 +02:00
Manevolent 5845af9574 Bump version to 1.0.2 to help folks more easily obtain a recent bugfix PR 2022-11-27 14:03:56 -07:00
dependabot[bot] 2ca35c8c0e Bump bcprov-jdk15on from 1.60 to 1.67
Bumps [bcprov-jdk15on](https://github.com/bcgit/bc-java) from 1.60 to 1.67.
- [Release notes](https://github.com/bcgit/bc-java/releases)
- [Changelog](https://github.com/bcgit/bc-java/blob/master/docs/releasenotes.html)
- [Commits](https://github.com/bcgit/bc-java/commits)

---
updated-dependencies:
- dependency-name: org.bouncycastle:bcprov-jdk15on
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-13 15:28:29 +00:00
dependabot[bot] e4f0b92cf3 Bump junit from RELEASE to 4.13.1
Bumps [junit](https://github.com/junit-team/junit4) from RELEASE to 4.13.1.
- [Release notes](https://github.com/junit-team/junit4/releases)
- [Changelog](https://github.com/junit-team/junit4/blob/main/doc/ReleaseNotes4.13.1.md)
- [Commits](https://github.com/junit-team/junit4/commits/r4.13.1)

Signed-off-by: dependabot[bot] <support@github.com>
2020-10-13 06:40:17 +00:00
sump pump f4e59b6d32 Update pom.xml
- Fixes an issue with unknown Teamspeak server events causing crashes
2020-05-25 19:33:05 -06:00
Manevolent 25c9942dd0 1.0 2020-01-12 20:04:12 -07:00
Manevolent 91187964c5 Ts3 INI identity loading 2018-11-05 14:48:31 -05:00
Manevolent 882812ff40 Merge remote-tracking branch 'origin/master' 2018-08-31 21:54:19 -04:00
Manevolent f248faad72 Add support for more missing events 2018-08-31 21:54:15 -04:00
Manevolent 61f35951e2 Weak TSDNS support (_udp SRV record type) 2018-08-23 09:18:24 -04:00
Manevolent becc64f297 Java 8 2018-08-19 10:44:30 -04:00
Manevolent da3495c297 Whisper support 2018-08-17 16:27:18 -04:00
Manevolent de6b4b370b Trying maven compiler target 2018-08-10 22:35:58 -04:00
Manevolent 2d21b701c5 Jitpack failed... 2018-08-10 22:28:39 -04:00
Manevolent e941a89c55 Huge refactor 2018-07-25 21:54:28 -04:00
Manevolent c4924eb335 Got past Init1, required a large refactor and the addition of bouncycastle.
Serious thanks to Splamy for doing a lot of the hard work already.
2018-07-23 20:35:36 -04:00
Manevolent c2dc7087ec Brought in my code and set up some unit tests to start out 2018-07-23 09:53:43 -04:00
Manevolent 3cff219b7b Initial commit 2018-07-23 09:38:28 -04:00