Commit Graph

14 Commits

Author SHA1 Message Date
Michael Kirk a2852ee930 Overflow math and safer asserts in Cryptography.m
Also removed some unused code
2018-09-07 11:02:52 -06:00
Matthew Chen d709a02493 Clean up formatting. 2018-08-06 09:02:40 -04:00
Michael Kirk 0bc03b0fd4 Move seed 2018-08-03 14:26:43 -06:00
Matthew Chen 4a4edc68e7 Clean up data. 2018-07-26 17:20:11 -06:00
Michael Kirk 8c5d6ba9bb Respond to code review. 2018-07-23 12:21:54 -06:00
Michael Kirk b42f528713 Integrate with new contact discovery endpoint
Also:
* use system cookie parsing
* add AESGCM additional authenticated data parameter

// FREEBIE
2018-07-23 12:21:54 -06:00
Matthew Chen 6686ecb125 Remote attestation. 2018-07-20 09:55:17 -04:00
Matthew Chen 1a441cc40c Respond to CR. 2018-05-22 14:24:04 -04:00
Matthew Chen 9815bca825 Clean up ahead of PR. 2017-12-19 11:16:01 -05:00
Michael Kirk cbbb376860 Handle receiving padded attachments
Don't send padded attachments yet.

// FREEBIE
2017-10-27 08:47:53 -07:00
Michael Kirk 259695a9fd Attachments require digest or show explanatory error.
// FREEBIE
2017-10-27 08:42:54 -07:00
Michael Kirk 72fbb02028 aes-gcm via openssl
// FREEBIE
2017-08-21 16:37:16 -04:00
Michael Kirk 7499b3aaf0 Avatar API integration / WIP crypto scheme
Crypto Scheme:

- Name (un)padding
- WIP AES-GCM (funtioning, but need to verify against android
  implementation, and tag functionality)

Changes to avatar API:

- hard code avatar domain (cdn.signal.org)
- avatar form hands out new avatar key, invalidating old avatar
- preliminary aes-gcm integration

Also:

- New type to represent AES128 keys, rather than passing around opaque
  data blobs everywhere, we can use the compiler to help us make sure
  we're passing compliant keying material.

- Started using factory pattern for API requests. This is intended to be
  a lighter weight way to implement new API requests, rather than the
  current 1-method class ceremony.

// FREEBIE
2017-08-14 12:45:37 -04:00
Michael Kirk ccb4a88742 Import SSK (and history) into Signal-iOS
git remote add ssk ../SignalServiceKit
git remote update
git merge -s ours --allow-unrelated-histories --no-commit ssk/master
git read-tree --prefix=SignalServiceKit -u ssk/master
git commit
2017-07-21 13:55:01 -04:00