You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
File "C:\ProgramData\Anaconda3\lib\site-packages\pgpy\decorators.py", line 131, in _action
return action(_key, *args, **kwargs)
File "C:\ProgramData\Anaconda3\lib\site-packages\pgpy\pgp.py", line 2541, in encrypt
if message.is_compressed and message._compression not in uid.selfsig.compprefs:
AttributeError: 'str' object has no attribute 'is_compressed'
The text was updated successfully, but these errors were encountered:
constant attribute error while using encrypt(). Even tried using compression=None
encrypted_data = key.encrypt(csv_buffer_l3.getvalue(),compression=None)
File "C:\ProgramData\Anaconda3\lib\site-packages\pgpy\decorators.py", line 131, in _action
return action(_key, *args, **kwargs)
File "C:\ProgramData\Anaconda3\lib\site-packages\pgpy\pgp.py", line 2541, in encrypt
if message.is_compressed and message._compression not in uid.selfsig.compprefs:
AttributeError: 'str' object has no attribute 'is_compressed'
The text was updated successfully, but these errors were encountered: