Commit graph

163 commits

Author SHA1 Message Date
toby
22467537be Remove 4096 key pairs
Rarely, if ever, used. It is now trivial to generate and test in the
actual web app.
2017-03-11 14:59:26 -05:00
toby
f7b1e6e309 Add and update PGP operations
Added:
+ PGP Sign cleartext
+ PGP Verify cleartext
+ PGP Add ASCII Armor
+ PGP Remove ASCII Armor
+ Many tests for all operations

Updated:
+ PGP Encrypt (formatting of error messages)
+ PGP Decrypt (^^)
+ PGP Sign (this operation is now exclusively for non-clearsigned)
+ PGP Verify (^^)
2017-03-11 14:57:05 -05:00
toby
3d661c953f Enable test runner to compare ignoring whitespace 2017-03-11 14:55:53 -05:00
toby
d440b3b398 Change text timeout to 30 seconds 2017-03-11 14:55:24 -05:00
toby
728b4ea89d Change PGP Decrypt password argument to string 2017-03-08 11:56:00 -05:00
toby
213de7a941 Fix jsdoc typos and remove unnecessary comment 2017-03-08 11:55:26 -05:00
toby
67f94df060 Implement PGP encrypt and PGP decrypt operations 2017-03-07 13:05:09 -05:00
toby
7f0ce0da8d Fix typo in "Fork, Cond Jump, Encodings" test 2017-03-04 11:05:05 -05:00
toby
8d4876a055 Fix Return operation 2017-03-04 11:04:17 -05:00
n1474335
51d3c89133 Merge pull request #86 from tlwr/feature-async-ops
Add Jump and Conditional Jump tests
2017-03-04 10:48:29 +00:00
toby
8c3f351ab6 Add Jump and Conditional Jump tests 2017-03-01 21:16:43 -05:00
n1474335
cb642c156b Merge branch 'master' into feature-async-ops 2017-03-01 23:45:05 +00:00
n1474335
a4197684e5 Added licencing info to README 2017-03-01 21:45:49 +00:00
n1474335
fc9c2d1f6e BUGFIX: HTML output which is then converted to a regular string (for a standard operation) still contained escaped HTML chars. 2017-03-01 21:33:28 +00:00
n1474335
70603be5ab BUGFIX: Jump operations skipping an operation once maxJumps reached. 2017-03-01 21:20:42 +00:00
n1474335
3ad4291258 Added Fork and Conditional Jump test 2017-03-01 21:13:20 +00:00
n1474335
d91bdd7f8f Merge branch 'tlwr-tests' 2017-02-28 17:09:22 +00:00
n1474335
d7e396c04f Tweaks and restructuring of test runner. 2017-02-28 17:08:36 +00:00
n1474335
6e5ea5d75f Merge branch 'tests' of https://github.com/tlwr/CyberChef into tlwr-tests 2017-02-28 13:05:03 +00:00
n1474335
9f75077fe8 Async operation code tidy. 2017-02-27 17:29:43 +00:00
toby
3a90244af0 Convert test runner to headless 2017-02-24 18:50:17 -05:00
n1474335
11e06eeb75 Fixed merge conflict 2017-02-24 18:14:37 +00:00
n1474335
7355bf5998 Merge pull request #83 from gchq/feature-ipv4header
Feature: 'Parse IPv4 header' operation
2017-02-24 17:14:23 +00:00
toby
04df7a51d2 Handle case when expected error and receives none 2017-02-23 14:30:19 -05:00
toby
3d89881373 Fix typo in TestRegister.js 2017-02-23 14:04:50 -05:00
toby
d680b4a06f Merge remote-tracking branch 'upstream/master' into tests 2017-02-23 14:04:30 -05:00
toby
500522bdeb Initial work on in-browser test runner
Run `grunt test` and open up the `build/test/index.html` to run the
tests.
2017-02-23 13:59:58 -05:00
toby
9404f1e0b8 Fix bug when only fork is called
If fork was called with no following operations, progress was undefined,
this caused an infinite loop.
2017-02-22 14:36:14 -05:00
n1474335
d6cebe55ab Merge branch 'master' into feature-ipv4header 2017-02-21 19:52:36 +00:00
n1474335
be07fe81ed Completed 'Parse IPv4 header' operation candidate. 2017-02-21 19:40:19 +00:00
n1474335
6505c4e6d8 Built new production version to incorporate Morse Code improvements. 2017-02-18 16:15:42 +00:00
n1474335
fa20939dd4 Added initial functionality for 'Parse IPv4 header' operation. 2017-02-18 16:13:19 +00:00
n1474335
6bb6363b0f Merge pull request #74 from misterRaven/master
Morse code improvements
2017-02-18 16:10:58 +00:00
toby
5f1870a6c8 Merge remote-tracking branch 'upstream/master' 2017-02-14 14:58:16 -05:00
toby
f268f11d72 Update stats 2017-02-14 14:55:27 -05:00
toby
343d350af8 Initial async work
Operations can now:
1) return their progress directly.
2) throw an error.
3) (ADDED) return a promise:
  + that resolves to their progress.
  + that rejects an error message (like throwing but asynchronous).
  For an example see the new operation "Wait" (Flow Control)

