mirror of
https://github.com/pgpainless/pgpainless.git
synced 2024-11-22 20:32:05 +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),
|
UATTR(17),
|
||||||
SEIPD(18),
|
SEIPD(18),
|
||||||
MDC(19),
|
MDC(19),
|
||||||
|
PADDING(21),
|
||||||
EXP_1(60),
|
EXP_1(60),
|
||||||
EXP_2(61),
|
EXP_2(61),
|
||||||
EXP_3(62),
|
EXP_3(62),
|
||||||
|
|
|
@ -144,6 +144,10 @@ class OpenPgpMessageInputStream(
|
||||||
LOGGER.debug("Skipping Marker Packet")
|
LOGGER.debug("Skipping Marker Packet")
|
||||||
pIn.readMarker()
|
pIn.readMarker()
|
||||||
}
|
}
|
||||||
|
OpenPgpPacket.PADDING -> {
|
||||||
|
LOGGER.debug("Skipping Padding Packet")
|
||||||
|
pIn.readPacket()
|
||||||
|
}
|
||||||
OpenPgpPacket.SK,
|
OpenPgpPacket.SK,
|
||||||
OpenPgpPacket.PK,
|
OpenPgpPacket.PK,
|
||||||
OpenPgpPacket.SSK,
|
OpenPgpPacket.SSK,
|
||||||
|
|
Loading…
Reference in a new issue