Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(434)

Issue 1511793004: attestation: Fix policy observer expiry check. (Closed)

Created:
5 years ago by Darren Krahn
Modified:
5 years ago
CC:
chromium-reviews, oshima+watch_chromium.org, davemoore+watch_chromium.org, dkrahn+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

attestation: Fix policy observer expiry check. The certificate format is now a PEM certificate chain. This code did not get updated and was still attempting to parse DER X.509. This change updates the code to parse PEM and auto-renewal of Enterprise Machine Certificates should work again. BUG=b:24618871 TEST=unit: now using fake expired certs in PEM format Committed: https://crrev.com/7b4457e06c7b1e4f8a6b2fa1268948d8a4a2b439 Cr-Commit-Position: refs/heads/master@{#364475}

Patch Set 1 #

Total comments: 1

Patch Set 2 : fix nit #

Unified diffs Side-by-side diffs Delta from patch set Stats (+37 lines, -21 lines) Patch
M chrome/browser/chromeos/attestation/attestation_policy_observer.h View 1 1 chunk +5 lines, -4 lines 0 comments Download
M chrome/browser/chromeos/attestation/attestation_policy_observer.cc View 1 4 chunks +28 lines, -13 lines 0 comments Download
M chrome/browser/chromeos/attestation/attestation_policy_observer_unittest.cc View 4 chunks +4 lines, -4 lines 0 comments Download

Messages

Total messages: 10 (4 generated)
Darren Krahn
5 years ago (2015-12-10 01:32:16 UTC) #2
Mattias Nissler (ping if slow)
LGTM w/ nit. This going unnoticed suggests that we need better integration testing though - ...
5 years ago (2015-12-10 08:08:40 UTC) #3
Darren Krahn
On 2015/12/10 08:08:40, Mattias Nissler wrote: > LGTM w/ nit. > > This going unnoticed ...
5 years ago (2015-12-10 19:53:12 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1511793004/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1511793004/20001
5 years ago (2015-12-10 19:56:17 UTC) #7
commit-bot: I haz the power
Committed patchset #2 (id:20001)
5 years ago (2015-12-10 21:09:31 UTC) #8
commit-bot: I haz the power
5 years ago (2015-12-10 21:11:18 UTC) #10
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/7b4457e06c7b1e4f8a6b2fa1268948d8a4a2b439
Cr-Commit-Position: refs/heads/master@{#364475}

Powered by Google App Engine
This is Rietveld 408576698