Skip to content

Commit

Permalink
Merge pull request #100 from uw-it-aca/develop
Browse files Browse the repository at this point in the history
Develop
  • Loading branch information
jlaney authored Feb 9, 2024
2 parents 9d3e238 + 2ec1663 commit 46553fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion blti/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ def filter_oauth_params(self, params):

def _encrypt_session(self, data):
aes = aes128cbc(settings.BLTI_AES_KEY, settings.BLTI_AES_IV)
return b64encode(aes.encrypt(json.dumps(data)))
return b64encode(aes.encrypt(json.dumps(data))).decode('utf8')

def _decrypt_session(self, string):
aes = aes128cbc(settings.BLTI_AES_KEY, settings.BLTI_AES_IV)
Expand Down

0 comments on commit 46553fd

Please sign in to comment.