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

Issue 6944056: openpgp: remove TeeReader from packet.Read

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 4 months ago by cmars
Modified:
11 years, 4 months ago
Reviewers:
CC:
agl1, golang-dev
Visibility:
Public.

Description

openpgp: remove TeeReader from packet.Read This is a followup to issue 6927044. I *really* don't want to break streaming for large encrypted data packets. Removing the automatic re-parsing. OpaqueReader can be used for recovering useful information from mangled/unsupported packets.

Patch Set 1 #

Patch Set 2 : openpgp: remove TeeReader from packet.Read #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+84 lines, -17 lines) Patch
M openpgp/packet/opaque.go View 1 1 chunk +7 lines, -1 line 0 comments Download
A openpgp/packet/opaque_test.go View 1 1 chunk +75 lines, -0 lines 1 comment Download
M openpgp/packet/packet.go View 1 2 chunks +2 lines, -16 lines 0 comments Download

Messages

Total messages: 2
cmars
PTAL
11 years, 4 months ago (2012-12-16 19:17:48 UTC) #1
agl1
11 years, 4 months ago (2012-12-18 22:57:27 UTC) #2
*** Submitted as
https://code.google.com/p/go/source/detail?r=17ced002e171&repo=crypto ***

openpgp: remove TeeReader from packet.Read

This is a followup to issue 6927044. I *really* don't want to
break streaming for large encrypted data packets.

Removing the automatic re-parsing. OpaqueReader can be
used for recovering useful information from mangled/unsupported packets.

R=agl
CC=golang-dev
https://codereview.appspot.com/6944056

Committer: Adam Langley <agl@golang.org>

https://codereview.appspot.com/6944056/diff/2001/openpgp/packet/opaque_test.go
File openpgp/packet/opaque_test.go (right):

https://codereview.appspot.com/6944056/diff/2001/openpgp/packet/opaque_test.g...
openpgp/packet/opaque_test.go:39: pktNum := 0
Some of the variable names are a little compact. Will expand before submitting.
Sign in to reply to this message.

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