ciphertext = base64.b64decode(ciphertext)
iv = ciphertext[:AES.block_size]
+ if hasattr(key, 'encode'):
+ key = key.encode('utf-8')
cipher = AES.new(pad(key), AES.MODE_CFB, iv)
decrypted = cipher.decrypt(ciphertext[AES.block_size:])
return decrypted
Python version is: 3.7.1
If more information is required please let me know.
Thanks,
- SleepProgger
x27;][0], encoding='utf-8')
And thus json.loads only gets the first character of the data field ('{').
Please let me know which other infos i could provide to hunt this bug down.
Thanks,
SleepProgger
On 06.11.18 06:36, Khushboo Vashi wrote:
Hi,
I am not able to reproduce
Hi all.
When trying to use any of the maintenance features (right click on table
-> maintenance) i get a "Maintenance job creation failed." popup.
~/.pgadmin/pgadmin4.log says:
|2018-11-05 14:35:43,015: ERROR werkzeug: Error on request:||
||Traceback (most recent call last):||
|| File