Skip to content

Commit

Permalink
Ignore more packet types
Browse files Browse the repository at this point in the history
  • Loading branch information
drxzcl committed Dec 7, 2021
1 parent 0aabf98 commit a061f33
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions pgpy/pgp.py
Expand Up @@ -1068,6 +1068,14 @@ def __or__(self, other):
if isinstance(other, Opaque):
# XXX: fix some other time for 'real'
return self # basically ignore packet for now

if isinstance(other, SKEData):
# XXX: fix some other time for 'real'
return self # basically ignore packet for now

if isinstance(other, pgpy.packet.packets.Trust):
# XXX: fix some other time for 'real'
return self # basically ignore packet for now

raise NotImplementedError(str(type(other)))

Expand Down

0 comments on commit a061f33

Please sign in to comment.