0
0
mirror of https://github.com/signalapp/libsignal.git synced 2024-09-20 03:52:17 +02:00
libsignal/java
Jordan Rose 70ec1ca26f
zkgroup: Add AuthCredentialWithPni
This is a variant of AuthCredential that carries two UUIDs, intended
to be a user's ACI and PNI. Why? Because when you've been invited to a
group, you may have been invited by your ACI or by your PNI, or by
both, and it's easier for clients to treat all those states the same
by having a credential that covers both identities. The downside is
that it's larger (both the data, obviously, but also the zkgroup proof
of validity, unsurprisingly).

AnyAuthCredentialPresentation gains a 'get_pni_ciphertext' method,
which will return `None` for the existing presentations and
`Some(encrypted_pni)` for the new credential. Having a separate
credential type but a common presentation type makes it easier for the
server to handle all possible credentials uniformly.
2022-06-21 15:11:57 -07:00
..
android Update artifact/package/module names across all three app languages 2022-03-23 10:49:09 -07:00
client zkgroup: Add AuthCredentialWithPni 2022-06-21 15:11:57 -07:00
docker Java: update reproducible build to Debian Buster (from Stretch) 2022-03-24 16:59:36 -07:00
gradle/wrapper Java: Update to Gradle 7.4, and several other build system updates 2022-03-07 16:51:19 -08:00
server Update artifact/package/module names across all three app languages 2022-03-23 10:49:09 -07:00
shared zkgroup: Add AuthCredentialWithPni 2022-06-21 15:11:57 -07:00
build_jni.sh Build boring-sys with OPENSSL_SMALL for both iOS and Android 2022-06-17 11:28:10 -07:00
build.gradle Bump version to v0.17.0 2022-05-13 14:30:30 -07:00
check_code_size.py Java: don't eagerly strip libsignal_client.so; let gradle do it for us 2021-08-30 12:33:18 -07:00
code_size.json Bump version to v0.17.0 2022-05-13 14:30:30 -07:00
Dockerfile device transfer: replace picky with boring 2022-06-16 13:14:17 -07:00
gradle.properties Java: Update to Gradle 7.4, and several other build system updates 2022-03-07 16:51:19 -08:00
gradlew Import v2.8.1 of libsignal-protocol-java 2020-11-05 17:59:09 -05:00
gradlew.bat Import v2.8.1 of libsignal-protocol-java 2020-11-05 17:59:09 -05:00
Makefile Update artifact/package/module names across all three app languages 2022-03-23 10:49:09 -07:00
settings.gradle Gradle: Conditionally throw an error when building without JDK 11 2022-03-22 10:19:47 -07:00