diff --git a/Tests/PGPTests.m b/Tests/PGPTests.m index 86f7157d..287ef368 100644 --- a/Tests/PGPTests.m +++ b/Tests/PGPTests.m @@ -552,7 +552,26 @@ - (void)testExpirationDateIssue146 { XCTAssertEqual(key.expirationDate.timeIntervalSince1970, 1610412042); // Tue Jan 12 01:40:42 2021 CET } -- (void)testECCPublicKeyImportIssue141 { +- (void)testVerifyMailIssue150{ + let keyring = [[PGPKeyring alloc] init]; + [keyring importKeys:[PGPTestUtils readKeysFromPath:@"issue150/publicKey.asc"]]; + [keyring importKeys:[PGPTestUtils readKeysFromPath:@"issue150/secretKey.asc"]]; + XCTAssertEqual(keyring.keys.count, 2); + + // Try to decrypt and verify a mail from Thunderbird + let messagePath2 = [PGPTestUtils pathToBundledFile:@"issue150/encSignedMsg.txt"]; + NSError *decryptError = nil; + let res = [ObjectivePGP decrypt:[NSData dataWithContentsOfFile: messagePath2] andVerifySignature:YES usingKeys: keyring.keys passphraseForKey:nil error: &decryptError]; + XCTAssertNil(decryptError); + XCTAssertNotNil(res); + + // Try to verify a mail from Thunderbird + let messagePath = [PGPTestUtils pathToBundledFile:@"issue150/signedMsg.txt"]; + let signaturePath = [PGPTestUtils pathToBundledFile:@"issue150/signature.txt"]; + BOOL isVerified = [ObjectivePGP verify:[NSData dataWithContentsOfFile:messagePath] withSignature:[NSData dataWithContentsOfFile:signaturePath] usingKeys:keyring.keys passphraseForKey:nil error:&decryptError]; + XCTAssertTrue(isVerified); + XCTAssertNil(decryptError); +- (void) testECCPublicKeyImportIssue141 { let eccPub = [PGPTestUtils readKeysFromPath:@"issue141/eccPublicKey.asc"]; XCTAssertEqual(eccPub.count, 0); let rsaPub = [PGPTestUtils readKeysFromPath:@"issue141/rsaPublicKey.asc"]; diff --git a/Tests/testfiles.bundle/issue150/encSignedMsg.txt b/Tests/testfiles.bundle/issue150/encSignedMsg.txt new file mode 100644 index 00000000..613c16f3 --- /dev/null +++ b/Tests/testfiles.bundle/issue150/encSignedMsg.txt @@ -0,0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RzbkRkbn +elpUYHrqU8mf6tujlJL4ubenI/B8vEzi1nQjQ26I5M33to17SOXTD4eZzGC5xMrO +lfN5OsFzmKADBF6PZdLrvFrIZn+QNvIGR8R6hDY3uCXrqLAFKoCgWaz0 +=neWE +-----END PGP MESSAGE----- diff --git a/Tests/testfiles.bundle/issue150/mail.eml b/Tests/testfiles.bundle/issue150/mail.eml new file mode 100644 index 00000000..87c1f6b6 --- /dev/null +++ b/Tests/testfiles.bundle/issue150/mail.eml @@ -0,0 +1,110 @@ +Return-Path: +Delivered-To: bob@enzevalos.de +To: Bob +From: alice +Subject: signed from Thunderbird +Openpgp: preference=signencrypt +Autocrypt: addr=alice@enzevalos.de; prefer-encrypt=mutual; keydata= +xsDNBFp+5vsBDACuHCvqCBlUT1O+IIQ0LOWsA2l/UAa+7PHNHotZJ22BtR//fmkdrIesPye2 +MeX+1R14m7tHt+Aw5xwc9t40xPD1Crbc2cnMaYJ2Siy5GBKpZh1Sr3jq9AQiNzYe1l3yPvnR +Z5M0zgc0ueyd+b61sr4KBu8PQ5BODPLW81afPBlBgVB0FDI2k1d9q4+r+obVIs43Hy6vB4Yk +UOyx5Fuaftj75Q86HNk3ig6fcvnRnbEmz+XifGYzJ5T/x2sZTGhg4CBDTDmEzdY0SFf7qgz4 +DYPrImlVksz5q0AXc22VbxuzRsK74SYKNix4i7gjaUZz6vNW+9qlJxUV4oJzj21KHH9EDlL2 +ErM7FYs4kI+POPChcFKTeJ8H4WxFBh67aHiIvHpo3f8pwitPCkk0UYU0KHcaHLgVv9R0vExB +j7BDQI1Qf/20z/FjfNz6Xgx4Lw4yGzePMopgsP2QEiKXC34g4F3dnXB6kg1l05lKuP+NhZF3 +qj139YoxlwkntfoQIhwJDUEAEQEAAc0nYWxpY2VAZW56ZXZhbG9zLmRlIDxhbGljZUBlbnpl +dmFsb3MuZGU+wsD6BBMBCAAkBQJafub7AhsDBBUICQoHCwkIBwMCAQQWAwIBAh4BAheAAhkB +AAoJEE272pm01/0oXxE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rnPSa4uf/DbBo6Sd0xordGbSBeEJC +FRdV+uRcABCD6OuDTg== +Message-ID: <310eef89-5be5-6018-3ded-a9cda76a0342@enzevalos.de> +Date: Wed, 31 Oct 2018 12:15:17 +0100 +User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:52.0) +Gecko/20100101 Thunderbird/52.9.1 +MIME-Version: 1.0 +Content-Type: multipart/signed; micalg=pgp-sha512; +protocol="application/pgp-signature"; +boundary="jGY9eHsM08PgfVXXPT2f3AZCPJW4IwZj4" + +This is an OpenPGP/MIME signed message (RFC 4880 and 3156) +--jGY9eHsM08PgfVXXPT2f3AZCPJW4IwZj4 +Content-Type: multipart/mixed; boundary="dibSubdyFVMsrRSzHsR83Pehjj4u2PlX3"; +protected-headers="v1" +From: alice +To: Bob +Message-ID: <310eef89-5be5-6018-3ded-a9cda76a0342@enzevalos.de> +Subject: signed from Thunderbird + +--dibSubdyFVMsrRSzHsR83Pehjj4u2PlX3 +Content-Type: text/plain; charset=utf-8 +Content-Transfer-Encoding: quoted-printable +Content-Language: en-US + +Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quisque dapibus +id diam ac volutpat. Sed quis cursus ante. Vestibulum eget gravida +felis. Nullam accumsan diam quis sem ornare lacinia. Aenean risus risus, +maximus quis faucibus et, maximus at nunc. Duis pharetra augue libero, +et congue diam varius eget. Nullam efficitur ex purus, non accumsan +tellus laoreet hendrerit. Suspendisse gravida interdum eros, eu +venenatis ante suscipit nec. Class aptent taciti sociosqu ad litora +torquent per conubia nostra, per inceptos himenaeos. Praesent +pellentesque cursus sem, non ornare nunc commodo vel. Praesent sed magna +at ligula ultricies sagittis malesuada non est. Nam maximus varius +mauris. Etiam dignissim congue ligula eu porta. Nunc rutrum nisl id +mauris efficitur ultrices. Maecenas sit amet velit ac mauris consequat +sagittis at et lorem. + + + +--dibSubdyFVMsrRSzHsR83Pehjj4u2PlX3-- + +--jGY9eHsM08PgfVXXPT2f3AZCPJW4IwZj4 +Content-Type: application/pgp-signature; name="signature.asc" +Content-Description: OpenPGP digital signature +Content-Disposition: attachment; filename="signature.asc" + +-----BEGIN PGP SIGNATURE----- + +iQGzBAEBCgAdFiEEJRxNIIPfYdSrprTDTbvambTX/SgFAlvZjsUACgkQTbvambTX +/Sj26gv/VN0k/cDybI5RUU/qCIxcivOy3qM/9AauHjQQ/RJWlBAsVy/JU04xS+Qi +DdLmXP9LJa8np5T9B/rVJZrVbv5FjidsY6UsPbcqRcTZGe/X8ikscpRqUlYqkeAI +F4u2tKQiSaxbB4J9Mj4WindG3y3kcRUoTizFv7I7Zl6rLc2WVayLwFaA79pDv3M9 +NEgwv5i7gE48dppEJLUBeXtpK00N5/BxJ0w7L0hirQZFo7FMTkDgCbYA+9seDfS4 +lx4aHYjB+BUsV1n7dO6bdumnutP3eK1awk2Yyq4EJHizLNd/SsWVltOxukRqrUAp +qFlwclAEOxlWs0uLckMU6jZnhk4nUC8S20MLznNN4ASBjdo4mRIZFHIq9X8qLikl +uUvxM1Tj3+Vx/6JvHI3kxrq68QARkvTKOMOcLnPUOlQgEvUe9JZvJfSdm2xhqVa+ +vBWUTsso1k+G40NdpH72SlTxFdIOlg5GX4MVVXzDyt+t2z+PVZFOPhMyp25h7efS +JPEF5Jke +=SZPp +-----END PGP SIGNATURE----- + +--jGY9eHsM08PgfVXXPT2f3AZCPJW4IwZj4-- + diff --git a/Tests/testfiles.bundle/issue150/publicKey.asc b/Tests/testfiles.bundle/issue150/publicKey.asc new file mode 100644 index 00000000..1a747bbb --- /dev/null +++ b/Tests/testfiles.bundle/issue150/publicKey.asc @@ -0,0 +1,59 @@ + +-----BEGIN PGP PUBLIC KEY BLOCK----- + +mQGNBFp+5vsBDACuHCvqCBlUT1O+IIQ0LOWsA2l/UAa+7PHNHotZJ22BtR//fmkd +rIesPye2MeX+1R14m7tHt+Aw5xwc9t40xPD1Crbc2cnMaYJ2Siy5GBKpZh1Sr3jq +9AQiNzYe1l3yPvnRZ5M0zgc0ueyd+b61s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oO8yGLkdfnhbuJs6TYqzlNTAGHlUHMN +ZUJueWJ5Bh56w64pDCzpNmaplhsPvJPel77Me06565z0muLn/w2waOkndMaK3Rm0 +gXhCQhUXVfrkXAAQg+jrg04= +=XzWc +-----END PGP PUBLIC KEY BLOCK----- diff --git a/Tests/testfiles.bundle/issue150/secretKey.asc b/Tests/testfiles.bundle/issue150/secretKey.asc new file mode 100644 index 00000000..4567fd75 --- /dev/null +++ b/Tests/testfiles.bundle/issue150/secretKey.asc @@ -0,0 +1,137 @@ +-----BEGIN PGP PRIVATE KEY BLOCK----- + +lQVYBFp+44kBDADUpKimeBIZKdNrXg4WsTsMo16AsT4X22/P/KJvvNHRm5KK8mWC +nCw3giKr4xBAawxkRII96MnwIPr5+uUxyw4KhBQ2vFfeHnJehyBelscpVfXcHU+M +NlFjLBMeLeqvDGH6b/JJHaJNT8KxNAegP8IMtgdsbfvBxaFJNRHQLljFx/ocHs6q +unH87r0h0BcSeQB/r0h49IXMdYYnLqPW8qZ0FFzgaNZarozHOz+Q52iFuGTB8U9k +JtDkvAwQS+/p2GL4pRjEdU6aZMLvGZMs+NSbuTEQs3kv87TpItyA0kdE8y7I1khF +sYeQwSnuomKV5Z1HZ/k/6S9icbK/JF2JfnvZ246B40vAuLfzPRNNDt+diQcfmr09 +lJwM1acS7yU+A7keslD657vc3yQjGtiOZAP6UvW54/WxnqKCGbp977IX1ZxsHsAm +xR0Nd3mvOHWgrRUHJnMd9p5UIXr/VXOXYl3VMaYIJsNlbg1TntIsfMgXwyF2lYXx +U/zVH/0ySkHbHgkAEQEAAQAL/AlhVhs50rqPcMccuAxiNxOgpUuSBgYxZOZM47GA +J9VSQo2kkbvIPd8Y+4SPmKjuz/YgW4p1mWrhWZDrc27V4UGvf+DGQC4JM8xds5zY +k+KL6zORi2/I+aAhUpqTNfYQ2sWcaJi3GPDGIvWEMQ3tohbDdOJgm6l5mVrMX4PK +d5oJ70uMRFudq+eXdHpoXowvEEmRpuXHC5vwV0GlOg8CVzt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2ZAzHaBLp/J1CMaqVraeIiKdu5gKhWJ1yVvj +2rThmMljy6mErtnlVXlsjCJA5u7qkJsf+PnigqWXrFRQPpD3JdupDzk+U3SzXKD7 +sc7gkLyvqy8f6iR8FJmGBBiNTMYAG6SH2knmEVwgJd00QYaDZY/uBJtm0XtGI1XN +=WHyX +-----END PGP PUBLIC KEY BLOCK----- diff --git a/Tests/testfiles.bundle/issue150/signature.txt b/Tests/testfiles.bundle/issue150/signature.txt new file mode 100644 index 00000000..d0507307 --- /dev/null +++ b/Tests/testfiles.bundle/issue150/signature.txt @@ -0,0 +1,14 @@ +-----BEGIN PGP SIGNATURE----- + +iQGzBAEBCgAdFiEEJRxNIIPfYdSrprTDTbvambTX/SgFAlvZjsUACgkQTbvambTX +/Sj26gv/VN0k/cDybI5RUU/qCIxcivOy3qM/9AauHjQQ/RJWlBAsVy/JU04xS+Qi +DdLmXP9LJa8np5T9B/rVJZrVbv5FjidsY6UsPbcqRcTZGe/X8ikscpRqUlYqkeAI +F4u2tKQiSaxbB4J9Mj4WindG3y3kcRUoTizFv7I7Zl6rLc2WVayLwFaA79pDv3M9 +NEgwv5i7gE48dppEJLUBeXtpK00N5/BxJ0w7L0hirQZFo7FMTkDgCbYA+9seDfS4 +lx4aHYjB+BUsV1n7dO6bdumnutP3eK1awk2Yyq4EJHizLNd/SsWVltOxukRqrUAp +qFlwclAEOxlWs0uLckMU6jZnhk4nUC8S20MLznNN4ASBjdo4mRIZFHIq9X8qLikl +uUvxM1Tj3+Vx/6JvHI3kxrq68QARkvTKOMOcLnPUOlQgEvUe9JZvJfSdm2xhqVa+ +vBWUTsso1k+G40NdpH72SlTxFdIOlg5GX4MVVXzDyt+t2z+PVZFOPhMyp25h7efS +JPEF5Jke +=SZPp +-----END PGP SIGNATURE----- diff --git a/Tests/testfiles.bundle/issue150/signedMsg.txt b/Tests/testfiles.bundle/issue150/signedMsg.txt new file mode 100644 index 00000000..ea1e08d5 --- /dev/null +++ b/Tests/testfiles.bundle/issue150/signedMsg.txt @@ -0,0 +1,30 @@ +--jGY9eHsM08PgfVXXPT2f3AZCPJW4IwZj4 +Content-Type: multipart/mixed; boundary="dibSubdyFVMsrRSzHsR83Pehjj4u2PlX3"; +protected-headers="v1" +From: alice +To: Bob +Message-ID: <310eef89-5be5-6018-3ded-a9cda76a0342@enzevalos.de> +Subject: signed from Thunderbird + +--dibSubdyFVMsrRSzHsR83Pehjj4u2PlX3 +Content-Type: text/plain; charset=utf-8 +Content-Transfer-Encoding: quoted-printable +Content-Language: en-US + +Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quisque dapibus +id diam ac volutpat. Sed quis cursus ante. Vestibulum eget gravida +felis. Nullam accumsan diam quis sem ornare lacinia. Aenean risus risus, +maximus quis faucibus et, maximus at nunc. Duis pharetra augue libero, +et congue diam varius eget. Nullam efficitur ex purus, non accumsan +tellus laoreet hendrerit. Suspendisse gravida interdum eros, eu +venenatis ante suscipit nec. Class aptent taciti sociosqu ad litora +torquent per conubia nostra, per inceptos himenaeos. Praesent +pellentesque cursus sem, non ornare nunc commodo vel. Praesent sed magna +at ligula ultricies sagittis malesuada non est. Nam maximus varius +mauris. Etiam dignissim congue ligula eu porta. Nunc rutrum nisl id +mauris efficitur ultrices. Maecenas sit amet velit ac mauris consequat +sagittis at et lorem. + + + +--dibSubdyFVMsrRSzHsR83Pehjj4u2PlX3--