Added a flow control operation "Wait", which waits for the number of
milliseconds passed in as its argument. It is a fairly useless operation
but it does demonstrate how asynchronous operations now work.

A recipe like:
```
Fork
Wait (1000ms)
```
will only wait for 1000ms (each wait runs at the same time as each
other).

I have not looked into performance implications yet, also this code is
probably more complicated than it needs to be (would love help on this).
2017-02-14 14:54:51 -05:00
n1474335
92bd2c921e Built production version with Base58 and NetBIOS operations. Closes #48. 2017-02-13 18:12:55 +00:00
n1474335
701ea5890d Merge pull request #78 from tlwr/master
Base58 operations
2017-02-13 17:50:38 +00:00
n1474335
f8744df907 Merge pull request #75 from gchq/feature-netbios
'Encode NetBIOS Name' and 'Decode NetBIOS Name' operations
2017-02-13 17:49:32 +00:00
n1474335
4d14e20afb Merge pull request #80 from gchq/bug-canvascomponents
BUGFIX: CanvasComponents naming conventions updated to match main pro…
2017-02-13 17:49:19 +00:00
n1474335
edb418a3fc BUGFIX: CanvasComponents naming conventions updated to match main project settings. Fixes 'Entropy' and 'Frequency distribution' operations. 2017-02-13 17:48:24 +00:00
toby
11e972ff26 Change description in Base58.js 2017-02-10 13:45:20 -05:00
toby
9125d74fa2 Merge branch 'base58' 2017-02-10 13:34:21 -05:00
toby
e26e6a4961 Add "To Base58" and "From Base58" operations 2017-02-10 13:31:59 -05:00
n1474335
522e7a9439 Merge pull request #77 from gchq/bug-html-entities
Fixed double encoding of HTML entities.
2017-02-10 16:38:06 +00:00
n1474335
f76316eae3 Fixed double encoding of HTML entities by improving Utils.escapeHTML. Fixes #76. 2017-02-10 16:39:32 +00:00
n1474335
0e2ce2bee2 Rebuilt production version to include tar and untar ops. 2017-02-10 12:21:51 +00:00
n1474335
ea38664d59 Merge pull request #71 from tlwr/master
Tar and Untar (and Unzip changes)
2017-02-10 12:12:02 +00:00
n1474335
ee5aea5443 Added 'Encode NetBIOS Name' and 'Decode NetBIOS Name' operations 2017-02-10 11:57:23 +00:00
toby
0fd2550190 Improve and fix examples for padBytesRight 2017-02-09 13:37:30 -05:00