1
0
Fork 0
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:
Paul Schaub 2024-06-21 13:48:00 +02:00
parent a9a07ff47d
commit b4d2a61459
Signed by: vanitasvitae
GPG key ID: 62BEE9264BF17311
2 changed files with 5 additions and 0 deletions

View file

@ -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),

View file

@ -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,