Matt Corallo
28779e0b35
Fix tests by returning promises
11 years ago
Matt Corallo
d9f53d4c01
Fix not-allowed inline scripts error
11 years ago
lilia
2751d0e884
Such tests. Very mocha. Much chai. Amaze!!!
...
ERHMAGERRRD testing frameworks are so the best. Removed all our custom
code for ensuring test exclusivity and doneness and isolating callbacks
and everything. mocha does it all for us, and makes it pretty.
Also rather than return a long chain of promises that eventually resolve
to truthiness, we now use chai to make assertions about what is good and
right in the world.
Recommended reading:
https://visionmedia.github.io/mocha
http://chaijs.com/api/assert/
11 years ago
Matt Corallo
6455da5c9a
Refactor a bunch of stuff re: session closing, add test cases
11 years ago
Matt Corallo
c427da04f0
Add closeSession tests as Alice and fix re-requesting prekeys
11 years ago
Matt Corallo
6f3ee151f3
Add a BOB test-case around session closure
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
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
de83429962
v3 steps
11 years ago
Matt Corallo
53f8ac9ad9
Generate signed keys (breaks registration)
11 years ago
Matt Corallo
3190fe97f9
HMAC Update for Protov3
11 years ago
Matt Corallo
b5c6e3d101
JS ed25519
11 years ago
Matt Corallo
7d27df9868
Report testing done
11 years ago
Matt Corallo
d0fd3e94d8
sendMessage refactor, initial group stuff (breaks message storage)
11 years ago
Matt Corallo
c2d1d816f2
Save sessions in deviceObjects, test using fake_api, minor tweaks
11 years ago
Matt Corallo
2d12a33ead
Fix decoding/protos/tests
11 years ago
Matt Corallo
9aae93fc99
textsecure.protos
11 years ago
Matt Corallo
d9bf0a41fb
textsecure.storage, chromium.js
11 years ago
Matt Corallo
6bc19ef558
More namespacing
11 years ago
Matt Corallo
05101b69b0
Some initial helpers.js namespaceing
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
8d408e6d8f
THOUGH SALL USE TABSTOP AND SHIFTWIDTH 4 (so that indents read right)
11 years ago
Matt Corallo
08093a206d
Fix old chain deletion
11 years ago
Matt Corallo
a7de5e2159
last(?) round of crypto.js AB-type-conversion changes, new tests
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
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
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
Matt Corallo
705f8ce818
generic-ize
11 years ago
Matt Corallo
87c19c0c94
Another step forward
11 years ago
Matt Corallo
d56c3e1051
Add bit for !identityKey and commit wip test-cases
11 years ago
Matt Corallo
2ae5628122
Send-to-self works =D
11 years ago
Matt Corallo
fee6a69083
Optional curve25519 in js
11 years ago
Matt Corallo
85f419b923
Passing test-cases (fscking type conversions...)
11 years ago
Matt Corallo
e932536dfd
Untested send-encrypted support
11 years ago
Matt Corallo
fe570c754a
Genericify initSession (and break it for alice)
11 years ago
Matt Corallo
611d5329d3
Pass tests
11 years ago
Matt Corallo
6e0fe271ab
Few more steps
11 years ago
Matt Corallo
dd3dd11b32
Updates, more tests, etc
11 years ago
Matt Corallo
3c603c72b4
Lots of updates post-test-cases
11 years ago
Matt Corallo
8db3885659
Updates, NaCL
11 years ago
Matt Corallo
eec4c66ef6
Fixup dir structure
11 years ago