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 5AUTHOR = "louiscollard, apronin" 6NAME = "firmware_Cr50U2fPowerwash" 7ATTRIBUTES = "suite:faft_cr50_pvt, suite:faft_cr50_prepvt" 8TIME = "SHORT" 9TEST_CATEGORY = "Functional" 10TEST_CLASS = "firmware" 11TEST_TYPE = "server" 12JOB_RETRIES = 1 13 14DOC = """ 15This test issues a U2F_REGISTER command, clears the TPM, and checks that 16the previously issued key handle becomes invalid. This test ensures that 17after a powerwash, a device cannot be used to access resources on which 18the device was registered before powerwash. 19""" 20 21def run_test(machine): 22 host = hosts.create_host(machine) 23 job.run_test('firmware_Cr50U2fPowerwash', host=host) 24 25parallel_simple(run_test, machines)