[jitsi-dev] using zrtp4j on Android?


#1

Has anybody used zrtp4j on Android?

Does it have BouncyCastle issues[1] on Android?

I asked about this on the issue tracker[2] too

Regards,

Daniel

1. https://rtyley.github.io/spongycastle/
2. https://github.com/wernerd/ZRTP4J/issues/3


#2

Has anybody used zrtp4j on Android?

Jitsi for Android does.

Does it have BouncyCastle issues[1] on Android?

I asked about this on the issue tracker[2] too

The ant-build [3] renames org.bouncycastle imports in zrtp4j to org.jitsi.bouncycastle (BouncyCastle is renamed to that namespace) with the JarJarTask.

Regards,
Daniel

Ingo

1. https://rtyley.github.io/spongycastle/
2. https://github.com/wernerd/ZRTP4J/issues/3

3. https://github.com/jitsi/jitsi-android/blob/master/build.xml


#3

Is this identical to the approach taken by SpongyCastle? SpongyCastle
is in Maven, so maybe using that instead will reduce the number of
things Jitsi has to maintain?

Did you see the comments under their heading "Using Spongy Castle" and
using Security.insertProviderAt() ?

ZORG ZRTP also did a BouncyCastle rename, they chose to shorten the
package name because some of the filenames became too long for tools on
Windows.

Regards,

Daniel

ยทยทยท

On 10/10/15 23:00, Ingo Bauersachs wrote:

Has anybody used zrtp4j on Android?

Jitsi for Android does.

Does it have BouncyCastle issues[1] on Android?

I asked about this on the issue tracker[2] too

The ant-build [3] renames org.bouncycastle imports in zrtp4j to org.jitsi.bouncycastle (BouncyCastle is renamed to that namespace) with the JarJarTask.


#4

Is this identical to the approach taken by SpongyCastle? SpongyCastle
is in Maven, so maybe using that instead will reduce the number of
things Jitsi has to maintain?

No, SpongyCastle renamed the packages in the source files and provides a distribution based on that. JarJar renames the packages of an existing jar, i.e. the original BouncyCastle and ZRTP4J. So we don't really need to maintain anything. It's an ant-task that runs before the .apk generation.

Did you see the comments under their heading "Using Spongy Castle" and
using Security.insertProviderAt() ?

No, and I actually was never involved with the Android stuff. Pawel would be the one knowing what's going on exactly.

ZORG ZRTP also did a BouncyCastle rename, they chose to shorten the
package name because some of the filenames became too long for tools on
Windows.

Regards,

Daniel

Ingo