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 "/home/jonathan/anaconda3/envs/got/lib/python3.10/site-packages/pgpy/types.py", line 539, in call
obj.parse(packet)
File "/home/jonathan/anaconda3/envs/got/lib/python3.10/site-packages/pgpy/packet/packets.py", line 885, in parse
self.keymaterial.parse(packet[:pend])
File "/home/jonathan/anaconda3/envs/got/lib/python3.10/site-packages/pgpy/packet/fields.py", line 1625, in parse
ECDHPub.parse(self, packet)
File "/home/jonathan/anaconda3/envs/got/lib/python3.10/site-packages/pgpy/packet/fields.py", line 724, in parse
self.kdf.parse(packet)
File "/home/jonathan/anaconda3/envs/got/lib/python3.10/site-packages/pgpy/packet/fields.py", line 1115, in parse
assert packet[:2] == b'\x03\x01'
AssertionError
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/jonathan/r2r/r2r/proton_mail_fetch.py", line 59, in
full_message = proton.read_message(message)
File "/home/jonathan/anaconda3/envs/got/lib/python3.10/site-packages/protonmail/client.py", line 128, in read_message
message.body = self.pgp.decrypt(message.body)
File "/home/jonathan/anaconda3/envs/got/lib/python3.10/site-packages/protonmail/pgp.py", line 37, in decrypt
pgp_private_key, _ = self.key(private_key)
File "/home/jonathan/anaconda3/envs/got/lib/python3.10/site-packages/protonmail/pgp.py", line 146, in key
return PGPKey.from_blob(blob)
File "/home/jonathan/anaconda3/envs/got/lib/python3.10/site-packages/pgpy/types.py", line 195, in from_blob
po = obj.parse(bytearray(blob, 'latin-1'))
File "/home/jonathan/anaconda3/envs/got/lib/python3.10/site-packages/pgpy/pgp.py", line 2647, in parse
[ operator.ior(pgpobj, PGPSignature() | sig) for sig in group if not isinstance(sig, Opaque) ]
File "/home/jonathan/anaconda3/envs/got/lib/python3.10/site-packages/pgpy/pgp.py", line 2647, in
[ operator.ior(pgpobj, PGPSignature() | sig) for sig in group if not isinstance(sig, Opaque) ]
File "/home/jonathan/anaconda3/envs/got/lib/python3.10/site-packages/pgpy/pgp.py", line 2617, in _getpkt
return Packet(d) if d else None
File "/home/jonathan/anaconda3/envs/got/lib/python3.10/site-packages/pgpy/types.py", line 542, in call
raise PGPError(str(ex)) from ex
pgpy.errors.PGPError
(got) jonathan@GAMER005:~/r2r/r2r$
The text was updated successfully, but these errors were encountered:
File "/home/jonathan/anaconda3/envs/got/lib/python3.10/site-packages/pgpy/types.py", line 539, in call
obj.parse(packet)
File "/home/jonathan/anaconda3/envs/got/lib/python3.10/site-packages/pgpy/packet/packets.py", line 885, in parse
self.keymaterial.parse(packet[:pend])
File "/home/jonathan/anaconda3/envs/got/lib/python3.10/site-packages/pgpy/packet/fields.py", line 1625, in parse
ECDHPub.parse(self, packet)
File "/home/jonathan/anaconda3/envs/got/lib/python3.10/site-packages/pgpy/packet/fields.py", line 724, in parse
self.kdf.parse(packet)
File "/home/jonathan/anaconda3/envs/got/lib/python3.10/site-packages/pgpy/packet/fields.py", line 1115, in parse
assert packet[:2] == b'\x03\x01'
AssertionError
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/jonathan/r2r/r2r/proton_mail_fetch.py", line 59, in
full_message = proton.read_message(message)
File "/home/jonathan/anaconda3/envs/got/lib/python3.10/site-packages/protonmail/client.py", line 128, in read_message
message.body = self.pgp.decrypt(message.body)
File "/home/jonathan/anaconda3/envs/got/lib/python3.10/site-packages/protonmail/pgp.py", line 37, in decrypt
pgp_private_key, _ = self.key(private_key)
File "/home/jonathan/anaconda3/envs/got/lib/python3.10/site-packages/protonmail/pgp.py", line 146, in key
return PGPKey.from_blob(blob)
File "/home/jonathan/anaconda3/envs/got/lib/python3.10/site-packages/pgpy/types.py", line 195, in from_blob
po = obj.parse(bytearray(blob, 'latin-1'))
File "/home/jonathan/anaconda3/envs/got/lib/python3.10/site-packages/pgpy/pgp.py", line 2647, in parse
[ operator.ior(pgpobj, PGPSignature() | sig) for sig in group if not isinstance(sig, Opaque) ]
File "/home/jonathan/anaconda3/envs/got/lib/python3.10/site-packages/pgpy/pgp.py", line 2647, in
[ operator.ior(pgpobj, PGPSignature() | sig) for sig in group if not isinstance(sig, Opaque) ]
File "/home/jonathan/anaconda3/envs/got/lib/python3.10/site-packages/pgpy/pgp.py", line 2617, in _getpkt
return Packet(d) if d else None
File "/home/jonathan/anaconda3/envs/got/lib/python3.10/site-packages/pgpy/types.py", line 542, in call
raise PGPError(str(ex)) from ex
pgpy.errors.PGPError
(got) jonathan@GAMER005:~/r2r/r2r$
The text was updated successfully, but these errors were encountered: