t.me/xtekky commited on
Commit
c7f00a9
·
1 Parent(s): cfce83b
ora/_jwt.py CHANGED
@@ -62,14 +62,14 @@ spd4eADxTm2m0GR7bhVEIbYfc0aAzIoWDpVs4V3vmx+bdRbppFxV1aS/r0g=
62
  header = {
63
  'alg': 'RS256',
64
  'typ': 'JWT',
65
- 'kid': '0d1bb0d7-45e4-445c-889e-57419470a570'
66
  }
67
 
68
  payload = {
69
  **json_data,
70
  'iat': int(datetime.now().timestamp()),
71
  'exp': int((datetime.now() + timedelta(minutes=10)).timestamp()),
72
- 'iss': 'https://ora.sh'
73
  }
74
 
75
  return jwt.encode(payload, private_key, algorithm='RS256', headers=header)
 
62
  header = {
63
  'alg': 'RS256',
64
  'typ': 'JWT',
65
+ 'kid': '1c8a5da7-527e-4bee-aa8d-aabda16c59ce'
66
  }
67
 
68
  payload = {
69
  **json_data,
70
  'iat': int(datetime.now().timestamp()),
71
  'exp': int((datetime.now() + timedelta(minutes=10)).timestamp()),
72
+ 'iss': 'https://rick.roll'
73
  }
74
 
75
  return jwt.encode(payload, private_key, algorithm='RS256', headers=header)
testing/ora_test.py → ora_test.py RENAMED
File without changes