• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright 2014 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 = "usanghi"
6NAME = "platform_CryptohomeKeyEviction"
7PURPOSE = "Verify that cryptohome correctly reloads evicted TPM keys."
8CRITERIA = "Fails if any operations fail."
9ATTRIBUTES = "suite:bvt-perbuild"
10TIME = "SHORT"
11TEST_CATEGORY = "Stress"
12TEST_CLASS = "platform"
13TEST_TYPE = "client"
14
15DOC = """
16    Ensure that the cryptohome properly manages key eviction from
17    the tpm. This test verifies this behaviour by creating 30 keys using
18    chaps, and then remounting a user's cryptohome. Mount requires use of the
19    user's cryptohome key, and thus the mount only succeeds if the
20    cryptohome key was properly evicted and reloaded into the TPM.
21"""
22
23job.run_test('platform_CryptohomeKeyEviction')
24