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

Issue 9419047: Support signed image metadata (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
10 years, 11 months ago by wallyworld
Modified:
10 years, 11 months ago
Reviewers:
mp+163824, jameinel, fwereade
Visibility:
Public.

Description

Support signed image metadata The simplestreams image metadata can be clear signed with a PGP signature. The public key to use to validate the signature is copied from the Launchpad simplestreams project. For ec2 image metadata, signing is mandatory; for openstack it is optional. Signed metadata is searched for first and used if found. https://code.launchpad.net/~wallyworld/juju-core/signed-simplestreams/+merge/163824 Requires: https://code.launchpad.net/~wallyworld/juju-core/oxygen-image-metadata/+merge/163345 (do not edit description out of merge proposal)

Patch Set 1 #

Patch Set 2 : Support signed image metadata #

Patch Set 3 : Support signed image metadata #

Total comments: 3

Patch Set 4 : Support signed image metadata #

Unified diffs Side-by-side diffs Delta from patch set Stats (+281 lines, -36 lines) Patch
A [revision details] View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M environs/ec2/export_test.go View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M environs/ec2/image.go View 1 2 3 2 chunks +6 lines, -1 line 0 comments Download
A environs/imagemetadata/decode.go View 1 2 3 1 chunk +102 lines, -0 lines 0 comments Download
M environs/imagemetadata/simplestreams.go View 1 2 3 5 chunks +29 lines, -13 lines 0 comments Download
M environs/imagemetadata/simplestreams_test.go View 1 2 3 14 chunks +136 lines, -19 lines 0 comments Download
M environs/openstack/export_test.go View 1 1 chunk +2 lines, -2 lines 0 comments Download
M environs/openstack/image.go View 1 2 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 7
wallyworld
Please take a look.
10 years, 11 months ago (2013-05-15 01:54:50 UTC) #1
wallyworld
Please take a look.
10 years, 11 months ago (2013-05-16 01:12:38 UTC) #2
wallyworld
Please take a look.
10 years, 11 months ago (2013-05-17 02:19:59 UTC) #3
fwereade
LGTM, nice. https://codereview.appspot.com/9419047/diff/5001/environs/imagemetadata/decode.go File environs/imagemetadata/decode.go (right): https://codereview.appspot.com/9419047/diff/5001/environs/imagemetadata/decode.go#newcode98 environs/imagemetadata/decode.go:98: type NotPGPSigned struct{} ErrNotPGPSigned please https://codereview.appspot.com/9419047/diff/5001/environs/openstack/image.go File ...
10 years, 11 months ago (2013-05-17 08:50:00 UTC) #4
jameinel
LGTM
10 years, 11 months ago (2013-05-21 12:01:43 UTC) #5
wallyworld
https://codereview.appspot.com/9419047/diff/5001/environs/imagemetadata/decode.go File environs/imagemetadata/decode.go (right): https://codereview.appspot.com/9419047/diff/5001/environs/imagemetadata/decode.go#newcode98 environs/imagemetadata/decode.go:98: type NotPGPSigned struct{} On 2013/05/17 08:50:00, fwereade wrote: > ...
10 years, 11 months ago (2013-05-21 21:41:51 UTC) #6
wallyworld
10 years, 11 months ago (2013-05-22 23:52:53 UTC) #7
*** Submitted:

Support signed image metadata

The simplestreams image metadata can be clear signed with a 
PGP signature. The public key to use to validate the signature
is copied from the Launchpad simplestreams project. For ec2
image metadata, signing is mandatory; for openstack it is optional.
Signed metadata is searched for first and used if found.

R=fwereade, jameinel
CC=
https://codereview.appspot.com/9419047
Sign in to reply to this message.

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