mirror of
https://github.com/pgpainless/pgpainless.git
synced 2024-11-14 00:12:06 +01:00
Add support for padding packet
This commit is contained in:
parent
a9a07ff47d
commit
b4d2a61459
2 changed files with 5 additions and 0 deletions
|
@ -22,6 +22,7 @@ enum class OpenPgpPacket(val tag: Int) {
|
|||
UATTR(17),
|
||||
SEIPD(18),
|
||||
MDC(19),
|
||||
PADDING(21),
|
||||
EXP_1(60),
|
||||
EXP_2(61),
|
||||
EXP_3(62),
|
||||
|
|
|
@ -144,6 +144,10 @@ class OpenPgpMessageInputStream(
|
|||
LOGGER.debug("Skipping Marker Packet")
|
||||
pIn.readMarker()
|
||||
}
|
||||
OpenPgpPacket.PADDING -> {
|
||||
LOGGER.debug("Skipping Padding Packet")
|
||||
pIn.readPacket()
|
||||
}
|
||||
OpenPgpPacket.SK,
|
||||
OpenPgpPacket.PK,
|
||||
OpenPgpPacket.SSK,
|
||||
|
|
Loading…
Reference in a new issue