summaryrefslogtreecommitdiff
path: root/create-artifact-download-token
diff options
context:
space:
mode:
Diffstat (limited to 'create-artifact-download-token')
-rwxr-xr-xcreate-artifact-download-token2
1 files changed, 1 insertions, 1 deletions
diff --git a/create-artifact-download-token b/create-artifact-download-token
index 999c99f..66bb6a9 100755
--- a/create-artifact-download-token
+++ b/create-artifact-download-token
@@ -31,7 +31,7 @@ scopes = 'uapi_blobs_id_get'
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',