1
0
Fork 0
mirror of https://github.com/pgpainless/pgpainless.git synced 2024-11-16 17:32:06 +01:00

Add test for unusual message structures.

Adopted from https://tests.sequoia-pgp.org/#Unusual_Message_Structure
This commit is contained in:
Paul Schaub 2022-09-21 17:44:04 +02:00
parent 639d2a19f8
commit 8f0ea786f2
Signed by: vanitasvitae
GPG key ID: 62BEE9264BF17311

View file

@ -0,0 +1,638 @@
// SPDX-FileCopyrightText: 2022 Paul Schaub <vanitasvitae@fsfe.org>
//
// SPDX-License-Identifier: Apache-2.0
package org.pgpainless.decryption_verification;
import org.bouncycastle.openpgp.PGPException;
import org.bouncycastle.openpgp.PGPPublicKeyRing;
import org.bouncycastle.openpgp.PGPSecretKeyRing;
import org.bouncycastle.util.io.Streams;
import org.junit.jupiter.api.BeforeAll;
import org.junit.jupiter.api.Test;
import org.pgpainless.PGPainless;
import java.io.ByteArrayInputStream;
import java.io.IOException;
import java.nio.charset.StandardCharsets;
import static org.junit.jupiter.api.Assertions.assertFalse;
import static org.junit.jupiter.api.Assertions.assertTrue;
public class MessageStructureTest {
public static final String KEY = "-----BEGIN PGP PRIVATE KEY BLOCK-----\n" +
"Comment: Bob's OpenPGP Transferable Secret Key\n" +
"\n" +
"lQVYBF2lnPIBDAC5cL9PQoQLTMuhjbYvb4Ncuuo0bfmgPRFywX53jPhoFf4Zg6mv\n" +
"/seOXpgecTdOcVttfzC8ycIKrt3aQTiwOG/ctaR4Bk/t6ayNFfdUNxHWk4WCKzdz\n" +
"/56fW2O0F23qIRd8UUJp5IIlN4RDdRCtdhVQIAuzvp2oVy/LaS2kxQoKvph/5pQ/\n" +
"5whqsyroEWDJoSV0yOb25B/iwk/pLUFoyhDG9bj0kIzDxrEqW+7Ba8nocQlecMF3\n" +
"X5KMN5kp2zraLv9dlBBpWW43XktjcCZgMy20SouraVma8Je/ECwUWYUiAZxLIlMv\n" +
"9CurEOtxUw6N3RdOtLmYZS9uEnn5y1UkF88o8Nku890uk6BrewFzJyLAx5wRZ4F0\n"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"26x3z0WAgrpA1kNsjXEXkoiZGPLKIGoe3hqJAbYEGAEKACAWIQTRpm4aI7GCyZgP\n" +
"eIz7/MgqAV5zMAUCXaWc8gIbDAAKCRD7/MgqAV5zMOn/C/9ugt+HZIwX308zI+QX\n" +
"c5vDLReuzmJ3ieE0DMO/uNSC+K1XEioSIZP91HeZJ2kbT9nn9fuReuoff0T0Dief\n" +
"rbwcIQQHFFkrqSp1K3VWmUGp2JrUsXFVdjy/fkBIjTd7c5boWljv/6wAsSfiv2V0\n" +
"JSM8EFU6TYXxswGjFVfc6X97tJNeIrXL+mpSmPPqy2bztcCCHkWS5lNLWQw+R7Vg\n" +
"71Fe6yBSNVrqC2/imYG2J9zlowjx1XU63Wdgqp2Wxt0l8OmsB/W80S1fRF5G4SDH\n" +
"s9HXglXXqPsBRZJYfP+VStm9L5P/sKjCcX6WtZR7yS6G8zj/X767MLK/djANvpPd\n" +
"NVniEke6hM3CNBXYPAMhQBMWhCulcoz+0lxi8L34rMN+Dsbma96psdUrn7uLaB91\n" +
"6we0CTfF8qqm7BsVAgalon/UUiuMY80U3ueoj3okiSTiHIjD/YtpXSPioC8nMng7\n" +
"xqAY9Bwizt4FWgXuLm1a4+So4V9j1TRCXd12Uc2l2RNmgDE=\n" +
"=miES\n" +
"-----END PGP PRIVATE KEY BLOCK-----";
private static PGPSecretKeyRing secretKeys;
private static PGPPublicKeyRing certificate;
@BeforeAll
public static void prepareKey() throws IOException {
secretKeys = PGPainless.readKeyRing().secretKeyRing(KEY);
certificate = PGPainless.extractCertificate(secretKeys);
}
public OpenPgpMetadata processMessage(String msg, PGPSecretKeyRing key, PGPPublicKeyRing cert)
throws PGPException, IOException {
DecryptionStream decryptionStream = PGPainless.decryptAndOrVerify()
.onInputStream(new ByteArrayInputStream(msg.getBytes(StandardCharsets.UTF_8)))
.withOptions(ConsumerOptions.get()
.addDecryptionKey(key)
.addVerificationCert(cert));
Streams.drain(decryptionStream);
decryptionStream.close();
return decryptionStream.getResult();
}
@Test
public void testECS() throws PGPException, IOException {
OpenPgpMetadata metadata = processMessage(ecs, secretKeys, certificate);
assertTrue(metadata.isEncrypted());
assertTrue(metadata.isVerified());
}
public static final String ecs = "-----BEGIN PGP MESSAGE-----\n" +
"\n" +
"wcDMA3wvqk35PDeyAQv/aqIb1rlazw63s0beY1mF9oySuEi+g7bPueL/MSPIpVYh\n" +
"rtdHuOMxvBX933Btb2URQY17dev1PR9Or3jWJIAk0inS4oe93nNdkhLBdsFZ48lh\n" +
"qiKvlosiivoaduZJPzpuMV3mwThCN60cfvLSM2F6istEuYGY7r6SsMzqNn7zU1kF\n" +
"QzpQqhL6XGXjAfi/HGc1ZH44icRR945TvEr+7iPUNg/BX0zv2LCOEtn7R85pAzP8\n" +
"qe3t/TK+7L7H8owkUXR2+gAtmiIYoVA2T9O3tIzZYDeAhTpSYJqr5/rDYaxIgjkF\n" +
"aPUgtkj/mZd3N/rFi8B5ApusCzq0ENY0lvtE9njmu+BD8xRU/8ChYOCymcQdGD1E\n" +
"3U14VzSgW4KQB6AEOSM4p1Ao2TovTe/GKI+4BYKaxHimug4O66VqycoqKuMioLg8\n" +
"f6uOaaDHkFu2SY5ulrL/AqwYnowCOsiUUJ6T5zd9Wzz1jwf/Kt9WNu11NVBf5bxO\n" +
"jmLt1W9mLeSZuK/iqFHj0sGkAVZcvtlHiNe+BUfpN3f8qgPMbjRoay9HOkk8/UQQ\n" +
"0poWVAfk9j65caR4m5Y0EZr7HWtoh6S/Rxg7MgKFDvNC9N3cdyjq57eGn41Y2bre\n" +
"iGoFzZNTY5RWDsX4iiZD/2dYx8xctI4mprlZ0D4ElckLkHDgadNilRx0OO4NhfF7\n" +
"zbi624oHaoKxcRG3zPRjkJTjWx8evWdwun0gQ0A1hUAhCAzNjyfi8889u6N8j7+s\n" +
"bfeH75PKhb0AmTDYq+IOO9GFVWiqqSyTuriqKi0gmkLY9ZHiIpdHulb/JkEFORmJ\n" +
"gTzJKDVfHge8UboXO7ME0IcZeSnBVBya/FnYMir5gqvIDdIySffRYGQPntp7JDMQ\n" +
"quZe2uK6QeqIoj5KuxOe03eg4TV69ZFfnSLUfJD7sFnT/1PlWDbxpozOKCkbf7uN\n" +
"kR/RzOfLMNC28KW7pZHsp9e8xXAID1Kco42wWnLFa68X/krwO6vOH/JtJDNDniUl\n" +
"9Q4b9/WocEW2DaX28zv4JJfXzz+EViMp8i/nt/+vSrWovzSj3kbKewcv4LwuDSPq\n" +
"I6RC5eVgckHx2//z8MH5+4IAITn/YJb4rREtFrHvHKdy/lOFy2dU+Ya5rXyCTm4C\n" +
"jhl65Fclmzg21+oaf8wZ2gtz+X4BmVvaTekap9TrzcyhRPIAlRc/REetd95A6biQ\n" +
"8ACoSDFXMe8obVE6dZb96Vo0sIjf4j9ZNFDD7h4/KRF11XiXvR6waTUKvkWDC5wC\n" +
"SYPEdsFlR5hywdBG5SWlL1XmtJVX7aj9Qylp8F5tsGlvXvhak3YLo2gzS4ykH0E5\n" +
"2XW0s3Lj\n" +
"=aDBB\n" +
"-----END PGP MESSAGE-----\n";
@Test
public void testESC() throws PGPException, IOException {
OpenPgpMetadata metadata = processMessage(esc, secretKeys, certificate);
assertTrue(metadata.isEncrypted());
assertTrue(metadata.isVerified());
}
public static final String esc = "-----BEGIN PGP MESSAGE-----\n" +
"\n" +
"wcDMA3wvqk35PDeyAQwAlA6qvbMWzctnJ7kOHNT3Sr+2kSb9VJYhFpKy10ZTtopU\n" +
"FlGW3sn1t84G2E/Dx+4/jJY9dkUrkV30Z130Pk6lol0GGGc2KA8BYRYm1Cm/+CZm\n" +
"TdGs2q9LJ9qp+k0jVLTl6AuFL5/s1tVhHDN1uQ/vSy5F3VfVE92cDshPm/xDvXlf\n" +
"nqxBIGjg/AwA+nVwlyq08OKXRujkPI0CRgHy8om7DuAa3bkjoVDW1UQzNRLk1rMn\n" +
"YhBmu/mQ45P0rsa9wgVQnYJ9obh2iWm8UzVAVR9uPlqPwjewiII8N7YWEvaiLwcs\n" +
"utVlgbf88lCf0V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q11aA++gjnyHfH/ZR3TFTymglxFog/qagUtH7DHUnpeM=\n" +
"=5Ego\n" +
"-----END PGP MESSAGE-----\n";
@Test
public void testCES() throws PGPException, IOException {
OpenPgpMetadata metadata = processMessage(ces, secretKeys, certificate);
assertTrue(metadata.isEncrypted());
assertTrue(metadata.isVerified());
}
public static final String ces = "-----BEGIN PGP MESSAGE-----\n" +
"\n" +
"yMMzAQHtAxL8wcDMA3wvqk35PDeyAQwAs8bUPPzclPWDHc4njvJk6JoKAPAzKV6C\n" +
"Xe77hfIlhmW4WW/j9PdNwuoVesqoFSBHOpgJ5VIlxX0fIzD3lKj9NcVTTvrEXrIe\n" +
"fp+5sjzCpWXu48df4RZE8HHnAu1XHT/sKRy+ospeJkx1l7Jh3ioNfJFMiA8oyydz\n" +
"AWAJZUAzGDXiIemKuE0qmZgDIFqNSKBEgc2a9a9NlukP7AAt8Ff49XJ7XknTfxEz\n" +
"bpufsXbwocrMwcV6/uj+Yq1sEPaC/ytUMtKmrkWetfVHQt5p8u4xTsQ7uuc1yXWy\n" +
"eGC/SvhF0it4e0AQAp8GgzJA/n1BPJMMMp+myMKkpHlrbvLVoYxRagkHW7JkX41G\n" +
"TLkb6tUM4l1N5s57WbiW9/8wi2sPh9Ra2J47KgWrBWFf0Q+TTphs3arPaN3yrAcT\n" +
"gLOp1Pq64IsXU/9tmRkKY37S06y4xwTrGQ0Uu/LK6sSRhCvOEsf8BfbkXuRQDoDI\n" +
"Dy1E27r1UhkVUycGOmgBodEmeB6I2nyH0sGbAagMLgknKRp5fi+eySa8cI3ehlFo\n" +
"QkxpZX2wWhHECJZfu7k+OJH+LX8FKrmBhVElTdLg5qIto2PPTY2IBr5psIrSRQY6\n" +
"a35K604zcwTpP1hY2YbMSNRhfKud9g8oi40p5SoNtS1P8Kn5yp3QkIu5Rbnz77u5\n" +
"QiVjE7SfU0cFrH0GwxEDstJyJB+2Vgv32xYPgmhBmfegtnvP7qT8zljN34DYuILs\n" +
"QOxUiNgam9R7ooBR3ek5kOBLZCJN7oSO26ci437Gj/+HgjLmV2nK4rpE1XZnY//k\n" +
"gLkzjg48Fq3Rm36rgHp6Hxmwejz/Q5tOawOtIsz+xRjQVKNt7EpBQQGUKehbDUQ+\n" +
"VJsf0Y4IFEbDNAUCOnTFb1KUidNFeIOhGVzdmgCWEV6VFEqJ9UhCKhKALohXiU+0\n" +
"tc1xMaC+ijyOXenMQtBwJVGvh8g+vBhEoioI+kqUf1IYGOLnMGVK2qEWnk0GtSbb\n" +
"1fqDN0gJSwVR3oWyH/S/AZg/itTZ5SC/2ztznv1RLGKo5pgWwS+MIASvo5dRIhka\n" +
"ZGe9/gRJsahGSuL1/49XHwmfulfM+3kSfXECwo7+7L9gs88wN5Mw0OIu2d8/P/8L\n" +
"pkbBSFily3i27ChyY0h/jBnGDNWMidYl4IwNV2YGB97ga8HyAlJufCyNwqU7ci4C\n" +
"15W/JmDuBYPBCQ+aABsABhtPXWhUan8uvhQH4FVVElZ2+9NpW7B0AUAnXVZMYBEn\n" +
"inXQdIKQM6toFYE+CmGQOj4ZwiaiIYKgf7SF1B0Y4Y72Ne7TGUlYlkjuF0v3Pf1y\n" +
"JcEQljRY\n" +
"=xtwh\n" +
"-----END PGP MESSAGE-----\n";
@Test
public void testCSE() throws PGPException, IOException {
OpenPgpMetadata metadata = processMessage(cse, secretKeys, certificate);
assertTrue(metadata.isEncrypted());
assertTrue(metadata.isVerified());
}
public static final String cse = "-----BEGIN PGP MESSAGE-----\n" +
"\n" +
"yMMyAQHsAxP8xA0DAAoB+/zIKgFeczABwcDMA3wvqk35PDeyAQv+IoWprhZIA8kB\n" +
"rUP3Ca4yD4c7dlPAlstv7L3atENjZudbppL33Vh9Udx3M2yy6CfsRee+dYsfErWq\n" +
"xqol3H4N149uo0LBlfZwyvzSJPrOEjksyMxUe9zRdEIHtzCkeSuioRvYZzqM4xYS\n" +
"/tHYXsRu3N6XTh69K5ETyBpdSvFphAV/pGCkU6btFDTopyG62MnDebwhFN3SwE8I\n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f/SjJ0EYjoWzJZz+3Zi3m\n" +
"QJ94Pdd+3AtmfGWVSwu59NJ8Twgf8VSP8OiOaEeLheAHPMTbf5Jzfc7UkhCx/jQt\n" +
"5JpkklM=\n" +
"=3zkk\n" +
"-----END PGP MESSAGE-----\n";
@Test
public void testSEC() throws PGPException, IOException {
OpenPgpMetadata metadata = processMessage(sec, secretKeys, certificate);
assertTrue(metadata.isEncrypted());
assertTrue(metadata.isVerified());
}
public static final String sec = "-----BEGIN PGP MESSAGE-----\n" +
"\n" +
"xA0DAAoB+/zIKgFeczABwcDMA3wvqk35PDeyAQwAsPqIWFn69346rkmNsY+O/P/Q\n" +
"tvAYsIbOsILyiCOj/fWCqwE3DukQsoV89jHtQI/iNSpU4V1dNNLYNAerEMkoBQa3\n" +
"BT45ltwDOkpeLSluiBqoitjb0AdSpr6+9h/pphmBewZkJgNz7j+/9hDXNqxisLhr\n" +
"5zPgo0HtDX4xJBeW0D/AQSIFxL8lFf7gUDcN/Q5S+r9i8NKE79P8Ilust7OM8NnV\n" +
"1P323gl+Qvs4uiwWTYG/VL41uE1n4Vc8pmqJpeJZT7CXBl2p4NeW8Ovrng27/6HM\n" +
"LGK2jVn0MjAjAQiTDPaCf/C59FX8yIwjdnJcHBv+MAwsM9wws+N2ZU61ewBfXhhX\n" +
"wwKIyAOto7Hy/TmrPjutGrJaoufH5iACUPo1qpW9Bo07B5aSeoUeVCv8XsQSroI8\n" +
"exVmyPOHshaiF3TTx6ldfwjF6HHO6IWcncQ1O/eIU3hPT8THMWEQZFdxISH+L/61\n" +
"JlD4POFdrLkmUfrbRerVV6PrBqkmfjVHqy1LhfMh0k0B+4+OQEAy33iC7I2mRoNF\n" +
"Ww8e6+lyZtTINFqWeMCKwkZ42NxUwtqyKSXIPZqfAWLILzhUyQJ66sq1990+VPPK\n" +
"Ec/d7waoDqX2n2tq+8LBOwQAAQoAbwWCYysHBQkQ+/zIKgFeczBHFAAAAAAAHgAg\n" +
"c2FsdEBub3RhdGlvbnMuc2VxdW9pYS1wZ3Aub3JnRy92WQVB1lfZ6ed8LMypLdLp\n" +
"3YNcCh1yKQJ2fY80cdIWIQTRpm4aI7GCyZgPeIz7/MgqAV5zMAAAf+EMAJzflg71\n" +
"aA6zSMZeMkncWg612ckpJ4Y5mwYLqU83rXGn5V6qjj78sKwKUjEV1nQgLDdRLzDU\n" +
"PUIHD3WDuVpfcXCyOBxXSM5e5iWq4MAfU8tvMvMuOeWQ5Pziw5nm7j2kwtcsdUS+\n" +
"zlU6QyVc5dnRMuHpA9j4QdrP6L0kUxj3CZMwoLvjwm2E566HRo/5XHjCWSCuWPXN\n" +
"BAAEnOvAZI85qpX9eIxWp1e/652jHCDY0SGzYwjD0dxu+XbzexO4O3T+7+YRjWkK\n" +
"CzdtvWcmtFcBky5GHWt2QcLi8506dilgBUMK9ZTD+46dZQmE7V2WBbYuVZqoNWCU\n" +
"I2cV4rez4PGf3CfypqxifzYHebwq1XzkyH0YCAzq9+be+QaOGoWx7HWjRLoip6vX\n" +
"3qx0QYeQZsKyy57VQ3Y52dUA6S3ZE+xU+cZ2TcqRTrd+2ILbJFwarxmTxKz/ZZSt\n" +
"kQ5VSwggSnTQMU4l0bUfEm9/x3EW4uiJgf3SyCAAABMcdTCXvlkuE8Eilg==\n" +
"=1Y3Z\n" +
"-----END PGP MESSAGE-----\n";
@Test
public void testSCE() throws PGPException, IOException {
OpenPgpMetadata metadata = processMessage(sce, secretKeys, certificate);
assertTrue(metadata.isEncrypted());
assertTrue(metadata.isVerified());
}
public static final String sce = "-----BEGIN PGP MESSAGE-----\n" +
"\n" +
"xA0DAAoB+/zIKgFeczAByMElAQHfASD+wcDMA3wvqk35PDeyAQwAlg4+VrS/1eWq\n" +
"rwOPYgVDV1mczlDBQ0A6PRkmzr2Yr+bI97OmoJKfeeORaDiC/pMrfcCDvp6AW268\n" +
"+pE7NPp0Gudl1q/NyT7MLM+DHy2EfmyrEsYfqfUPRnzUAPfh0DJfn0eS0nAtXn84\n" +
"8Tk3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LjVWA/vqPHmiyxQgzS51dvgkciZC49kJdmIZMoR7Bl6VFFTmj0L\n" +
"/+kc6nRdNpMUHwkhg+aUZQOIz4dXAoebMlI8A4ePx4PcwZh6vP/hP8VJqY4noAJG\n" +
"0AuveI9KTPT4ceqfJ20v4vFq/y8nT0h/6NWErc8qiU/EUDP4q2dbX//x5WsxfcHJ\n" +
"iPhrBgw=\n" +
"=Z1Ii\n" +
"-----END PGP MESSAGE-----\n";
@Test
public void testEES() throws PGPException, IOException {
OpenPgpMetadata metadata = processMessage(ees, secretKeys, certificate);
assertTrue(metadata.isEncrypted());
assertTrue(metadata.isVerified());
}
public static final String ees = "-----BEGIN PGP MESSAGE-----\n" +
"\n" +
"wcDMA3wvqk35PDeyAQwAh7gbpMBDEsGnu6rSB04qI30Ix+cf1QhbSR4aiXOp89j4\n" +
"WMIrm1imewJL+b/LhZsruS3kzeqH0aRSQYmFnfuW28marsp+Td+R+zXgld3mgxde\n" +
"JQfX4rrMC8G6if8ad5og/InltFyjhMX1MyE6uu1U/4/8rAyU/3J1sa6POlSIIeut\n" +
"h/zLYdLHP9I2yoyeJoOSRxh9t73ByePYwwUxOTPxkLIdkRvkAMHi9ooFe2OZBIzc\n" +
"ZjgJ0nZNdxr/Wf5jEwUfLS1ZEFDfjxvnXMeGfQsDO4McAVtYjutGJuf5GWjWGcz1\n" +
"+Dy2EhObvi9LoHi71qNVojBs+IHWMTMFXUGrmqeyG14/YsCyY57vvQgzo5kMFXfI\n" +
"9PvrBQvxWFzp7pA6xqywzDJBoZGLIQDH5b/0lpRzsDE3DoY10VfX9nKlfBt5PZ+G\n" +
"vZGAiHEZp5C5naVwKaQ4fJsMPUFHOhPvEQJqP+Xwn7iMZ1+obV11Px1ZODB+vfN9\n" +
"kS1K5HhdS2EzhR9cgqVy0sNVAaPRvM5pCMeBjvDP9NZnwUlF5XJoPFpr73ZgwlY+\n" +
"9uf6lEu7Xk+2GegZOPoxPU6QMPOonMNPD6Is277unIKIfzb0vs91zfRi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ZVtdZ1Xqf8zmZAyAb7/Y11oxXgZQHJHOJd0Fp4RSLBgol2\n" +
"zsGay7o85rRRhcvdozUavUixNCqFi8+E3udY25jrI6xvVJUAajOqc16+RexFsHDK\n" +
"0H8comaMmh2sH39TB4U+rWiKX1PYCQ7nLaKdL4MjKcvTEE1Ous9q/ihq5J/mQBS2\n" +
"N9fEk5HB5OVNDtaSveLCKdZa2R9899kJB1kVDVNAAZ1szGLTdkWM6WeEBngO7eYa\n" +
"2fFOJfn1JD1QRx6i/n5+DZYqbteKLieqLg8cQ9CwNv6dHoUs1HiX04fauB3u3Kkj\n" +
"tEO01lzKcA==\n" +
"=YGYp\n" +
"-----END PGP MESSAGE-----\n";
@Test
public void testESE() throws PGPException, IOException {
OpenPgpMetadata metadata = processMessage(ese, secretKeys, certificate);
assertTrue(metadata.isEncrypted());
assertTrue(metadata.isVerified());
}
public static final String ese = "-----BEGIN PGP MESSAGE-----\n" +
"\n" +
"wcDMA3wvqk35PDeyAQv+Ka1lKg4enHS6QD31mvJEiG7UG4Baaq5w/g4qp/GZjHoe\n" +
"63RHReIrv1AlmO7oDJ2vaISl2tKtpCMGvzkbHcjLtVijXzAL42DkfAn+hOQmqIXE\n" +
"RawUaYOlWFbUall1lvgGXG7Gn3mcqjVqI1lK2kZM07Vy0wf9dddH+DFOA7Q/KSsK\n" +
"bGdq7G+m1OEf5ZUeGuqy1+qNJFvdrxISGSLc2OM2JLJDGQYrwNNgwB293IcFhHha\n" +
"Z3pcYANok2T318BXWhOOymmzzbuw70pckqXfzPZ3ULIzXAJRpQbbQJy4cmGZRrCA\n" +
"7wEMBZY7PbUMRj6ur+OFJFzmQJ4SLNrGofYlU3KV7UYEdB00leXCqlu0o8qFbvkn\n" +
"eUlyi2R5MSF/JlKb2xMGGlHZDmPWz88ehLrFmXjPvhF5wk3tbGLU11yFCg7HLZ1J\n" +
"Nlo5B8PmdE478aVqdaxYK+2BeQErxzvzRNV4hVwz1LRccBDl5WEVR9ArkwcnkPbA\n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+YFBuwkzg+XLYy10lJ4klbYkOolkgXFPmMtaIMA71R3Rd6\n" +
"IWbvSk+6A426nJs6xvIo2cVHk/oDzaUuuvxiPdyCfy+WzxArN0+6GOBHHDfa0266\n" +
"OCgAB6SpXBe92THqiW+XI/RMCbH/rvw78CGVyyb2fqd+zlMKVtZ54PHn+1hAFmVI\n" +
"Ar4kI5VouhmsInHWMduJoHM4Rk8QeptKT37vf6KAYO+5CIO0GCPkwwJQG4x406wf\n" +
"6SH0Kg0eBgOvqC5Jf9i4aBx4wKx1NryooqfANktSPBi1kShkl72iRB3Z/JIctNai\n" +
"UQJnmm4V5ZYeK5F/mrdIFwcQB5kJv0BszmqiUTV2gmVnD++dSVbb2Yoo6lTjXj/u\n" +
"J0xRzD5EUwmAWqLAU/nT1xWVv9R3Q8J9WqvN91EgDb1FemX23f4Fp6a71ui/TYab\n" +
"que9IQ4E\n" +
"=gtwa\n" +
"-----END PGP MESSAGE-----\n";
@Test
public void testSES() throws PGPException, IOException {
OpenPgpMetadata metadata = processMessage(ses, secretKeys, certificate);
assertTrue(metadata.isEncrypted());
assertTrue(metadata.isVerified());
}
public static final String ses = "-----BEGIN PGP MESSAGE-----\n" +
"\n" +
"xA0DAAoB+/zIKgFeczABwcDMA3wvqk35PDeyAQv/a6YILQafFCOXoJaXkN1nMM1I\n" +
"AHKpXV82DTvE6UdgwF7dbur5EyzJKvxLR+vS8tgVfr/8H7U59tygftiibFRDRvaa\n" +
"uguSfnTmoJpXjljPvHRYTrrJqakWGchEKrUePnwFYzb9Axy821Er2JnW6VIBTau7\n" +
"OuNdSQMu8y41Fp/9VNoxv2yx94ozGt3Ya9yaAzcksTC3c/rFfVTlHlJJM0QdwpYU\n" +
"DTX5tBwTNDOzgY30nb/1AH1Bt6ZAX1MVHe2sX0cBMw69CH9kRoWuMdGa/jLkXfLG\n" +
"Bgp2ieLQ+j3KlTc5fnqlfwxUbw5pL76zM1HaN1xYNh8P+aGy2PUu9803m6zrHZiE\n" +
"Utd/m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G8FgmMrBwUJEPv8yCoBXnMwRxQAAAAAAB4AIHNhbHRA\n" +
"bm90YXRpb25zLnNlcXVvaWEtcGdwLm9yZ5o1WOIAJ+mS3PiiSiMpSn86PytGVoVv\n" +
"3JsXiBD3DXugFiEE0aZuGiOxgsmYD3iM+/zIKgFeczAAAP7tDACiOPFNGYC7e4XS\n" +
"kPG4W8IhSKSFtqmAXCuCe6oGSGAffVg4LWEQ3BxW5px0qvDEo5MHwBU6JUeV/AcB\n" +
"zRl5B6wmqCIman2C55/G3n9EyjTmGaWggQKOTSnwJNfhYHE+djSxBaEVEjxMzjDF\n" +
"S3BrI0xNiOczCUuiCABbsXFiy3BHgKVlAqa/IGQO55bnKEt4AvdmEIcwpfKYV0aZ\n" +
"CHKfW53c2C3hEBumM7c9UV2dyoTuY763mWuXT8j+DE9/Mh5LyMZ0ac1YR9zY0Ejy\n" +
"5H/Zthq94UNezcKMmfcHvT2Yr4CSy/006VD4h1xiMkLidMI5HJjzlHrfFnYio5Pf\n" +
"uw983vj0XANoGJ5Z2wV/MRoTDm4OELX0zjph+mUffbr0wZ/eAbfChiS1zaPHk+h9\n" +
"+PfV7v40QzFFUH8cIwCZ8gU6GQtIC18hKpDRzFn7cmaLs5vkUECxSI+np6PbNk77\n" +
"IVUiSDqqg5VN9uNgoKxn9UrjhnI2Sk/r2wUXjK2raJfaZBLA0SA=\n" +
"=UWHO\n" +
"-----END PGP MESSAGE-----\n";
@Test
public void testECC() throws PGPException, IOException {
OpenPgpMetadata metadata = processMessage(ecc, secretKeys, certificate);
assertTrue(metadata.isEncrypted());
assertFalse(metadata.isVerified());
}
public static final String ecc = "-----BEGIN PGP MESSAGE-----\n" +
"\n" +
"wcDMA3wvqk35PDeyAQv/XrT1vHWgyT82/nZ5Lb3MAaUqjAnfr+n34t+v0bBXSozv\n" +
"sifZlAR7qIWpsssGiYV5ObMlnLLk+30vFJEiux/fC9n2WmGkBiEgpUTA5VrK4VcI\n" +
"/UAQKeCsviNSAAUKJrQ3KKKhSYXAFYIwXUHilDIx9S1Df/w3yY/AU+3pzSg/V+tQ\n" +
"ur/8fAjL8IxNWhLJquZUpVHLm8we8pEOI5Z+UhtqCHH7wsawW/+o9B/m0A0TODhT\n" +
"hS9ZnZgVbi8L9tpsYFqar5bXkLfIb4a4vtA9Zs0tF/nUmx+lB1Jj6yI81ols50aX\n" +
"iXAYIqEr8Y0dgmxNX2bcbZCZ8lwK4qgjxqO6QbkTTvjvHEByBiIyPrs24O11GuHQ\n" +
"QFrY/ibd/OeJVREFivxr79qHeiASvRdUMCBEX24FlfVY28DUal0ovQAhXOwSprxk\n" +
"CL7MSPvT86n8ZZ9TV4BOu+ORdNMM40LwhPgmubFUvA6xWNk09Vykzv+O6YDfNcta\n" +
"DhBdlnZs6XtADkbDBshp0k8B0QmgY0262pTXaVn5JBsDHbpij0wWIADX+mKeIowK\n" +
"Wl0OIY+Xo9Jh1bUHcCpM64+ijpw0EuweNyntGdQ96z0EmpgWi7H8G4Yux8o5RbFo\n" +
"=JL56\n" +
"-----END PGP MESSAGE-----\n";
@Test
public void testESS() throws PGPException, IOException {
OpenPgpMetadata metadata = processMessage(ess, secretKeys, certificate);
assertTrue(metadata.isEncrypted());
assertTrue(metadata.isVerified());
}
public static final String ess = "-----BEGIN PGP MESSAGE-----\n" +
"\n" +
"wcDMA3wvqk35PDeyAQwAgueK2ynRsCYYAvWoJSuPLuMxC6ALUI3BhWh/joGBeI9C\n" +
"OZNC2Afnn2CWLZvo6j9ivbXX9UPnj/PFdwieik5b+coHimgpaJOfezcY6wLl31vR\n" +
"HBBaUtKL0DiKRnkLNY37xmwBujEkaCmWSgTHQAYcDsGdtmUeLgjcAwAOpzNNLo+O\n" +
"5zGVd7H9KuYxJZL1Q2dx10A+2uGjwXMdauBkp94ojY5Ho7dAHNeI6laYMdwBUbmT\n" +
"kLov9nFUfLytNDarNdGiiikUaolUuHFd+YSNN2N033a9MLAKSZs1fP2j3J+bo5tV\n" +
"hx2jVKuQAoWz5xD4sj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InHdq+jOHdgrgoSui/s6GiRIIqd\n" +
"RsXxSDtYSEj9wH8y4mPWbOawjqJOcKbjDR0FpGObvxrGrO27SHvni2PU+9HA8yf9\n" +
"HorTp0YlUs8YpmJ4l32r51qroUWpD47cophsLxiqDyOjoP22W49Csj1hErKOD36M\n" +
"7KCksGkZHnwU1lvDsn3b//ExDx0WkPgqCM4dNVN/iFzfNrm2g105xkkgipGIhFHv\n" +
"QrCAKuPZimjW8EhDXNjnveM7n/TBzghEgA4mEzpBfHnxfefdQr/6oRz6B6kth+Mp\n" +
"xby6URsGjOMlfl5CidRBKgFo9QsWIJ1+ThwreoxVg0k722gRTdp81aYPglDXDW5g\n" +
"SzTBFqxu7FXxG544XtcMkEM+YOl6tPOS15YoivXQUpzGcnKMLVuFrgBE1aeOCz1m\n" +
"IzjMY87Yhvf4OFUWTEetEHHYVSPRleZvsc+ph3uaQ9Cpgxqq2NrboK/aHLwrYLL3\n" +
"OFBW2jbtFYKX5cFSer83KluKbLUf3zy5gfAVPLseUdG4hriN3X5cZVFrflZPvb70\n" +
"g3tuXfOgtQ2EcbL8ooBCXGUzT5woiN1eZojBMdk114oQUdlk52Qe1JBYqU0MY+QE\n" +
"ryhyU72DIJdJCq7Hr9MQS2DvF64EW0eeqcllL4b54TymMI9A7VdAMs36bxIgaIVR\n" +
"4I6XW8YQzsxEvtY9kdLiYUcmnckFbkmYxg6qQaLUEKK1Ht7Nlvc=\n" +
"=z6qh\n" +
"-----END PGP MESSAGE-----\n";
@Test
public void testESSS() throws PGPException, IOException {
OpenPgpMetadata metadata = processMessage(esss, secretKeys, certificate);
assertTrue(metadata.isEncrypted());
assertTrue(metadata.isVerified());
}
public static final String esss = "-----BEGIN PGP MESSAGE-----\n" +
"\n" +
"wcDMA3wvqk35PDeyAQwAjqlZaLLZlpVjqv+XxnF1BZNEkvV0MvXMu489CKRoyE9g\n" +
"HuJ3hJs1DMaIIuWHQNM/MXQJy09jCw7U1hOmr0WNgvJDQR4EFhbdTIFh8vo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aeD1V2fgEgwKWj8GZuZ5keQFanlbI1IpV+YrkFQ\n" +
"VaWjRIgCarsVRWe0LVRVb+NcfjeHRGwlTPMBjvCdgd0znYGU7x3mBUbx5/Ui9dF+\n" +
"l1TcMzmzErQMFnqB27046YET1KfQxg3f8CIIOIAcS7fygFmIcLatsgPbFzLbIsVl\n" +
"Yklo2VUmyrIYlbfGti5No6reUYDkFid7oKKR0e0cuAv7rdQZos9lQmK40T8hIOG3\n" +
"rOI5RturZ1ZUHji/6qjiDmc3/eRhzombsm/INCnhRl1Pxr740YWQJn/cDU9nr0Rm\n" +
"N6uBptK9ap8/9jv/F8wu790BKt0NTuK9GgWGdMxvsnBwS40PjPGsbclUyTGoeqe4\n" +
"udq89pCzu8Ltf0nIeIdIY7YTQUvDJPqXvIoVDlCF+hbNg7WzfXQDeroZ1YZcreWb\n" +
"XU3f5J5QozOVsqVajmRNALyZ0GYHGqkyWDaWTqNNODU+Kha1ghp+hZuVM12I7BRv\n" +
"uhl/rn1Ao/IVkJ9gNkQ7w4Hs8F7fCIGTVYWYEyGyhUlVVCeJs5J+GGed+MeUUAx9\n" +
"pFhvGEvEsZapZ4JFX4Imf8pF3bVXlgAiv5KcZbC80yis4cpyCqVdyhlK0mx8UWjr\n" +
"OycSHXikcsSUtoZz2VoVQziMkhOHaKQR+BqoGNIT2DF678FVWJbH1L5ABt8=\n" +
"=+H1Y\n" +
"-----END PGP MESSAGE-----\n";
@Test
public void testSESCS() throws PGPException, IOException {
OpenPgpMetadata metadata = processMessage(sescs, secretKeys, certificate);
assertTrue(metadata.isEncrypted());
assertTrue(metadata.isVerified());
}
public static final String sescs = "-----BEGIN PGP MESSAGE-----\n" +
"\n" +
"xA0DAAoB+/zIKgFeczABwcDMA3wvqk35PDeyAQv/Tdn7QWZryV9Bu3t0kq0zyil3\n" +
"DiqLiBgphH8GD5HswNss5ThOPRPxN2/3xht1B4V5crB1sTgSuW1eLMTQhMqe/coA\n" +
"UJND2FrBmJmnZjPGt6uPmngZ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