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

Issue 96240043: code review 96240043: go.crypto/openpgp: fix user id signing. (Closed)

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

Description

go.crypto/openpgp: fix user id signing. Entity.SignIdentity used the wrong signature function and produced invalid certification signatures. Fixed. VerifyUserIdSignature was used for checking the self-signature on an identity, but didn't support anything but a self-signature. This change alters the low-level API so that checking cross-signatures is possible. Fixes issue 7371.

Patch Set 1 #

Patch Set 2 : diff -r fe6c00a82e55 https://code.google.com/p/go.crypto/ #

Patch Set 3 : diff -r fe6c00a82e55 https://code.google.com/p/go.crypto/ #

Patch Set 4 : diff -r 9e4982062c72 https://code.google.com/p/go.crypto #

Unified diffs Side-by-side diffs Delta from patch set Stats (+48 lines, -12 lines) Patch
M openpgp/keys.go View 1 2 chunks +2 lines, -2 lines 0 comments Download
M openpgp/keys_test.go View 1 1 chunk +36 lines, -0 lines 0 comments Download
M openpgp/packet/public_key.go View 1 2 chunks +6 lines, -6 lines 0 comments Download
M openpgp/packet/public_key_test.go View 1 1 chunk +1 line, -1 line 0 comments Download
M openpgp/packet/public_key_v3.go View 1 1 chunk +2 lines, -2 lines 0 comments Download
M openpgp/packet/signature.go View 1 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 3
agl1
Hello bradfitz@golang.org (cc: golang-codereviews@googlegroups.com), I'd like you to review this change to https://code.google.com/p/go.crypto/
9 years, 11 months ago (2014-05-12 02:35:22 UTC) #1
bradfitz
LGTM
9 years, 11 months ago (2014-05-12 15:12:50 UTC) #2
agl1
9 years, 11 months ago (2014-05-12 18:23:55 UTC) #3
*** Submitted as
https://code.google.com/p/go/source/detail?r=d88182750244&repo=crypto ***

go.crypto/openpgp: fix user id signing.

Entity.SignIdentity used the wrong signature function and produced invalid
certification signatures. Fixed.

VerifyUserIdSignature was used for checking the self-signature on an identity,
but didn't support anything but a self-signature. This change alters the
low-level API so that checking cross-signatures is possible.

Fixes issue 7371.

LGTM=bradfitz
R=bradfitz
CC=golang-codereviews
https://codereview.appspot.com/96240043
Sign in to reply to this message.

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