You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
session-desktop/libtextsecure
Lilia ae190fed44
Profiles (#1453)
* Add AES-GCM encryption for profiles

With tests.

* Add profileKey to DataMessage protobuf

// FREEBIE

* Decrypt and save profile names

// FREEBIE

* Save incoming profile keys

* Move pad/unpad to crypto module

// FREEBIE

* Support fetching avatars from the cdn

// FREEBIE

* Translate failed authentication errors

When AES-GCM authentication fails, webcrypto returns a very generic error. The
same error is thrown for invalid length inputs, but our earlier checks in
decryptProfile should rule out those failure modes and leave us safe to assume
that we either had bad ciphertext or the wrong key.

// FREEBIE

* Handle profile avatars (wip) and log decrypt errors

// FREEBIE

* Display profile avatars

Synced contact avatars will still override profile avatars.

* Display profile names in convo list

Only if we don't have a synced contact name.

// FREEBIE

* Make cdn url an environment config

Use different ones for staging and production

// FREEBIE

* Display profile name in conversation header

* Display profile name in group messages

* Update conversation header if profile avatar changes

// FREEBIE

* Style profile names small with ~

* Save profileKeys from contact sync messages

// FREEBIE

* Save profile keys from provisioning messages

For standalone accounts, generate a random profile key.

// FREEBIE

* Special case for one-time sync of our profile key

Android will use a contact sync message to sync a profile key from Android
clients who have just upgraded and generated their profile key. Normally we
should receive this data in a provisioning message.

// FREEBIE

* Infer profile sharing from synced data messages

* Populate profile keys on outgoing messages

Requires that `profileSharing` be set on the conversation.

// FREEBIE

* Support for the profile key update flag

When receiving a message with this flag, don't init a message record, just
process the profile key and move on.

// FREEBIE

* Display profile names in group member list

* Refresh contact's profile on profile key changes

// FREEBIE

* Catch errors on profile save

// FREEBIE

* Save our own synced contact info

Don't return early if we get a contact sync for our own number

// FREEBIE
8 years ago
..
storage Cache messages on receipt, remove from cache when processed 8 years ago
test Profiles (#1453) 8 years ago
ProvisioningCipher.js Profiles (#1453) 8 years ago
account_manager.js Profiles (#1453) 8 years ago
api.js Profiles (#1453) 8 years ago
components.js
contacts_parser.js Profiles (#1453) 8 years ago
crypto.js Profiles (#1453) 8 years ago
errors.js Decrypt any IncomingIdentityKeyError still sticking around 8 years ago
event_target.js Animated loading screens on startup and first conversation load 8 years ago
helpers.js Move, rename, and simplify toArrayBuffer helper 10 years ago
key_worker.js
libsignal-protocol.js Set messageKeysLimit to unlimited if communicating with our devices (#1348) 8 years ago
message_receiver.js Profiles (#1453) 8 years ago
outgoing_message.js Fix for "Can't find record for undefined.1" 8 years ago
protobufs.js Protobufs: More logging on failure to load protobufs, fix tests 8 years ago
protocol_wrapper.js Update libsignal-protocol v0.9.0 10 years ago
sendmessage.js Profiles (#1453) 8 years ago
storage.js
stringview.js
sync_request.js Add logging to help track down problems with Sync 8 years ago
task_with_timeout.js createTaskWithTimeout: Don't log expiration if task threw (#1412) 8 years ago
websocket-resources.js Certificate pinning via node XMLHttpRequest implementation (#1394) 8 years ago