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

Unified Diff: client/cros/constants.py

Issue 6880288: [autotest] Add test for the re-taking of ownership after the owner key is lost (Closed) Base URL: http://git.chromium.org/git/autotest.git@master
Patch Set: improve comment Created 9 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | client/cros/cros_ownership_test.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: client/cros/constants.py
diff --git a/client/cros/constants.py b/client/cros/constants.py
index de97890a3571cf566716242a5383945f898b3aea..3118d83e1f8d12ba36373b4f02d81831d064a498 100644
--- a/client/cros/constants.py
+++ b/client/cros/constants.py
@@ -1,4 +1,4 @@
-# Copyright (c) 2010 The Chromium OS Authors. All rights reserved.
+# Copyright (c) 2011 The Chromium OS Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
@@ -39,6 +39,7 @@ CRYPTOHOME_MOUNT_PT = USER_DATA_DIR + '/user'
CRYPTOHOMED_LOG = '/var/log/cryptohomed.log'
DISABLE_BROWSER_RESTART_MAGIC_FILE = '/tmp/disable_chrome_restart'
+DEFAULT_OWNERSHIP_TIMEOUT = 300 # Ownership is an inherently random process.
FLIMFLAM_TEST_PATH = '/usr/lib/flimflam/test/'
@@ -52,13 +53,16 @@ LOGIN_ERROR = 'Error=BadAuthentication'
LOGIN_PROMPT_READY_MAGIC_FILE = '/tmp/uptime-login-prompt-ready'
LOGIN_TRUST_ROOTS = '/etc/login_trust_root.pem'
+MOCK_OWNER_CERT = 'mock_owner_cert.pem'
+MOCK_OWNER_KEY = 'mock_owner_private.key'
+MOCK_OWNER_POLICY = 'mock_owner.policy'
+
ISSUE_AUTH_TOKEN_URL = '/accounts/IssueAuthToken'
OWNER_KEY_FILE = WHITELIST_DIR + '/owner.key'
SESSION_MANAGER = 'session_manager'
SESSION_MANAGER_LOG = '/var/log/session_manager'
-SIGNED_PREFERENCES_FILE = WHITELIST_DIR + '/preferences'
SIGNED_POLICY_FILE = WHITELIST_DIR + '/policy'
SPECIAL_CASE_DOMAIN = 'gmail.com'
« no previous file with comments | « no previous file | client/cros/cros_ownership_test.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698