Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Issue 29354773: Issue 4465 - Move rsa module from adblockpluschrome (Closed)

Created:
Sept. 23, 2016, 12:27 p.m. by kzar
Modified:
Sept. 25, 2016, 1:28 p.m.
Reviewers:
Wladimir Palant
Visibility:
Public.

Description

Issue 4465 - Move rsa module from adblockpluschrome

Patch Set 1 #

Total comments: 4

Patch Set 2 : Add unit tests #

Total comments: 6

Patch Set 3 : Define atob in test_wrapper.js #

Total comments: 4

Patch Set 4 : Add btoa and navigator stub #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1337 lines, -0 lines) Patch
A lib/jsbn.js View 2 3 1 chunk +588 lines, -0 lines 0 comments Download
A lib/rsa.js View 1 2 1 chunk +191 lines, -0 lines 0 comments Download
A lib/rusha.js View 1 chunk +418 lines, -0 lines 0 comments Download
A test/signatures.js View 1 1 chunk +136 lines, -0 lines 0 comments Download
M test_wrapper.js View 1 2 3 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 10
kzar
Patch Set 1 https://codereview.adblockplus.org/29354773/diff/29354774/lib/jsbn.js File lib/jsbn.js (right): https://codereview.adblockplus.org/29354773/diff/29354774/lib/jsbn.js#newcode48 lib/jsbn.js:48: exports.BigInteger = BigInteger; I had trouble ...
Sept. 23, 2016, 12:29 p.m. (2016-09-23 12:29:29 UTC) #1
Wladimir Palant
What about unit tests? Please convert adblockpluschrome/qunit/tests/signatures.js - this piece of code is too complicated ...
Sept. 23, 2016, 12:48 p.m. (2016-09-23 12:48:46 UTC) #2
kzar
Patch Set 2 : Add unit tests I was in the process of converting the ...
Sept. 23, 2016, 1:47 p.m. (2016-09-23 13:47:03 UTC) #3
kzar
https://codereview.adblockplus.org/29354773/diff/29354814/lib/rsa.js File lib/rsa.js (right): https://codereview.adblockplus.org/29354773/diff/29354814/lib/rsa.js#newcode29 lib/rsa.js:29: global.atob = data => new Buffer(data, "base64").toString("binary"); If I ...
Sept. 23, 2016, 1:48 p.m. (2016-09-23 13:48:45 UTC) #4
kzar
https://codereview.adblockplus.org/29354773/diff/29354814/lib/rsa.js File lib/rsa.js (right): https://codereview.adblockplus.org/29354773/diff/29354814/lib/rsa.js#newcode29 lib/rsa.js:29: global.atob = data => new Buffer(data, "base64").toString("binary"); If I ...
Sept. 23, 2016, 1:48 p.m. (2016-09-23 13:48:45 UTC) #5
Wladimir Palant
https://codereview.adblockplus.org/29354773/diff/29354774/lib/jsbn.js File lib/jsbn.js (right): https://codereview.adblockplus.org/29354773/diff/29354774/lib/jsbn.js#newcode48 lib/jsbn.js:48: exports.BigInteger = BigInteger; On 2016/09/23 13:47:03, kzar wrote: > ...
Sept. 23, 2016, 8:02 p.m. (2016-09-23 20:02:29 UTC) #6
kzar
Patch Set 3 : Define atob in test_wrapper.js https://codereview.adblockplus.org/29354773/diff/29354814/lib/rsa.js File lib/rsa.js (right): https://codereview.adblockplus.org/29354773/diff/29354814/lib/rsa.js#newcode29 lib/rsa.js:29: global.atob ...
Sept. 25, 2016, 12:46 p.m. (2016-09-25 12:46:48 UTC) #7
Wladimir Palant
https://codereview.adblockplus.org/29354773/diff/29354814/lib/rsa.js File lib/rsa.js (right): https://codereview.adblockplus.org/29354773/diff/29354814/lib/rsa.js#newcode29 lib/rsa.js:29: global.atob = data => new Buffer(data, "base64").toString("binary"); On 2016/09/25 ...
Sept. 25, 2016, 1:02 p.m. (2016-09-25 13:02:28 UTC) #8
kzar
Patch Set 4 : Add btoa and navigator stub https://codereview.adblockplus.org/29354773/diff/29354852/lib/jsbn.js File lib/jsbn.js (right): https://codereview.adblockplus.org/29354773/diff/29354852/lib/jsbn.js#newcode98 lib/jsbn.js:98: ...
Sept. 25, 2016, 1:19 p.m. (2016-09-25 13:19:03 UTC) #9
Wladimir Palant
Sept. 25, 2016, 1:23 p.m. (2016-09-25 13:23:09 UTC) #10
LGTM

Powered by Google App Engine
This is Rietveld