Lines Matching full:uid
46 choices=["get-nonce", "get-param", "set-param", "set-uid"],
53 parser.add_argument("--uid", help="File containing UID to pass")
68 uid = None variable
80 if args.uid:
81 if not os.path.exists(args.uid):
82 raise ValueError("Invalid uid file %s" % args.uid)
83 with open(args.uid, "rb") as f:
84 uid = f.read() variable
85 if len(uid) != DBC_UID_SIZE:
87 "Invalid UID length %d (expected %d)" % (len(uid), DBC_UID_SIZE)
102 elif args.command == "set-uid":
104 result = set_uid(d, uid, sig)
106 print("Set UID")