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

Issue 29349869: Issue 4339 - Replace M2Crypto by PyCrypto (Closed)

Created:
Aug. 16, 2016, 2:59 p.m. by Wladimir Palant
Modified:
Aug. 17, 2016, 7:37 p.m.
Reviewers:
Sebastian Noack
Visibility:
Public.

Description

Issue 4339 - Replace M2Crypto by PyCrypto Repository: hg.adblockplus.org/buildtools

Patch Set 1 #

Total comments: 14

Patch Set 2 : Addressed comments #

Total comments: 2

Patch Set 3 : Merged cert and private key extraction #

Total comments: 4

Patch Set 4 : Addressed more nits #

Unified diffs Side-by-side diffs Delta from patch set Stats (+77 lines, -47 lines) Patch
M packagerChrome.py View 2 chunks +23 lines, -13 lines 0 comments Download
M packagerSafari.py View 1 2 3 3 chunks +54 lines, -34 lines 0 comments Download

Messages

Total messages: 12
Wladimir Palant
Aug. 16, 2016, 2:59 p.m. (2016-08-16 14:59:46 UTC) #1
Wladimir Palant
https://codereview.adblockplus.org/29349869/diff/29349870/packagerSafari.py File packagerSafari.py (right): https://codereview.adblockplus.org/29349869/diff/29349870/packagerSafari.py#newcode208 packagerSafari.py:208: '--data-to-sign', digest_filename, For reference: despite the misleading name, --data-to-sign ...
Aug. 16, 2016, 3:12 p.m. (2016-08-16 15:12:08 UTC) #2
Wladimir Palant
https://codereview.adblockplus.org/29349869/diff/29349870/packagerSafari.py File packagerSafari.py (right): https://codereview.adblockplus.org/29349869/diff/29349870/packagerSafari.py#newcode208 packagerSafari.py:208: '--data-to-sign', digest_filename, On 2016/08/16 15:12:08, Wladimir Palant wrote: > ...
Aug. 16, 2016, 3:37 p.m. (2016-08-16 15:37:38 UTC) #3
Sebastian Noack
https://codereview.adblockplus.org/29349869/diff/29349870/packagerSafari.py File packagerSafari.py (right): https://codereview.adblockplus.org/29349869/diff/29349870/packagerSafari.py#newcode120 packagerSafari.py:120: keydata = re.sub(r'(-+END PRIVATE KEY-+).*', r'\1', data, flags=re.S) Is ...
Aug. 16, 2016, 4:32 p.m. (2016-08-16 16:32:05 UTC) #4
Wladimir Palant
https://codereview.adblockplus.org/29349869/diff/29349870/packagerSafari.py File packagerSafari.py (right): https://codereview.adblockplus.org/29349869/diff/29349870/packagerSafari.py#newcode120 packagerSafari.py:120: keydata = re.sub(r'(-+END PRIVATE KEY-+).*', r'\1', data, flags=re.S) On ...
Aug. 16, 2016, 5:06 p.m. (2016-08-16 17:06:04 UTC) #5
Sebastian Noack
https://codereview.adblockplus.org/29349869/diff/29349870/packagerSafari.py File packagerSafari.py (right): https://codereview.adblockplus.org/29349869/diff/29349870/packagerSafari.py#newcode120 packagerSafari.py:120: keydata = re.sub(r'(-+END PRIVATE KEY-+).*', r'\1', data, flags=re.S) I ...
Aug. 17, 2016, 8:43 a.m. (2016-08-17 08:43:08 UTC) #6
Wladimir Palant
https://codereview.adblockplus.org/29349869/diff/29349870/packagerSafari.py File packagerSafari.py (right): https://codereview.adblockplus.org/29349869/diff/29349870/packagerSafari.py#newcode120 packagerSafari.py:120: keydata = re.sub(r'(-+END PRIVATE KEY-+).*', r'\1', data, flags=re.S) On ...
Aug. 17, 2016, 10:03 a.m. (2016-08-17 10:03:16 UTC) #7
Sebastian Noack
https://codereview.adblockplus.org/29349869/diff/29349896/packagerSafari.py File packagerSafari.py (right): https://codereview.adblockplus.org/29349869/diff/29349896/packagerSafari.py#newcode127 packagerSafari.py:127: for match in re.finditer(CERTIFICATE_REGEXP, data, re.S): I think it ...
Aug. 17, 2016, 12:19 p.m. (2016-08-17 12:19:25 UTC) #8
Wladimir Palant
https://codereview.adblockplus.org/29349869/diff/29349896/packagerSafari.py File packagerSafari.py (right): https://codereview.adblockplus.org/29349869/diff/29349896/packagerSafari.py#newcode127 packagerSafari.py:127: for match in re.finditer(CERTIFICATE_REGEXP, data, re.S): On 2016/08/17 12:19:24, ...
Aug. 17, 2016, 2:10 p.m. (2016-08-17 14:10:04 UTC) #9
Sebastian Noack
https://codereview.adblockplus.org/29349869/diff/29349942/packagerSafari.py File packagerSafari.py (right): https://codereview.adblockplus.org/29349869/diff/29349942/packagerSafari.py#newcode127 packagerSafari.py:127: if key is None: Nit: Use |not x| instead ...
Aug. 17, 2016, 6:34 p.m. (2016-08-17 18:34:12 UTC) #10
Wladimir Palant
https://codereview.adblockplus.org/29349869/diff/29349942/packagerSafari.py File packagerSafari.py (right): https://codereview.adblockplus.org/29349869/diff/29349942/packagerSafari.py#newcode127 packagerSafari.py:127: if key is None: On 2016/08/17 18:34:11, Sebastian Noack ...
Aug. 17, 2016, 7:21 p.m. (2016-08-17 19:21:12 UTC) #11
Sebastian Noack
Aug. 17, 2016, 7:25 p.m. (2016-08-17 19:25:16 UTC) #12
LGTM

Powered by Google App Engine
This is Rietveld