1 # Copyright 2018 The Chromium OS Authors. All rights reserved. 2 # Use of this source code is governed by a BSD-style license that can be 3 # found in the LICENSE file. 4 5 AUTHOR = "louiscollard, apronin" 6 NAME = "firmware_Cr50U2fPowerwash" 7 ATTRIBUTES = "suite:faft_cr50_pvt, suite:faft_cr50_prepvt" 8 TIME = "SHORT" 9 TEST_CATEGORY = "Functional" 10 TEST_CLASS = "firmware" 11 TEST_TYPE = "server" 12 JOB_RETRIES = 1 13 14 DOC = """ 15 This test issues a U2F_REGISTER command, clears the TPM, and checks that 16 the previously issued key handle becomes invalid. This test ensures that 17 after a powerwash, a device cannot be used to access resources on which 18 the device was registered before powerwash. 19 """ 20 21 def run_test(machine): 22 host = hosts.create_host(machine) 23 job.run_test('firmware_Cr50U2fPowerwash', host=host) 24 25 parallel_simple(run_test, machines)