File tree Expand file tree Collapse file tree 1 file changed +8
-14
lines changed
Expand file tree Collapse file tree 1 file changed +8
-14
lines changed Original file line number Diff line number Diff line change @@ -11,20 +11,14 @@ def _usage():
1111 print ('Usage: python3 sample_encryption.py <base_url> <auth_key> <secret_key> <ad_token> <data>' , file = sys .stderr )
1212 sys .exit (1 )
1313
14-
15- # if len(sys.argv) <= 5:
16- # _usage()
17-
18- # base_url = sys.argv[1]
19- # auth_key = sys.argv[2]
20- # secret_key = sys.argv[3]
21- # ad_token = sys.argv[4]
22- # str_data = sys.argv[5]
23- base_url = "https://operator-integ.uidapi.com"
24- auth_key = "UID2-C-I-110-XlrU/d.9MyGWqXP2LbwYijahYYWIkOmtyeauS1Jxjku0="
25- secret_key = "r5Uw+piQboL3gUsNNtQwlhft3c6zXm35LoVj9GbL6dk="
26- ad_token = "A4AAAA0l9Yo1fmExhC4dysj34QS0y9G4yAK5j502INSBfM9HED9tfEmEi-yMggOmXcOd8zo99gopfjXXZooYaCQwlvB2StTE1Z0xcFN4wmY7EbKWmg645RrzdJGf5vmGEY4jEIm0HNOT5qU3RIp-uyGRzJ7-dZqgYi5-ThilVMe4WnLjtJnK-xraHnWlD4MkMiN8F5FHbeHBGCaZFzsASzslrw"
27- str_data = "abcd123"
14+ if len (sys .argv ) <= 5 :
15+ _usage ()
16+
17+ base_url = sys .argv [1 ]
18+ auth_key = sys .argv [2 ]
19+ secret_key = sys .argv [3 ]
20+ ad_token = sys .argv [4 ]
21+ str_data = sys .argv [5 ]
2822
2923client = Uid2Client (base_url , auth_key , secret_key )
3024keys = client .refresh_keys ()
You can’t perform that action at this time.
0 commit comments