Home | History | Annotate | Download | only in cros

Lines Matching full:token_path

36 def __get_pkcs11_file_list(token_path):
39 file_list_output = __run_cmd('find %s ' % token_path + find_args)
42 def __get_token_slot_by_path(token_path):
45 match = re.search(r'^Slot (\d+): ' + token_path, line)
51 def __verify_tokenname(token_path):
55 match = re.search(r'/home/root/(.*)/chaps', token_path)
60 # user id. This is the same value we extracted from |token_path|.
79 def __verify_permissions(token_path):
83 # find <token_path>/chaps -printf "'%p', '%u:%g', 0%m\n"
85 (token_path, 'chaps:chronos-access', CHAPS_DIR_PERM),
86 ('%s/database' % token_path, 'chaps:chronos-access', CHAPS_DIR_PERM)]