Matt Corallo
6f3ee151f3
Add a BOB test-case around session closure
11 years ago
Matt Corallo
a6426194ef
Update BOB test cases
11 years ago
Matt Corallo
957587bd9a
Add identity keys to MAC, begin updating test cases
11 years ago
Matt Corallo
eab0911d3d
I lied, there is no verification tag
11 years ago
Matt Corallo
85f33345ab
Move test shuffling to js/testvectors.js
11 years ago
Matt Corallo
0088721343
Move AXOLOTL test vectors to js/testvectors.js
11 years ago
Matt Corallo
07f79cb4bf
Fix tester
11 years ago
Matt Corallo
7013c5e031
First steps towards BOB test vectors
11 years ago
Matt Corallo
ebcfd4736e
Fix session lookup in duplicate prekeymessage case
11 years ago
Matt Corallo
5040bfbe44
Fix pending verifications
11 years ago
Matt Corallo
a76ae2f1f8
Add verification tags, make alice tests strict(ish) again
11 years ago
Matt Corallo
287b55120d
First cut of ALICE test vectors
11 years ago
Matt Corallo
a8908646aa
Fix null flags in v3
11 years ago
Matt Corallo
0d4ae6a8cb
Fix undefined variable in for's (browser update to strict mode?)
11 years ago
Matt Corallo
de83429962
v3 steps
11 years ago
Matt Corallo
66bf371aa7
Use staging server (ie update to server keys v2) and protocolv3
11 years ago
Matt Corallo
53f8ac9ad9
Generate signed keys (breaks registration)
11 years ago
Matt Corallo
4c3ee6f23b
Compare equality w/o getString (in the future)
11 years ago
Matt Corallo
3190fe97f9
HMAC Update for Protov3
11 years ago
Matt Corallo
b5c6e3d101
JS ed25519
11 years ago
Matt Corallo
b94ba6b726
USE_NACL = true
11 years ago
Matt Corallo
7d27df9868
Report testing done
11 years ago
Matt Corallo
a2da4fffb0
Remove useless function
11 years ago
Marco
13a9329bcf
improved number validation (based on google's libphonenumber)
11 years ago
Matt Corallo
92514ad08f
Fix missing baseKey
11 years ago
Matt Corallo
ceca03c5d0
Close chainKey.key
11 years ago
lilia
ce3c5eb909
Refactor conversation list view
...
Pull apart UI classes for displaying and creating threads.
Also get rid of ugly alert popup in favor of Whisper.notify.
11 years ago
Matt Corallo
1ec6b0aed6
Better TODO wording
11 years ago
Matt Corallo
12a849957a
Refresh groups on (probably) new identity key (maybe more often?)
11 years ago
Matt Corallo
0f126fc0f8
Keep track of number->groups, add TODO to refresh, other tweaks
11 years ago
Matt Corallo
e495e8e3db
Group updates to match real protocol and get better checking
11 years ago
lilia
ec900e0ea4
Fix double display of outgoing messages
11 years ago
lilia
a09a4776d3
Fix incoming message display/storage
...
There were a few problems.
1. The message event was being triggered in background, not popup
2. The initial message/thread fetches from localStorage were mis-ordered
3. The timestamp wasn't being extracted from the right place
4. #3 caused messages to fail validation and not be saved
1-3 are fixed. To address 4 I switched validate() to log a warning
instead of preventing save.
11 years ago
Matt Corallo
c90b9a5c59
Some group update verification
11 years ago
Matt Corallo
b1ec02fa92
Group API
11 years ago
Matt Corallo
c953c6c16d
closeSession
11 years ago
Matt Corallo
d0fd3e94d8
sendMessage refactor, initial group stuff (breaks message storage)
11 years ago
Matt Corallo
fb2aa6144c
Merge pull request #45 from codedust/extractchrome
...
moved some chromium-specific code into chromium.js
11 years ago
Marco
5cddcb59aa
improved some css for options.html
11 years ago
Marco
69ba6581b0
moved some chromium-specific code into chromium.js (using extension.navigator namespace)
11 years ago
Matt Corallo
cf35b7056f
Retry API, standardize <script> list
11 years ago
Matt Corallo
8f49d201e6
Fix longstanding(?) attachment bug
11 years ago
Matt Corallo
c2d1d816f2
Save sessions in deviceObjects, test using fake_api, minor tweaks
11 years ago
Matt Corallo
1724d122d3
More typos from me being too tired
11 years ago
Matt Corallo
5cea7b6857
Few typos blocking registration
11 years ago
Matt Corallo
eb80a10ed1
Fix new function(){}() typo (thanks codedust on GitHub)
11 years ago
Matt Corallo
aec36468bc
Request new keys (largely untested)
11 years ago
Matt Corallo
56433bd9af
One more tiny error refactor
11 years ago
Matt Corallo
68131a6e2a
Add human readable version of errors
11 years ago
Matt Corallo
753a950816
Redo registration process
11 years ago
lilia
83508abab8
Thread model and UI improvements
...
Adds thread model/collection for managing conversation-level state, such
as unreadCounts, group membership, thread order, etc... plus various UI
improvements enabled by thread model, including an improved compose
flow, and thread-destroy button.
Adds Whisper.notify for presenting messages to the user in an orderly
fashion. Currently using a growl-style fade in/out effect.
Also some housekeeping:
Cut up views into separate files.
Partial fix for formatTimestamp.
Tweaked buttons and other styles.
11 years ago
Matt Corallo
2d12a33ead
Fix decoding/protos/tests
11 years ago
Matt Corallo
ac48d552fa
Fix some bugs recently introduced
11 years ago
Matt Corallo
21b95ce1d3
Re-create some of d9bf0a4
, which was broken and reverted in 1e6720
11 years ago
Matt Corallo
18f1eed70f
Some number verification refactor stuff
11 years ago
Matt Corallo
d387cd22f5
s/getEncodedNumber// (with XXXs)
11 years ago
Matt Corallo
9aae93fc99
textsecure.protos
11 years ago
lilia
1e672030de
Fix a couple things broken in d9bf0a4
...
Slight revert from said commit. We really do need the
IncomingPushMessageSignal protobuf at the UI layer, mostly because
it contains the 'source' attribute, without which we don't know
who sent the message.
Also fix a crash when there are no attachments on a message.
11 years ago
lilia
de0a1df3ca
Fix broken registration flow
...
Better load the functions defined in chromium.js before trying to use
them. Hmm.. also, options.js should probably wait for the DOM to load
before it tries to initialize things in it.
11 years ago
Matt Corallo
d9bf0a41fb
textsecure.storage, chromium.js
11 years ago
Matt Corallo
ee2f43aba4
Fix, display (image) attachments
11 years ago
Matt Corallo
be82547ea1
Move message saving out of helpers.js
11 years ago
lilia
3bd559bbaa
DRY up PushMessageContentProtobuf construction
...
Messages now know how to protobuf-ify themselves.
11 years ago
lilia
2601c3cc3a
Rename some things to be a little more semantic
...
The 'sender' field actually holds the recipient for outgoing
messages. Rename that field to 'person', indicating the 2nd
party generically.
Also decouples the thread name from thread recipients at the
view layer, in preparation for group support.
11 years ago
Marco
14ebef70cb
fixed 'TypeError: Promise.resolve is not a constructor' in Firefox
11 years ago
lilia
810aabf2a6
Save messages from 'Compose' UI
11 years ago
lilia
b852e68290
Backbone message storage and views
...
Adds Backbone-based Whisper.Messages model/collection with local storage
extension. Saves sent and received messages in Whisper.Messages instead
of message map. This will assign a unique id to the message and save it
to localStorage.
Adds Backbone-based view to popup.html
Automatically updates itself when new messages are saved to
Whisper.Messages db from the background page.
Added some shiny new styles, and started splitting up css into multiple
files for sanity's sake.
11 years ago
lilia
170257dafb
Fix subscribeToPush is not defined
11 years ago
lilia
ed3aa9667d
Fix undefined URL_BASE in background.js
...
Sieze an opportunity to move code out of the helpers.js.
Only 616 more lines to go.
11 years ago
Matt Corallo
4efb8a2616
Fix NaCL (maybe it should be removed?)
11 years ago
Matt Corallo
6bc19ef558
More namespacing
11 years ago
Matt Corallo
05101b69b0
Some initial helpers.js namespaceing
11 years ago
Matt Corallo
07a23f0759
Fix attachments
11 years ago
Matt Corallo
3103eaa192
Commit broken attachment loader (S3 403s I can't figure out...)
11 years ago
Matt Corallo
ea1bd535dc
Fix interpretation of prekeymsg.registrationId
11 years ago
Matt Corallo
2f16b884a5
Fixup last commit
11 years ago
Matt Corallo
e3097746c0
Check registration ID on prekeymsg
11 years ago
Matt Corallo
76e7dcb77d
Clean up session retreival ( fixes #30 )
11 years ago
Matt Corallo
8d408e6d8f
THOUGH SALL USE TABSTOP AND SHIFTWIDTH 4 (so that indents read right)
11 years ago
Matt Corallo
ae41a5df71
Merge remote-tracking branch 'lilia/master'
11 years ago
Matt Corallo
d5491bda0b
Stop an attacker from closing a session that isn't theirs ( #29 )
11 years ago
Matt Corallo
3a812d4958
Multi-session storage for close/regular message race conditions
11 years ago
Matt Corallo
cdebc8afb4
Also delete chain key
11 years ago
Matt Corallo
08093a206d
Fix old chain deletion
11 years ago
Matt Corallo
605863ffa3
Fix decryption of large messages (eg w/ attachments)
11 years ago
lilia
e3b00e08f3
Generate and submit registrationId, fixes #25
...
If we're expecting to get registrationIds from others, it's only fair
that we also supply our own.
11 years ago
Matt Corallo
5752a772d1
promises, type conversion errors
11 years ago
Matt Corallo
caa363b929
FINALLY report crypto, etc errors to console thanks to promises...
11 years ago
Matt Corallo
a7de5e2159
last(?) round of crypto.js AB-type-conversion changes, new tests
11 years ago
lilia
1d95fcc027
Fix exception in options.js on first run
...
Fixes #22 Uncaught ReferenceError: getRandomBytes is not defined
options.js:41
11 years ago
Matt Corallo
5583e82a20
Refactor some low-level crypto things
11 years ago
Matt Corallo
905357a2e1
More wholesale conversion to promises
11 years ago
Matt Corallo
efe2fa1021
Move crypto things to js/crypto.js
11 years ago
Matt Corallo
2b21111d7b
Fix/test pre key generation
11 years ago
Matt Corallo
3fffbad11a
Fix now-broken test cases and change lots of things over to promises
11 years ago
lilia
41d50d7480
Lilia's Webcrypto branch rebased and a few very tiny tweaks
11 years ago
Matt Corallo
1137f9d711
Add TODO file showing what still needs to be done
11 years ago
Matt Corallo
138581701c
tweak ui things a tiny bit
11 years ago
Matt Corallo
3e60368a16
LGPL license (I'd like to be an axolotl/TS JS lib in the future)
11 years ago
Matt Corallo
01c4f3dd56
Fix ALL the things!
11 years ago