Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(10252)

Issue 10345043: Add a PEM module

Can't Edit
Can't Publish+Mail
Start Review
Created:
10 years, 10 months ago by ekasper
Modified:
10 years, 9 months ago
CC:
ctlog-opensource-review_google.com
Visibility:
Public.

Description

Add a PEM module

Patch Set 1 #

Patch Set 2 : format #

Patch Set 3 : upload the right patch #

Patch Set 4 : add tests to Makefile #

Patch Set 5 : use hasattr #

Patch Set 6 : make it run #

Total comments: 19

Patch Set 7 : comments #

Patch Set 8 : write methods #

Total comments: 23

Patch Set 9 : improve tests #

Patch Set 10 : make marker constant #

Unified diffs Side-by-side diffs Delta from patch set Stats (+673 lines, -15 lines) Patch
M src/python/Makefile View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download
M src/python/ct/config/logs.config View 2 chunks +4 lines, -3 lines 0 comments Download
A src/python/ct/crypto/pem.py View 1 2 3 4 5 6 7 1 chunk +370 lines, -0 lines 0 comments Download
A src/python/ct/crypto/pem_test.py View 1 2 3 4 5 6 7 8 1 chunk +281 lines, -0 lines 0 comments Download
M src/python/ct/crypto/verify.py View 1 2 3 4 5 6 7 8 9 3 chunks +16 lines, -11 lines 0 comments Download

Messages

Total messages: 9
ekasper
PEM is essentially base64-encoded binary data enclosed between -----BEGIN TYPE---- and -----END TYPE----- lines. This ...
10 years, 10 months ago (2013-06-17 17:10:12 UTC) #1
ekasper
Just FYI, in case you already started looking - my setup was a bit bust ...
10 years, 10 months ago (2013-06-18 12:42:35 UTC) #2
Eran
https://codereview.appspot.com/10345043/diff/11001/src/python/ct/crypto/pem.py File src/python/ct/crypto/pem.py (right): https://codereview.appspot.com/10345043/diff/11001/src/python/ct/crypto/pem.py#newcode15 src/python/ct/crypto/pem.py:15: def __init__(self, fileobj, markers, strict=False): nit: change 'strict' to ...
10 years, 10 months ago (2013-06-18 13:49:49 UTC) #3
ekasper
Thanks! As we discussed, I've also simplified the newline handling to try to be helpful, ...
10 years, 10 months ago (2013-06-18 16:54:10 UTC) #4
Eran
Very through tests, thanks for adding them. Just some style and Python comments. https://codereview.appspot.com/10345043/diff/24001/src/python/ct/crypto/pem_test.py File ...
10 years, 10 months ago (2013-06-19 10:35:01 UTC) #5
ekasper
Thanks again. I think this is now the most thoroughly tested PEM utility in the ...
10 years, 10 months ago (2013-06-19 11:44:58 UTC) #6
Ben Laurie (Google)
On 19 June 2013 12:44, <ekasper@google.com> wrote: > Thanks again. I think this is now ...
10 years, 10 months ago (2013-06-19 12:10:32 UTC) #7
ekasper
On 2013/06/19 12:10:32, Ben Laurie (Google) wrote: > On 19 June 2013 12:44, <mailto:ekasper@google.com> wrote: ...
10 years, 10 months ago (2013-06-19 12:57:48 UTC) #8
Eran
10 years, 10 months ago (2013-06-20 13:42:29 UTC) #9
LGTM.
I already have a use for this module once it's submitted...
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b