diff options
author | Lars Wirzenius <lwirzenius@wikimedia.org> | 2019-07-24 15:20:33 +0300 |
---|---|---|
committer | Lars Wirzenius <lwirzenius@wikimedia.org> | 2019-07-24 15:20:33 +0300 |
commit | 71d355f1a4185e64ece9c95be20b517f4574f894 (patch) | |
tree | 97fd1e8a0be5b4a531bae7b3659c777dc5608736 /create-token | |
parent | 5a6df86e0134b47f51442199eca687918d9430ae (diff) | |
download | wmf-ci-arch-71d355f1a4185e64ece9c95be20b517f4574f894.tar.gz |
Fix: use integer timestamps
Diffstat (limited to 'create-token')
-rwxr-xr-x | create-token | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/create-token b/create-token index e2e9fbb..4e3f38f 100755 --- a/create-token +++ b/create-token @@ -31,7 +31,7 @@ scopes = ' '.join(sys.argv[4].split()) key_text = open(filename, 'r').read() key = Crypto.PublicKey.RSA.importKey(key_text) -now = time.time() +now = int(time.time()) claims = { 'iss': iss, 'sub': 'subject-uuid', |