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

Issue 5372091: code review 5372091: crypto/openpgp/packet: fix private key checksum (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
13 years, 4 months ago by agl1
Modified:
13 years, 3 months ago
Reviewers:
CC:
bradfitz, r, rsc, golang-dev
Visibility:
Public.

Description

crypto/openpgp/packet: fix private key checksum I misinterpreted http://tools.ietf.org/html/rfc4880#section-5.5.3 and implemented the sum of 16-bit values, rather than the 16-bit sum of 8-bit values. Thanks to Szabolcs Nagy for pointing it out.

Patch Set 1 #

Patch Set 2 : diff -r 01baaa1a6b5a https://go.googlecode.com/hg/ #

Patch Set 3 : diff -r 01baaa1a6b5a https://go.googlecode.com/hg/ #

Patch Set 4 : diff -r a5185f942ad9 https://go.googlecode.com/hg/ #

Patch Set 5 : diff -r a5185f942ad9 https://go.googlecode.com/hg/ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+3 lines, -7 lines) Patch
M src/pkg/crypto/openpgp/packet/private_key.go View 1 1 chunk +3 lines, -7 lines 0 comments Download

Messages

Total messages: 4
agl1
Hello bradfitz@golang.org (cc: golang-dev@googlegroups.com), I'd like you to review this change to https://go.googlecode.com/hg/
13 years, 4 months ago (2011-11-13 17:40:22 UTC) #1
r
LGTM
13 years, 4 months ago (2011-11-13 17:50:56 UTC) #2
rsc
LGTM Is it worth a little test?
13 years, 4 months ago (2011-11-16 21:00:01 UTC) #3
agl1
13 years, 3 months ago (2011-11-23 14:44:36 UTC) #4
*** Submitted as http://code.google.com/p/go/source/detail?r=c2271db8aac1 ***

crypto/openpgp/packet: fix private key checksum

I misinterpreted http://tools.ietf.org/html/rfc4880#section-5.5.3
and implemented the sum of 16-bit values, rather than the 16-bit sum
of 8-bit values.

Thanks to Szabolcs Nagy for pointing it out.

R=bradfitz, r, rsc
CC=golang-dev
http://codereview.appspot.com/5372091
Sign in to reply to this message.

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