summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTatiana Jamison <tjamison@jaguarlandrover.com>2016-12-19 14:14:56 -0800
committerTatiana Jamison <tjamison@jaguarlandrover.com>2016-12-19 14:14:56 -0800
commit0b3103e95119e401b44ab48a8db3edd1aecb31a7 (patch)
treef2e771492ca0e48edebe9e769c07a36059dc234f
parent3cfa7f3bcde1153c99cfa1c2b507578d425e703b (diff)
downloadrvi_core-0b3103e95119e401b44ab48a8db3edd1aecb31a7.tar.gz
[release-0.5.1] Revert erroneous JWT algorithm change
Signed-off-by: Tatiana Jamison <tjamison@jaguarlandrover.com>
-rwxr-xr-xscripts/rvi_create_credential.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/rvi_create_credential.py b/scripts/rvi_create_credential.py
index 4451ad7..329d279 100755
--- a/scripts/rvi_create_credential.py
+++ b/scripts/rvi_create_credential.py
@@ -267,7 +267,7 @@ cred = {
-encoded = jwt.encode(cred, root_key.exportKey("PEM"), algorithm='HS256')
+encoded = jwt.encode(cred, root_key.exportKey("PEM"), algorithm='RS256')
# Validate
try: